VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/lclVerticesNotEqPred.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2001 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: lclVerticesNotEqPred.h,v $ $Revision: 1.9 $ $State: Exp $
00007 *******************************************************************************/
00008 #ifndef lclVerticesNotEqPred_H_
00009 #define lclVerticesNotEqPred_H_
00010 
00013 
00015 
00016 #include "vrfobjcore/vrfObjPred.h"
00017 #include "vrfutil/lclVtxList.h"
00018 
00023 #include "vrfobjcore/vrfobjcoreDefines.h"
00024 class DT_DLL_vrfobjcore DtLclVerticesNotEqualPredicate : public DtVrfObjectPredicate
00025 {
00026 public:
00028    DtLclVerticesNotEqualPredicate(double tolerance = double(0.05),
00029       bool negate = false);
00030 
00032    virtual ~DtLclVerticesNotEqualPredicate();
00033 
00035    DtLclVerticesNotEqualPredicate(const DtLclVerticesNotEqualPredicate& orig);
00036 
00038    DtLclVerticesNotEqualPredicate& operator=(
00039       const DtLclVerticesNotEqualPredicate& orig);
00040  
00042    virtual DtVrfObjectPredicate* clone() const;
00043 
00044 
00045    virtual void setLocalVertices(const DtLocalVertexList& vertices);
00046    virtual const DtLocalVertexList& localVertices() const;
00047 
00049    virtual double getTolerance() const;
00050    virtual void setTolerance(double tolerance);
00051 
00052 protected:
00053 
00055    virtual bool eval(const DtVrfObject* object);
00056 
00058    virtual bool predicateEqual(const DtVrfObjectPredicate& orig) const;
00059 
00061    void emptyVertexList();
00062    void copyVertexList(const DtLocalVertexList& vertices);
00063 
00064 protected:
00065 
00066    DtLocalVertexList myVertices;
00067    double            myTolerance;
00068 };
00069 
00070 #endif
00071 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)