|
| DrawTexturedQuad () |
|
| ~DrawTexturedQuad () |
|
| DrawTexturedQuad (const DrawTexturedQuad &d) |
|
void | resize (size_t nx, size_t nY, unsigned int nChannels) |
|
void | draw () const |
| Draw the triangle. More...
|
|
void | setData (size_t x, size_t y, unsigned char *entry) |
|
void | rebindTexture (unsigned int mode=GL_RGB) const |
|
void | setUseColouring (bool useColouring) |
|
| DrawQuad () |
| Constructor. More...
|
|
virtual | ~DrawQuad () |
| Destructor. More...
|
|
virtual DrawableObj * | clone () const |
|
virtual unsigned int | getType () const |
|
virtual void | getBoundingBox (BoundCube &b) const |
| Get bounding cube. More...
|
|
void | colourVerticies () |
| sets the vertices to defautl colours (r g b and white ) for each vertex respectively More...
|
|
void | setVertex (unsigned int, const Point3D &) |
| Set vertex's location. More...
|
|
void | setVertices (const Point3D *) |
|
void | setColour (unsigned int, float r, float g, float b, float a) |
| Set the colour of a vertex. More...
|
|
void | setColour (float r, float g, float b, float a) |
| Set the colour of all vertices. More...
|
|
void | calcNormal () |
| Update the normal to the surface from vertices. More...
|
|
Point3D | getOrigin () const |
| Gets the arrow axis direction. More...
|
|
void | recomputeParams (const std::vector< Point3D > &vecs, const std::vector< float > &scalars, unsigned int mode) |
| Recompute the internal parameters using the input vector information. More...
|
|
virtual bool | isOverlay () const |
| Is this an overlay? By default, no. More...
|
|
| DrawableObj () |
| Constructor. More...
|
|
virtual bool | needsDepthSorting () const |
| Do we need to do element based depth sorting? More...
|
|
virtual bool | isExplodable () const |
| Can we break this object down into constituent elements? More...
|
|
virtual void | explode (std::vector< DrawableObj *> &simpleObjects) |
| Break object down into simple elements. More...
|
|
virtual bool | hasChanged () const |
|
void | setActive (bool active) |
| Set the active state of the object. More...
|
|
void | setInteract (bool canAct) |
| Set if user can interact with object, needed for opengl hit testing. More...
|
|
virtual | ~DrawableObj () |
| Drawable destructor. More...
|
|
virtual Point3D | getCentroid () const |
| Get the centre of the object. Only valid if object is simple. More...
|
|