Public Member Functions | Public Attributes | Protected Attributes
Drawable Class Reference

#include <GlutViewer.h>

Inheritance diagram for Drawable:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void Draw ()
 Drawable (double _scale=1, double _r=1, double _g=1, double _b=1)
virtual void DrawAxis (double scale, double color[3])
void SetColor (double _r=1, double _g=1, double _b=1)
void SetGLMatTraQuat (double *tra, double *quat, bool flip=false)
void SetGLMatTraRod (double *tra, double *rod)
void SetScale (double _scale)

Public Attributes

double color [3]
double gl_mat [16]
double scale

Protected Attributes

double ax_len

Detailed Description

Examples:
SampleMarkerDetector.cpp, SampleMarkerHide.cpp, SampleMarkerlessDetector.cpp, and SamplePointcloud.cpp.

Definition at line 17 of file GlutViewer.h.


Constructor & Destructor Documentation

Drawable::Drawable ( double  _scale = 1,
double  _r = 1,
double  _g = 1,
double  _b = 1 
)

Definition at line 10 of file GlutViewer.cpp.


Member Function Documentation

void Drawable::Draw ( ) [virtual]

Reimplemented in OwnDrawable, and OwnDrawable.

Definition at line 25 of file GlutViewer.cpp.

void Drawable::DrawAxis ( double  scale,
double  color[3] 
) [virtual]

Definition at line 33 of file GlutViewer.cpp.

void Drawable::SetColor ( double  _r = 1,
double  _g = 1,
double  _b = 1 
)
Examples:
SampleMarkerDetector.cpp, and SamplePointcloud.cpp.

Definition at line 19 of file GlutViewer.cpp.

void Drawable::SetGLMatTraQuat ( double *  tra,
double *  quat,
bool  flip = false 
)

Definition at line 77 of file GlutViewer.cpp.

void Drawable::SetGLMatTraRod ( double *  tra,
double *  rod 
)

Definition at line 105 of file GlutViewer.cpp.

void Drawable::SetScale ( double  _scale)

Member Data Documentation

double Drawable::ax_len [protected]

Definition at line 36 of file GlutViewer.h.

double Drawable::color[3]

Definition at line 32 of file GlutViewer.h.

double Drawable::gl_mat[16]
Examples:
SampleMarkerlessDetector.cpp, and SamplePointcloud.cpp.

Definition at line 33 of file GlutViewer.h.

Definition at line 31 of file GlutViewer.h.


The documentation for this class was generated from the following files:


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Sat Dec 28 2013 16:46:16