Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
rtc::GraphicsHelper Class Reference

#include <rtcGraphicsHelper.h>

List of all members.

Public Member Functions

void drawCoordinateFrame (double scale=1.0)
void drawGrid (double center_x=0, double center_y=0, int size=100, double resolution=1.0) const
void drawSphere (double x, double y, double z, double scale=1.0)
Vec3uc getColorFromPalette (int index)
 GraphicsHelper (void)
 ~GraphicsHelper (void)

Protected Member Functions

void initializeArrow ()
GLint initializeSphere ()

Protected Attributes

bool arrow_initialized
GLuint arrow_quad_normals_vbo
GLuint arrow_quad_vertices_vbo
GLuint arrow_triangle_normals_vbo
GLuint arrow_triangle_vertices_vbo
int num_sphere_vertices
bool sphere_display_initialized
GLint sphere_display_list
GLuint sphere_normals_vbo
GLuint sphere_vertices_vbo

Static Protected Attributes

static const unsigned char graphics_colorpalette [COLOR_PALETTE_SIZE][3]
static const GLbyte sphere_face_indicies [180][6]
static const GLfloat sphere_normals [102][3]
static const GLfloat sphere_vertices [92][3]

Detailed Description

Definition at line 15 of file rtcGraphicsHelper.h.


Constructor & Destructor Documentation

Definition at line 9 of file rtcGraphicsHelper.cpp.

Definition at line 19 of file rtcGraphicsHelper.cpp.


Member Function Documentation

void rtc::GraphicsHelper::drawCoordinateFrame ( double  scale = 1.0)

Definition at line 348 of file rtcGraphicsHelper.cpp.

void rtc::GraphicsHelper::drawGrid ( double  center_x = 0,
double  center_y = 0,
int  size = 100,
double  resolution = 1.0 
) const

Definition at line 426 of file rtcGraphicsHelper.cpp.

void rtc::GraphicsHelper::drawSphere ( double  x,
double  y,
double  z,
double  scale = 1.0 
)

Definition at line 332 of file rtcGraphicsHelper.cpp.

Definition at line 467 of file rtcGraphicsHelper.cpp.

Definition at line 130 of file rtcGraphicsHelper.cpp.

Definition at line 289 of file rtcGraphicsHelper.cpp.


Member Data Documentation

Definition at line 30 of file rtcGraphicsHelper.h.

Definition at line 34 of file rtcGraphicsHelper.h.

Definition at line 33 of file rtcGraphicsHelper.h.

Definition at line 32 of file rtcGraphicsHelper.h.

Definition at line 31 of file rtcGraphicsHelper.h.

const unsigned char rtc::GraphicsHelper::graphics_colorpalette [static, protected]
Initial value:
 {
  {128,51,128},
  {51,128,128},
  {255,51,51},
  {51,255,51},
  {51,51,255},
  {51,179,204},
  {128,255,51},
  {255,128,51},
  {51,128,255},
  {239,230,0},
   {230,0,230},
   {0,230,230},
   {230,0,0},
}

Definition at line 48 of file rtcGraphicsHelper.h.

Definition at line 41 of file rtcGraphicsHelper.h.

Definition at line 37 of file rtcGraphicsHelper.h.

Definition at line 38 of file rtcGraphicsHelper.h.

const GLbyte rtc::GraphicsHelper::sphere_face_indicies [static, protected]

Definition at line 43 of file rtcGraphicsHelper.h.

const GLfloat rtc::GraphicsHelper::sphere_normals [static, protected]

Definition at line 45 of file rtcGraphicsHelper.h.

Definition at line 40 of file rtcGraphicsHelper.h.

const GLfloat rtc::GraphicsHelper::sphere_vertices [static, protected]

Definition at line 44 of file rtcGraphicsHelper.h.

Definition at line 39 of file rtcGraphicsHelper.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