HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_ConAnchorObjPointPos.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_ConAnchorObjPointPos_h__
9 #define __SIM_ConAnchorObjPointPos_h__
10 
11 #include "SIM_API.h"
13 #include "SIM_Geometry.h"
14 
16 {
17 public:
19 
20  /// Store the point number if we are anchored to a geometry point.
21  GA_Index getPoint() const;
22  void setPoint(GA_Index ptnum);
23 
24 protected:
26  ~SIM_ConAnchorObjPointPos() override;
27 
29  const UT_Vector3 &worldspacepos,
30  const SIM_Object *object) override;
32  const SIM_Time &time) const override;
34  const SIM_Time &time) const override;
35 
36  virtual int getPointSubclass() const = 0;
37  virtual void setPointSubclass(int ptnum) = 0;
38 
39  const SIM_Geometry *getGeometry(const SIM_Object *object) const;
40 
41 private:
44 };
45 
46 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
#define DECLARE_CLASSNAME(DataClass, SuperClass)
Definition: SIM_DataUtils.h:20
GT_API const UT_StringHolder time
GLfloat f
Definition: glcorearb.h:1926
#define SIM_NAME_GEOMETRY
Definition: SIM_Names.h:224
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
Definition: GA_Types.h:640
virtual UT_Vector3 getPositionSubclass(const SIM_Time &time) const =0
virtual void initParmsFromWorldSpacePositionSubclass(const UT_Vector3 &worldspacepos, const SIM_Object *object)=0
GETSET_DATA_FUNCS_S(SIM_NAME_OBJECT, ObjectName)
#define SIM_API
Definition: SIM_API.h:12
virtual UT_Vector3 getVelocitySubclass(const SIM_Time &) const