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  // Prevent these methods from being hidden by the above macros.
25 
26 protected:
28  ~SIM_ConAnchorWorldSpacePos() override;
29 
31  const SIM_Time &time) const override;
32  UT_Vector3 getVelocitySubclass(const SIM_Time &) const override;
33 
34 private:
35  static const SIM_DopDescription *getDopDescription();
36 
40  "Anchor: World Space Position",
41  getDopDescription());
42 };
43 
44 #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
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:168
UT_Vector3 getPosition(const SIM_Time &time) const
Retrieve the world-space position to constrain to.
UT_Vector3 getVelocity(const SIM_Time &time) const
#define SIM_API
Definition: SIM_API.h:10
GLfloat f
Definition: glcorearb.h:1925
virtual UT_Vector3 getVelocitySubclass(const SIM_Time &) const
#define SIM_NAME_VELOCITY
Definition: SIM_Names.h:214