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_ConAnchorObjPointNumPos.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_ConAnchorObjPointNumPos_h__
9
#define __SIM_ConAnchorObjPointNumPos_h__
10
11
#include "
SIM_API.h
"
12
#include "
SIM_ConAnchorObjPointPos.h
"
13
14
/// A concrete constraint anchor: tie the constraint to a point on a
15
/// simulated object.
16
class
SIM_API
SIM_ConAnchorObjPointNumPos
:
public
SIM_ConAnchorObjPointPos
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_ConAnchorObjPointNumPos
(
const
SIM_DataFactory
*
f
);
24
~
SIM_ConAnchorObjPointNumPos
()
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_ConAnchorObjPointNumPos
,
34
SIM_ConAnchorObjPointPos
,
35
"Anchor: Object Point Number Position"
,
36
getDopDescription());
37
};
38
39
#endif
SIM_ConAnchorObjPointPos
Definition:
SIM_ConAnchorObjPointPos.h:15
DECLARE_STANDARD_GETCASTTOTYPE
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition:
SIM_DataUtils.h:50
SIM_ConAnchorObjPointPos.h
SIM_ConAnchorObjPointPos::setPointSubclass
virtual void setPointSubclass(int ptnum)=0
SIM_ConAnchorObjPointNumPos
Definition:
SIM_ConAnchorObjPointNumPos.h:16
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_DopDescription
Definition:
SIM_DopDescription.h:23
SIM_DataFactory
Definition:
SIM_DataFactory.h:33
GETSET_DATA_FUNCS_I
#define GETSET_DATA_FUNCS_I(DataName, FuncName)
Definition:
SIM_OptionsUser.h:303
SIM_ConAnchorObjPointPos::getPointSubclass
virtual int getPointSubclass() const =0
SIM_API
#define SIM_API
Definition:
SIM_API.h:12
SIM
SIM_ConAnchorObjPointNumPos.h
Generated on Fri Feb 7 2025 02:43:10 for HDK by
1.8.6