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

Public Member Functions | |
| DtRelVerticesNotEqualPredicate (double tolerance=double(0.05), bool negate=false) | |
| default constructor | |
| virtual | ~DtRelVerticesNotEqualPredicate () |
| destructor | |
| DtRelVerticesNotEqualPredicate (const DtRelVerticesNotEqualPredicate &orig) | |
| copy constructor | |
| DtRelVerticesNotEqualPredicate & | operator= (const DtRelVerticesNotEqualPredicate &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. | |
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 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 DtRelVerticesNotEqualPredicate class declaration.
Instances of DtRelVerticesNotEqualPredicate are used to compare vectors. A tolerance is added to counter small changes, such as those caused by floating point error.
| DtRelVerticesNotEqualPredicate::DtRelVerticesNotEqualPredicate | ( | double | tolerance = double(0.05), |
| bool | negate = false |
||
| ) |
default constructor
|
virtual |
destructor
| DtRelVerticesNotEqualPredicate::DtRelVerticesNotEqualPredicate | ( | const DtRelVerticesNotEqualPredicate & | orig | ) |
copy constructor
| DtRelVerticesNotEqualPredicate& DtRelVerticesNotEqualPredicate::operator= | ( | const DtRelVerticesNotEqualPredicate & | 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 |