HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_ConAnchorWorldSpacePos.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_ConAnchorWorldSpacePos_h__
9 #define __SIM_ConAnchorWorldSpacePos_h__
10 
11 #include "SIM_API.h"
12 #include "SIM_ConAnchorSpatial.h"
13 
14 /// A concrete constraint source: the "nail" constraint, locked to a
15 /// (possibly animated) position in worldspace.
17 {
18 public:
21 
22 protected:
24  virtual ~SIM_ConAnchorWorldSpacePos();
25 
26  virtual UT_Vector3 getPositionSubclass(const SIM_Time &time) const;
27  virtual UT_Vector3 getVelocitySubclass(const SIM_Time &) const;
28 
29 private:
30  static const SIM_DopDescription *getDopDescription();
31 
35  "Anchor: World Space Position",
36  getDopDescription());
37 };
38 
39 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:45
GT_API const UT_StringHolder time
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:58
GLfloat f
Definition: glcorearb.h:1925
GETSET_DATA_FUNCS_V3(SIM_NAME_CONDIR, DOFVectorInput)
virtual UT_Vector3 getPositionSubclass(const SIM_Time &time) const =0
#define SIM_NAME_POSITION
Definition: SIM_Names.h:167
#define SIM_API
Definition: SIM_API.h:10
virtual UT_Vector3 getVelocitySubclass(const SIM_Time &) const
#define SIM_NAME_VELOCITY
Definition: SIM_Names.h:213