HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SIM_ConRelTwoState.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  */
7 
8 #ifndef __SIM_ConRelTwoState_h__
9 #define __SIM_ConRelTwoState_h__
10 
11 #include "SIM_API.h"
12 #include "SIM_OptionsUser.h"
13 #include "SIM_ConRel.h"
14 
15 /// The simplest type of constraint: forcing the geometry to exactly match
16 /// the anchor position and/or orientation.
18  public SIM_OptionsUser
19 {
20 public:
24 
33 
34 protected:
35  explicit SIM_ConRelTwoState(const SIM_DataFactory *factory);
36  virtual ~SIM_ConRelTwoState();
37 
39  virtual const SIM_ConRel
41  virtual fpreal getStateForceSubclass() const;
42  virtual fpreal getStateDistanceSubclass() const;
43  virtual void makeStateTransitionSubclass(const SIM_Time &time);
44 
45 private:
46  static const SIM_DopDescription *getConRelTwoStateDopDescription();
47 
50  SIM_ConRel,
51  "Two State Constraint Relationship",
52  getConRelTwoStateDopDescription());
53 };
54 
55 #endif
virtual const SIM_ConRel * getConstSubConRelSubclass() const
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:45
#define SIM_NAME_FORCEVALUE0
Definition: SIM_Names.h:125
#define SIM_NAME_DISTANCEVALUE1
Definition: SIM_Names.h:107
virtual SIM_ConRel * getSubConRelSubclass()
#define SIM_NAME_MINSTATETIME
Definition: SIM_Names.h:147
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
virtual fpreal getStateDistanceSubclass() const
#define SIM_NAME_DISTANCECOMPARE1
Definition: SIM_Names.h:105
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:58
#define SIM_NAME_FORCECOMPARE0
Definition: SIM_Names.h:121
#define SIM_NAME_CURRENTSTATE
Definition: SIM_Names.h:94
virtual void makeStateTransitionSubclass(const SIM_Time &time)
#define SIM_NAME_FORCEVALUE1
Definition: SIM_Names.h:126
#define GETSET_DATA_FUNCS_I(DataName, FuncName)
double fpreal
Definition: SYS_Types.h:269
#define SIM_NAME_LASTTRANSITIONTIME
Definition: SIM_Names.h:140
#define SIM_API
Definition: SIM_API.h:10
virtual fpreal getStateForceSubclass() const
#define SIM_NAME_FORCECOMPARE1
Definition: SIM_Names.h:122
#define SIM_NAME_DISTANCEVALUE0
Definition: SIM_Names.h:106
#define SIM_NAME_DISTANCECOMPARE0
Definition: SIM_Names.h:104