VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvDiGuy
DtDiGuyOsgGraphicsMesh.h
Go to the documentation of this file.
1
2
/*********************************************************************
3
**
4
*2 diguyOsgGraphicsMesh
5
**
6
*/
7
8
#include <diguyGraphicsMesh.h>
9
10
#include <osg/Drawable>
11
12
class
diguyGraphicsVertexData;
13
14
15
/**********************************************************************
16
**
17
** Class declaration. diguyOsgGraphicsMesh publicly inherits
18
** diguyGraphicsMesh. Virtual functions are declared for some of the
19
** virtual functions in the base class.
20
*/
21
class
diguyOsgGraphicsMesh
:
public
diguyGraphicsMesh
22
{
23
24
public
:
25
26
diguyOsgGraphicsMesh
(
void
* internal_data);
27
28
virtual
void
build
();
29
virtual
void
unbuild
();
30
31
osg::PrimitiveSet*
get_primitiveSet
() {
return
m_primitiveSet
; }
32
int
get_num_drawables
();
33
osg::Drawable*
getDrawable
(
int
drawable_index);
34
35
protected
:
36
37
osg::ref_ptr<osg::PrimitiveSet>
m_primitiveSet
;
38
std::vector<osg::ref_ptr<osg::Drawable> >
m_drawables
;
39
std::vector<bool>
m_has_graphics_state_set
;
40
41
void
attach_state_set_to_drawable
(
int
drawable_index);
42
};
43
44
49
diguyGraphicsMesh
*
diguyOsgGraphicsMesh_create_func
(
void
* internal_data);
50
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)