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
GT_CollectDiskData.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
* NAME: GT_CollectDiskData.h ( GT Library, C++)
7
*
8
* COMMENTS:
9
*/
10
#ifndef GT_CollectDiskData_h
11
#define GT_CollectDiskData_h
12
13
#include "
GT_GEODetailList.h
"
14
#include "
GT_GEOPrimCollect.h
"
15
#include "
GT_GEOSupport.h
"
16
#include "
GT_RefineParms.h
"
17
18
#include <
GEO/GEO_PackedTypes.h
>
19
#include <
UT/UT_StringMap.h
>
20
#include <
UT/UT_VectorTypes.h
>
21
22
class
GU_PackedDiskSequence
;
23
class
GU_PackedDisk
;
24
class
GU_PrimPacked
;
25
26
class
GT_CollectDiskData
:
public
GT_GEOPrimCollectData
27
{
28
public
:
29
GT_CollectDiskData
(
const
GT_GEODetailListHandle
&geometry,
30
const
GT_RefineParms
*parms)
31
:
GT_GEOPrimCollectData
()
32
, myGeometry(geometry)
33
, myRefineParms(parms)
34
{}
35
36
void
append
(
const
GU_ConstDetailHandle
&prim_gdh,
37
const
GU_PrimPacked
&prim);
38
GT_PrimitiveHandle
finish
();
39
40
private
:
41
GT_GEODetailListHandle
myGeometry;
42
const
GT_RefineParms
*myRefineParms;
43
44
class
Item
45
{
46
public
:
47
Item()
48
: myPrimSeq(nullptr), myPrimDisk(nullptr), myLODBits(0), myIndex(0)
49
{}
50
51
UT_Matrix4DArray
myTransforms;
52
GT_GEOOffsetList
myPrimOffsets;
53
GT_GEOOffsetList
myVertexOffsets;
54
UT_Array<GEO_ViewportLOD>
myLODs;
55
const
GU_PackedDiskSequence
*myPrimSeq;
56
const
GU_PackedDisk
*myPrimDisk;
57
exint
myIndex;
58
int
myLODBits;
59
};
60
UT_StringMap<Item>
myFiles;
61
};
62
63
#endif
GU_PackedDisk
Geometry File procedural.
Definition:
GU_PackedDisk.h:21
UT_StringMap< Item >
GT_CollectDiskData
Definition:
GT_CollectDiskData.h:26
exint
int64 exint
Definition:
SYS_Types.h:125
GU_PrimPacked
Definition:
GU_PrimPacked.h:27
UT_ValArray< UT_Matrix4D >
GT_GEODetailList.h
UT_Array< GEO_ViewportLOD >
GT_GEOPrimCollectData
Collection data container.
Definition:
GT_GEOPrimCollect.h:24
GT_GEOSupport.h
GT_CollectDiskData::finish
GT_PrimitiveHandle finish()
GEO_PackedTypes.h
GU_ConstDetailHandle
Definition:
GU_DetailHandle.h:176
UT_IntrusivePtr< GT_Primitive >
UT_VectorTypes.h
GT_RefineParms.h
GT_RefineParms
Definition:
GT_RefineParms.h:25
GU_PackedDiskSequence
Geometry file procedural.
Definition:
GU_PackedDiskSequence.h:23
GT_GEODetailListHandle
UT_SharedPtr< GT_GEODetailList > GT_GEODetailListHandle
Definition:
GT_GEODetailList.h:383
GT_CollectDiskData::GT_CollectDiskData
GT_CollectDiskData(const GT_GEODetailListHandle &geometry, const GT_RefineParms *parms)
Definition:
GT_CollectDiskData.h:29
GT_GEOOffsetList
Definition:
GT_GEOSupport.h:25
UT_StringMap.h
GT_GEOPrimCollect.h
GT_CollectDiskData::append
void append(const GU_ConstDetailHandle &prim_gdh, const GU_PrimPacked &prim)
GT
GT_CollectDiskData.h
Generated on Tue Dec 17 2024 03:39:44 for HDK by
1.8.6