Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions
rtc::MeshSet3DVBONode Class Reference

#include <rtcMeshSet3DVBONode.h>

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

List of all members.

Classes

struct  MeshVBO

Public Member Functions

void loadToGPU ()
 MeshSet3DVBONode (Renderer *renderer, MeshSet3D *meshset)
 MeshSet3DVBONode (Renderer *renderer, const char *vbofilename)
 MeshSet3DVBONode (Renderer *renderer, FILE *fp)
virtual void render ()
void unloadGPU ()
void write (FILE *fp)
void writeToFile (const char *filename)
virtual ~MeshSet3DVBONode ()

Static Public Member Functions

static void getGPUBuffer (GLuint &buffer)
static void getTextureId (GLuint &texid)
static void retGPUBuffer (GLuint &buffer)
static void retTextureId (GLuint &texid)

Public Attributes

MeshVBOmeshvbos
int num_mesh

Static Public Attributes

static std::vector< GLuint > gpubuffers
 !!NO LOCK, SO MUST BE SYNCHRONIZED
static std::vector< GLuint > gputextures

Protected Member Functions

virtual void drawFacesVBO ()
virtual void drawPointsVBO ()
virtual void drawWireFrameVBO ()

Detailed Description

Definition at line 28 of file rtcMeshSet3DVBONode.h.


Constructor & Destructor Documentation

Definition at line 30 of file rtcMeshSet3DVBONode.cpp.

rtc::MeshSet3DVBONode::MeshSet3DVBONode ( Renderer renderer,
const char *  vbofilename 
)

Definition at line 105 of file rtcMeshSet3DVBONode.cpp.

rtc::MeshSet3DVBONode::MeshSet3DVBONode ( Renderer renderer,
FILE *  fp 
)

Definition at line 123 of file rtcMeshSet3DVBONode.cpp.

Definition at line 134 of file rtcMeshSet3DVBONode.cpp.


Member Function Documentation

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

Definition at line 160 of file rtcMeshSet3DVBONode.cpp.

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

Definition at line 183 of file rtcMeshSet3DVBONode.cpp.

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

Definition at line 204 of file rtcMeshSet3DVBONode.cpp.

void rtc::MeshSet3DVBONode::getGPUBuffer ( GLuint &  buffer) [static]

Definition at line 496 of file rtcMeshSet3DVBONode.cpp.

void rtc::MeshSet3DVBONode::getTextureId ( GLuint &  texid) [static]

Definition at line 517 of file rtcMeshSet3DVBONode.cpp.

Definition at line 227 of file rtcMeshSet3DVBONode.cpp.

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

Implements rtc::RenderNode.

Definition at line 140 of file rtcMeshSet3DVBONode.cpp.

void rtc::MeshSet3DVBONode::retGPUBuffer ( GLuint &  buffer) [static]

Definition at line 509 of file rtcMeshSet3DVBONode.cpp.

void rtc::MeshSet3DVBONode::retTextureId ( GLuint &  texid) [static]

Definition at line 529 of file rtcMeshSet3DVBONode.cpp.

Definition at line 233 of file rtcMeshSet3DVBONode.cpp.

void rtc::MeshSet3DVBONode::write ( FILE *  fp)

Definition at line 251 of file rtcMeshSet3DVBONode.cpp.

void rtc::MeshSet3DVBONode::writeToFile ( const char *  filename)

Definition at line 239 of file rtcMeshSet3DVBONode.cpp.


Member Data Documentation

std::vector< GLuint > rtc::MeshSet3DVBONode::gpubuffers [static]

!!NO LOCK, SO MUST BE SYNCHRONIZED

Definition at line 89 of file rtcMeshSet3DVBONode.h.

std::vector< GLuint > rtc::MeshSet3DVBONode::gputextures [static]

Definition at line 90 of file rtcMeshSet3DVBONode.h.

Definition at line 86 of file rtcMeshSet3DVBONode.h.

Definition at line 54 of file rtcMeshSet3DVBONode.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