HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_ConAnchorObjPrimPos.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_ConAnchorObjPrimPos_h__
9 #define __SIM_ConAnchorObjPrimPos_h__
10 
11 #include "SIM_API.h"
12 #include <UT/UT_Vector2.h>
14 
16 {
17 public:
18  /// Store the primitive number if we are anchored to a geometry primitive.
20  /// (u,v) position within the primitive
22 
23 protected:
24  explicit SIM_ConAnchorObjPrimPos(const SIM_DataFactory *f);
25  ~SIM_ConAnchorObjPrimPos() override;
26 
28  const UT_Vector3 &worldspacepos,
29  const SIM_Object *object) override;
31  const SIM_Time &time) const override;
33  const SIM_Time &time) const override;
34 
35 private:
36  static const SIM_DopDescription *getDopDescription();
37 
41  "Anchor: Object Primitive Position",
42  getDopDescription());
43 };
44 
45 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
#define SIM_NAME_PRIMITIVE
Definition: SIM_Names.h:171
#define GETSET_DATA_FUNCS_UV(DataName, FuncName)
GT_API const UT_StringHolder time
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:63
GLfloat f
Definition: glcorearb.h:1926
#define GETSET_DATA_FUNCS_I(DataName, FuncName)
#define SIM_NAME_PRIMUV
Definition: SIM_Names.h:173
virtual UT_Vector3 getPositionSubclass(const SIM_Time &time) const =0
virtual void initParmsFromWorldSpacePositionSubclass(const UT_Vector3 &worldspacepos, const SIM_Object *object)=0
#define SIM_API
Definition: SIM_API.h:12
virtual UT_Vector3 getVelocitySubclass(const SIM_Time &) const