Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
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 33 of file rtcMesh3DNode.cpp.

Definition at line 43 of file rtcMesh3DNode.cpp.


Member Function Documentation

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

Definition at line 298 of file rtcMesh3DNode.cpp.

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

Reimplemented from rtc::RenderNode.

Definition at line 145 of file rtcMesh3DNode.cpp.

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

Definition at line 238 of file rtcMesh3DNode.cpp.

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

Definition at line 204 of file rtcMesh3DNode.cpp.

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

Definition at line 234 of file rtcMesh3DNode.cpp.

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

Definition at line 191 of file rtcMesh3DNode.cpp.

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

Definition at line 242 of file rtcMesh3DNode.cpp.

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

Definition at line 218 of file rtcMesh3DNode.cpp.

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

Definition at line 48 of file rtcMesh3DNode.cpp.

Definition at line 247 of file rtcMesh3DNode.cpp.

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

Reimplemented from rtc::RenderNode.

Definition at line 186 of file rtcMesh3DNode.cpp.

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

Reimplemented from rtc::RenderNode.

Definition at line 181 of file rtcMesh3DNode.cpp.

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

Implements rtc::RenderNode.

Definition at line 160 of file rtcMesh3DNode.cpp.

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

Definition at line 354 of file rtcMesh3DNode.cpp.

Definition at line 285 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:


rtc
Author(s): Benjamin Pitzer
autogenerated on Mon Oct 6 2014 10:07:35