HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_ConRelNone.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_ConRelNone_h__
9 #define __SIM_ConRelNone_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 {
19 protected:
20  explicit SIM_ConRelNone(const SIM_DataFactory *factory);
21  ~SIM_ConRelNone() override;
22 
23  void buildConRelGuide(
24  const GU_DetailHandle &gdh,
25  const SIM_Options &options,
26  const UT_Vector3 &anchor_pos_1,
27  const UT_Vector3 &anchor_pos_2,
28  const UT_Quaternion &anchor_rot_1,
29  const UT_Quaternion &anchor_rot_2,
30  const ConRelData &c_data) const override;
32  fpreal getStateDistanceSubclass() const override;
33 
34 private:
35  static const SIM_DopDescription *getConRelNoneDopDescription();
36 
37  fpreal myStateDistance;
38 
41  SIM_ConRel,
42  "No Constraint Relationship",
43  getConRelNoneDopDescription());
44 };
45 
46 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
virtual fpreal getStateDistanceSubclass() const
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:63
virtual void setStateDistanceSubclass(fpreal distance)
fpreal64 fpreal
Definition: SYS_Types.h:277
#define SIM_API
Definition: SIM_API.h:12
virtual void buildConRelGuide(const GU_DetailHandle &gdh, const SIM_Options &options, const UT_Vector3 &anchor_pos_1, const UT_Vector3 &anchor_pos_2, const UT_Quaternion &anchor_rot_1, const UT_Quaternion &anchor_rot_2, const ConRelData &c_data) const
SIM_API const UT_StringHolder distance