![]() |
VR-Forces 4.6 Class Documentation
|
Contains the DtLclVerticesNotEqualPredicate class declaration. More...

Public Member Functions | |
| DtLclVerticesNotEqualPredicate (double tolerance=double(0.05), bool negate=false) | |
| default constructor | |
| virtual | ~DtLclVerticesNotEqualPredicate () |
| destructor | |
| DtLclVerticesNotEqualPredicate (const DtLclVerticesNotEqualPredicate &orig) | |
| copy constructor | |
| DtLclVerticesNotEqualPredicate & | operator= (const DtLclVerticesNotEqualPredicate &orig) |
| assignment operator | |
| virtual DtVrfObjectPredicate * | clone () const |
| clone function | |
| virtual void | setLocalVertices (const DtLocalVertexList &vertices) |
| virtual const DtLocalVertexList & | localVertices () const |
| virtual double | getTolerance () const |
| Tolerance to adjust for floating point error. | |
| virtual void | setTolerance (double tolerance) |
Public Member Functions inherited from DtVrfObjectPredicate | |
| DtVrfObjectPredicate (bool negate=false) | |
| constructor | |
| virtual | ~DtVrfObjectPredicate () |
| destructor | |
| DtVrfObjectPredicate (const DtVrfObjectPredicate &orig) | |
| copy constructor | |
| DtVrfObjectPredicate & | operator= (const DtVrfObjectPredicate &orig) |
| assignment operator | |
| bool | operator== (const DtVrfObjectPredicate &orig) const |
| Equality operators used to compare predicates. | |
| bool | operator!= (const DtVrfObjectPredicate &orig) const |
| virtual bool | negated () const |
| virtual void | setNegate (bool negate) |
| bool | isTrue (const DtVrfObject *vrfObject) |
| This function evaluates the eval function (to be defined in derived classes) given a DtVrfObject and returns the result, negated if indicated. | |
| virtual bool | canBeTrue (const DtVrfObject *vrfObject) |
| virtual bool | canBeFalse (const DtVrfObject *vrfObject) |
| virtual void | stringRep (std::ostream &str, int indentLevel=0) const |
Protected Member Functions | |
| virtual bool | eval (const DtVrfObject *object) |
| The actual test this predicate performs. | |
| virtual bool | predicateEqual (const DtVrfObjectPredicate &orig) const |
| Used by equality operator used to compare predicates. | |
| void | emptyVertexList () |
| Not virtual because they are called from constructors, destructor. | |
| void | copyVertexList (const DtLocalVertexList &vertices) |
Protected Member Functions inherited from DtVrfObjectPredicate | |
| virtual bool | canEvalTrue (const DtVrfObject *vrfObject) |
| virtual bool | canEvalFalse (const DtVrfObject *vrfObject) |
| virtual void | typeSpecificStringRep (std::ostream &str, int indentLevel) const |
| Override in specific subclasses to print the predicate description to the stream. | |
Protected Attributes | |
| DtLocalVertexList | myVertices |
| double | myTolerance |
Protected Attributes inherited from DtVrfObjectPredicate | |
| bool | myNegated |
Additional Inherited Members | |
Static Public Member Functions inherited from DtVrfObjectPredicate | |
| static const DtVrfObjectPredicate & | nullPredicate () |
| Returns an instance of a DtNullVrfObjectPredicate. | |
Contains the DtLclVerticesNotEqualPredicate class declaration.
Instances of DtLclVerticesNotEqualPredicate are used to compare vectors. A tolerance is added to counter small changes, such as those caused by floating point error.
| DtLclVerticesNotEqualPredicate::DtLclVerticesNotEqualPredicate | ( | double | tolerance = double(0.05), |
| bool | negate = false |
||
| ) |
default constructor
|
virtual |
destructor
| DtLclVerticesNotEqualPredicate::DtLclVerticesNotEqualPredicate | ( | const DtLclVerticesNotEqualPredicate & | orig | ) |
copy constructor
| DtLclVerticesNotEqualPredicate& DtLclVerticesNotEqualPredicate::operator= | ( | const DtLclVerticesNotEqualPredicate & | orig | ) |
assignment operator
|
virtual |
clone function
Implements DtVrfObjectPredicate.
|
virtual |
|
virtual |
|
virtual |
Tolerance to adjust for floating point error.
|
virtual |
|
protectedvirtual |
The actual test this predicate performs.
Implements DtVrfObjectPredicate.
|
protectedvirtual |
Used by equality operator used to compare predicates.
Reimplemented from DtVrfObjectPredicate.
|
protected |
Not virtual because they are called from constructors, destructor.
|
protected |
|
protected |
|
protected |