HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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  ~SIM_ConRelTwoState() override;
37 
38  SIM_ConRel *getSubConRelSubclass() override;
39  const SIM_ConRel *getConstSubConRelSubclass() const override;
40  fpreal getStateForceSubclass() const override;
41  fpreal getStateDistanceSubclass() const override;
43  const SIM_Time &time) override;
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
GT_API const UT_StringHolder time
#define SIM_NAME_FORCEVALUE0
Definition: SIM_Names.h:126
#define SIM_NAME_DISTANCEVALUE1
Definition: SIM_Names.h:108
virtual SIM_ConRel * getSubConRelSubclass()
#define SIM_NAME_MINSTATETIME
Definition: SIM_Names.h:148
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
virtual fpreal getStateDistanceSubclass() const
#define SIM_NAME_DISTANCECOMPARE1
Definition: SIM_Names.h:106
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:58
#define SIM_NAME_FORCECOMPARE0
Definition: SIM_Names.h:122
#define SIM_NAME_CURRENTSTATE
Definition: SIM_Names.h:95
virtual void makeStateTransitionSubclass(const SIM_Time &time)
#define SIM_NAME_FORCEVALUE1
Definition: SIM_Names.h:127
#define GETSET_DATA_FUNCS_I(DataName, FuncName)
#define SIM_NAME_LASTTRANSITIONTIME
Definition: SIM_Names.h:141
fpreal64 fpreal
Definition: SYS_Types.h:277
#define SIM_API
Definition: SIM_API.h:10
virtual fpreal getStateForceSubclass() const
#define SIM_NAME_FORCECOMPARE1
Definition: SIM_Names.h:123
#define SIM_NAME_DISTANCEVALUE0
Definition: SIM_Names.h:107
#define SIM_NAME_DISTANCECOMPARE0
Definition: SIM_Names.h:105