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  virtual ~SIM_ConAnchorObjPointPos();
27 
29  const UT_Vector3 &worldspacepos,
30  const SIM_Object *object);
31  virtual UT_Vector3 getPositionSubclass(const SIM_Time &time) const;
32  virtual UT_Vector3 getVelocitySubclass(const SIM_Time &time) const;
33 
34  virtual int getPointSubclass() const = 0;
35  virtual void setPointSubclass(int ptnum) = 0;
36 
37  const SIM_Geometry *getGeometry(const SIM_Object *object) const;
38 
39 private:
42 };
43 
44 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:45
#define DECLARE_CLASSNAME(DataClass, SuperClass)
Definition: SIM_DataUtils.h:20
GT_API const UT_StringHolder time
GLfloat f
Definition: glcorearb.h:1925
#define SIM_NAME_GEOMETRY
Definition: SIM_Names.h:223
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
Definition: GA_Types.h:611
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:10
virtual UT_Vector3 getVelocitySubclass(const SIM_Time &) const