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
GU_OBBTree.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 __GU_OBBTree_h__
9
#define __GU_OBBTree_h__
10
11
#include "
GU_API.h
"
12
#include <
BV/BV_OBBTree.h
>
13
#include <
UT/UT_VectorTypes.h
>
14
15
class
GU_Detail
;
16
17
/// This is a simple extension to BV_OBBTree that includes debug output
18
/// capability.
19
class
GU_API
GU_OBBTree
:
public
BV_OBBTree
20
{
21
public
:
22
typedef
BV_OBBTree
BaseClass
;
23
24
GU_OBBTree
();
25
GU_OBBTree
(
const
GU_OBBTree
&);
26
27
GU_OBBTree
&
operator=
(
const
GU_OBBTree
&);
28
29
/// Create a GU_Detail showing the OBBs at each level of the
30
/// hierarchy.
31
///
32
/// If the depth parameter is non-negative, then only leaves
33
/// at the given depth level are included.
34
/// If the onlyLeaf parameter is non-negative, then only boxes containing
35
/// that primitive are included.
36
void
createDebugTree(
GU_Detail
&gdp,
37
int
depth
= -1,
38
int
prim = -1)
const
;
39
private
:
40
bool
outputTree(
GU_Detail
&gdp,
const
BV_OBB
&node,
41
const
UT_Matrix3
&
R
,
const
UT_Vector3
&
T
,
42
int
onlyDepth,
int
onlyLeaf,
int
depth
)
const
;
43
};
44
45
#endif
46
UT_Matrix3T< float >
OBJ_MatchTransform::R
BV_OBBTree
Definition:
BV_OBBTree.h:266
UT_Vector3T< float >
BV_OBBTree.h
BV_OBB
A single node in a BV_OBBTree.
Definition:
BV_OBBTree.h:210
UT_VectorTypes.h
GU_API
#define GU_API
Definition:
GU_API.h:14
GU_OBBTree
Definition:
GU_OBBTree.h:19
OBJ_MatchTransform::T
depth
GLint GLint GLsizei GLsizei GLsizei depth
Definition:
glcorearb.h:476
GU_OBBTree::BaseClass
BV_OBBTree BaseClass
Definition:
GU_OBBTree.h:22
BV_OBBTree::operator=
BV_OBBTree & operator=(const BV_OBBTree &)
GU_Detail
Definition:
GU_Detail.h:154
GU_API.h
GU
GU_OBBTree.h
Generated on Sun Nov 17 2024 03:01:17 for HDK by
1.8.6