$search

rtc::Mesh3DNode Class Reference

#include <rtcMesh3DNode.h>

Inheritance diagram for rtc::Mesh3DNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void clear ()
virtual void initialize (Mesh3D *mesh)
void loadToGPU ()
 Mesh3DNode (Renderer *renderer, Mesh3D *mesh)
virtual void postRender ()
virtual void preRender ()
virtual void render ()
void unloadGPU ()
virtual ~Mesh3DNode ()

Public Attributes

rtc::Pose3Df pose

Protected Member Functions

void bindVBO ()
virtual void drawFaces ()
virtual void drawFacesVBO ()
virtual void drawPoints ()
virtual void drawPointsVBO ()
virtual void drawWireFrame ()
virtual void drawWireFrameVBO ()
void unbindVBO ()

Protected Attributes

unsigned int color_buffer
GLubyte * color_data
int color_size
bool has_texture
unsigned int index_buffer
GLuint * index_data
int index_size
unsigned int normal_buffer
GLfloat * normal_data
int normal_size
unsigned int num_faces
unsigned int num_vertices
unsigned int position_buffer
GLfloat * position_data
int position_size
Image< Vec3ucteximage
Texture texture
unsigned int texture_coordinate_buffer
GLfloat * texture_coordinate_data
int texture_coordinate_size

Detailed Description

Definition at line 33 of file rtcMesh3DNode.h.


Constructor & Destructor Documentation

rtc::Mesh3DNode::Mesh3DNode ( Renderer renderer,
Mesh3D mesh 
)

Definition at line 34 of file rtcMesh3DNode.cpp.

rtc::Mesh3DNode::~Mesh3DNode (  )  [virtual]

Definition at line 44 of file rtcMesh3DNode.cpp.


Member Function Documentation

void rtc::Mesh3DNode::bindVBO (  )  [protected]

Definition at line 299 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::clear (  )  [virtual]

Reimplemented from rtc::RenderNode.

Definition at line 146 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::drawFaces (  )  [protected, virtual]

Definition at line 239 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::drawFacesVBO (  )  [protected, virtual]

Definition at line 205 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::drawPoints (  )  [protected, virtual]

Definition at line 235 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::drawPointsVBO (  )  [protected, virtual]

Definition at line 192 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::drawWireFrame (  )  [protected, virtual]

Definition at line 243 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::drawWireFrameVBO (  )  [protected, virtual]

Definition at line 219 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::initialize ( Mesh3D mesh  )  [virtual]

Definition at line 49 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::loadToGPU (  ) 

Definition at line 248 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::postRender (  )  [virtual]

Reimplemented from rtc::RenderNode.

Definition at line 187 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::preRender (  )  [virtual]

Reimplemented from rtc::RenderNode.

Definition at line 182 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::render (  )  [virtual]

Implements rtc::RenderNode.

Definition at line 161 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::unbindVBO (  )  [protected]

Definition at line 355 of file rtcMesh3DNode.cpp.

void rtc::Mesh3DNode::unloadGPU (  ) 

Definition at line 286 of file rtcMesh3DNode.cpp.


Member Data Documentation

unsigned int rtc::Mesh3DNode::color_buffer [protected]

Definition at line 85 of file rtcMesh3DNode.h.

GLubyte* rtc::Mesh3DNode::color_data [protected]

Definition at line 87 of file rtcMesh3DNode.h.

int rtc::Mesh3DNode::color_size [protected]

Definition at line 86 of file rtcMesh3DNode.h.

bool rtc::Mesh3DNode::has_texture [protected]

Definition at line 71 of file rtcMesh3DNode.h.

unsigned int rtc::Mesh3DNode::index_buffer [protected]

Definition at line 93 of file rtcMesh3DNode.h.

GLuint* rtc::Mesh3DNode::index_data [protected]

Definition at line 95 of file rtcMesh3DNode.h.

int rtc::Mesh3DNode::index_size [protected]

Definition at line 94 of file rtcMesh3DNode.h.

unsigned int rtc::Mesh3DNode::normal_buffer [protected]

Definition at line 81 of file rtcMesh3DNode.h.

GLfloat* rtc::Mesh3DNode::normal_data [protected]

Definition at line 83 of file rtcMesh3DNode.h.

Definition at line 82 of file rtcMesh3DNode.h.

unsigned int rtc::Mesh3DNode::num_faces [protected]

Definition at line 75 of file rtcMesh3DNode.h.

unsigned int rtc::Mesh3DNode::num_vertices [protected]

Definition at line 74 of file rtcMesh3DNode.h.

Definition at line 97 of file rtcMesh3DNode.h.

unsigned int rtc::Mesh3DNode::position_buffer [protected]

Definition at line 77 of file rtcMesh3DNode.h.

GLfloat* rtc::Mesh3DNode::position_data [protected]

Definition at line 79 of file rtcMesh3DNode.h.

Definition at line 78 of file rtcMesh3DNode.h.

Definition at line 73 of file rtcMesh3DNode.h.

Definition at line 72 of file rtcMesh3DNode.h.

Definition at line 89 of file rtcMesh3DNode.h.

Definition at line 91 of file rtcMesh3DNode.h.

Definition at line 90 of file rtcMesh3DNode.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtc
Author(s): Benjamin Pitzer
autogenerated on Sun Mar 3 11:08:32 2013