VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lclVerticesNotEqualPredicate.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: lclVerticesNotEqPred.h,v $ $Revision: 1.9 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef lclVerticesNotEqualPredicate_H_
9 #define lclVerticesNotEqualPredicate_H_
10 
13 
15 
18 
25 {
26 public:
28  DtLclVerticesNotEqualPredicate(double tolerance = double(0.05),
29  bool negate = false);
30 
33 
36 
39  const DtLclVerticesNotEqualPredicate& orig);
40 
42  virtual DtVrfObjectPredicate* clone() const;
43 
44 
45  virtual void setLocalVertices(const DtLocalVertexList& vertices);
46  virtual const DtLocalVertexList& localVertices() const;
47 
49  virtual double getTolerance() const;
50  virtual void setTolerance(double tolerance);
51 
52 protected:
53 
55  virtual bool eval(const DtVrfObject* object);
56 
58  virtual bool predicateEqual(const DtVrfObjectPredicate& orig) const;
59 
61  void emptyVertexList();
62  void copyVertexList(const DtLocalVertexList& vertices);
63 
64 protected:
65 
67  double myTolerance;
68 };
69 
70 #endif
71 
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtVrfObjectPredicate & operator=(const DtVrfObjectPredicate &orig)
assignment operator
Contains the DtLclVerticesNotEqualPredicate class declaration.
Definition: lclVerticesNotEqualPredicate.h:24
virtual bool eval(const DtVrfObject *vrfObject)=0
The actual test to be applied.
Instances of DtVrfObjectPredicate are used to evaluate a condition, given a DtVrfObject as an argumen...
Definition: vrfObjectPredicate.h:21
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtLocalVertexList myVertices
Definition: lclVerticesNotEqualPredicate.h:66
double myTolerance
Definition: lclVerticesNotEqualPredicate.h:67
virtual bool predicateEqual(const DtVrfObjectPredicate &orig) const
Test if this instance of a predicate is equal to another.
virtual DtVrfObjectPredicate * clone() const =0
clone function
class DtLocalVertexList:
Definition: localVertexList.h:20

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)