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_GuidePerObject.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_GuidePerObject_h__
9
#define __SIM_GuidePerObject_h__
10
11
#include "
SIM_API.h
"
12
13
#include "
SIM_Guide.h
"
14
#include "
SIM_RootDataId.h
"
15
16
#include <
UT/UT_Map.h
>
17
#include <
UT/UT_UniquePtr.h
>
18
19
/// This SIM_Guide subclass creates a separate guide geometry for each object.
20
class
SIM_API
SIM_GuidePerObject
:
public
SIM_Guide
21
{
22
public
:
23
/// Constructor which takes a const SIM_Data as our owner.
24
explicit
SIM_GuidePerObject
(
const
SIM_Data
*owner);
25
/// Destructor for this class.
26
~
SIM_GuidePerObject
()
override
;
27
28
protected
:
29
GU_ConstDetailHandle
getGuideGeometrySubclass
(
30
const
SIM_RootData
&root,
31
UT_DMatrix4
&xform,
32
const
SIM_Time
&
t
)
override
;
33
int64
getMemorySizeSubclass
()
const override
;
34
void
clearSubclass
()
override
;
35
36
private
:
37
UT_Map<SIM_RootDataId, UT_UniquePtr<GU_DetailHandle>
> myGeometries;
38
};
39
40
#endif
41
UT_Matrix4T< double >
SIM_RootData
Definition:
SIM_RootData.h:16
UT_Map
Unsorted map container.
Definition:
UT_Map.h:107
SIM_Guide::getMemorySizeSubclass
virtual int64 getMemorySizeSubclass() const
SIM_Guide.h
SIM_Time
Definition:
SIM_Time.h:19
SIM_Data
Definition:
SIM_Data.h:137
SIM_Guide
Definition:
SIM_Guide.h:25
SIM_RootDataId.h
SIM_GuidePerObject
This SIM_Guide subclass creates a separate guide geometry for each object.
Definition:
SIM_GuidePerObject.h:20
SIM_API.h
UT_Map.h
GU_ConstDetailHandle
Definition:
GU_DetailHandle.h:176
int64
long long int64
Definition:
SYS_Types.h:116
t
GLdouble t
Definition:
glad.h:2397
SIM_Guide::getGuideGeometrySubclass
virtual GU_ConstDetailHandle getGuideGeometrySubclass(const SIM_RootData &root, UT_DMatrix4 &xform, const SIM_Time &t)
UT_UniquePtr.h
SIM_API
#define SIM_API
Definition:
SIM_API.h:12
SIM_Guide::clearSubclass
virtual void clearSubclass()
Override this function to clear any data create by this class.
SIM
SIM_GuidePerObject.h
Generated on Thu Nov 21 2024 02:45:39 for HDK by
1.8.6