HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SIM_ConAnchorObjPointNumRot.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_ConAnchorObjPointNumRot_h__
9
#define __SIM_ConAnchorObjPointNumRot_h__
10
11
#include "
SIM_API.h
"
12
#include "
SIM_ConAnchorObjPointRot.h
"
13
14
/// A concrete constraint anchor: tie the constraint to a point on a
15
/// simulated object.
16
class
SIM_API
SIM_ConAnchorObjPointNumRot
:
public
SIM_ConAnchorObjPointRot
17
{
18
public
:
19
/// Store the point number if we are anchored to a geometry point.
20
GETSET_DATA_FUNCS_I
(
SIM_NAME_POINTNUMBER
, PointNumber);
21
22
protected
:
23
explicit
SIM_ConAnchorObjPointNumRot
(
const
SIM_DataFactory
*
f
);
24
~
SIM_ConAnchorObjPointNumRot
()
override
;
25
26
int
getPointSubclass
()
const override
;
27
void
setPointSubclass
(
int
ptnum)
override
;
28
29
private
:
30
static
const
SIM_DopDescription
*getDopDescription();
31
32
DECLARE_STANDARD_GETCASTTOTYPE
();
33
DECLARE_DATAFACTORY
(
SIM_ConAnchorObjPointNumRot
,
34
SIM_ConAnchorObjPointRot
,
35
"Anchor: Object Point Number Rotation"
,
36
getDopDescription());
37
};
38
39
#endif
DECLARE_STANDARD_GETCASTTOTYPE
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition:
SIM_DataUtils.h:50
SIM_ConAnchorObjPointRot
Definition:
SIM_ConAnchorObjPointRot.h:15
DECLARE_DATAFACTORY
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition:
SIM_DataUtils.h:63
SIM_API.h
f
GLfloat f
Definition:
glcorearb.h:1926
SIM_NAME_POINTNUMBER
#define SIM_NAME_POINTNUMBER
Definition:
SIM_Names.h:165
SIM_ConAnchorObjPointNumRot
Definition:
SIM_ConAnchorObjPointNumRot.h:16
SIM_DopDescription
Definition:
SIM_DopDescription.h:23
SIM_DataFactory
Definition:
SIM_DataFactory.h:33
SIM_ConAnchorObjPointRot::getPointSubclass
virtual int getPointSubclass() const =0
GETSET_DATA_FUNCS_I
#define GETSET_DATA_FUNCS_I(DataName, FuncName)
Definition:
SIM_OptionsUser.h:303
SIM_ConAnchorObjPointRot.h
SIM_API
#define SIM_API
Definition:
SIM_API.h:12
SIM_ConAnchorObjPointRot::setPointSubclass
virtual void setPointSubclass(int ptnum)=0
SIM
SIM_ConAnchorObjPointNumRot.h
Generated on Sat Mar 22 2025 02:46:15 for HDK by
1.8.6