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
DM_Detail.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: Direct manipulation library (C++)
7
*
8
* COMMENTS:
9
* Class with a very simple interface for drawing a GU_Detail.
10
*
11
*/
12
13
#ifndef __DM_Detail_H__
14
#define __DM_Detail_H__
15
16
#include "
DM_API.h
"
17
#include <
GR/GR_Defines.h
>
18
#include <
GU/GU_Detail.h
>
19
#include <
GU/GU_DetailHandle.h
>
20
#include <
UT/UT_UniquePtr.h
>
21
#include <
GUI/GUI_DetailLook.h
>
22
23
class
UT_Color
;
24
class
RE_Render
;
25
class
DM_SceneManager;
26
27
class
DM_API
DM_Detail
28
{
29
public
:
30
DM_Detail
(DM_SceneManager &scene_manager,
const
char
*
name
);
31
~
DM_Detail
();
32
33
GU_Detail
&getDetail();
34
void
renderWire(
RE_RenderContext
r
,
35
int
pickflag,
uint
id1,
uint
id2,
36
const
UT_Color
&
color
,
37
GU_Detail
*gdp = NULL,
38
const
UT_DMatrix4
*xform = NULL);
39
40
private
:
41
DM_SceneManager &mySceneManager;
42
GU_Detail
myDetail;
43
GU_DetailHandle
myDetailHandle;
44
GUI_DetailLookPtr
myDetailLook;
45
};
46
47
#endif
48
UT_Matrix4T< double >
GR_Defines.h
DM_Detail
Definition:
DM_Detail.h:27
GU_Detail.h
RE_RenderContext
Temporary container for either a RV_Render and an RE_Render.
Definition:
RE_RenderContext.h:23
DM_API
#define DM_API
Definition:
DM_API.h:10
UT_Color
Definition:
UT_Color.h:85
RE_Render
Definition:
RE_Render.h:29
UT_IntrusivePtr< GUI_DetailLook >
name
GLuint const GLchar * name
Definition:
glcorearb.h:786
GU_DetailHandle
Definition:
GU_DetailHandle.h:38
UT_UniquePtr.h
color
GLuint color
Definition:
glcorearb.h:1261
GU_DetailHandle.h
GU_Detail
Definition:
GU_Detail.h:154
GUI_DetailLook.h
r
GLboolean r
Definition:
glcorearb.h:1222
uint
unsigned int uint
Definition:
SYS_Types.h:45
DM_API.h
DM
DM_Detail.h
Generated on Thu Nov 21 2024 02:43:29 for HDK by
1.8.6