|
Jive reference manual
|
#include <jem/gl/TriangleSet.h>

Public Types | |
| enum | ColorMode { NO_COLORS, TRIANG_COLORS, VERTEX_COLORS } |
| enum | NormalMode { AUTO_NORMALS, TRIANG_NORMALS, VERTEX_NORMALS } |
Public Member Functions | |
| TriangleSet (const String &name, const Ref< VertexSet > &vx) | |
| virtual void | getBBox (Box &box) const |
| virtual void | redraw (GfxContext >x) |
| virtual void | redrawFast (GfxContext >x, double lod) |
| virtual bool | exeCommand (GfxContext >x, const String &cmd, const Properties ¶ms) |
| virtual void | listOptions (Menu &menu) const |
| idx_t | size () const |
| IdxMatrix | getTopology () const |
| void | setTopology (const IdxMatrix &topo) |
| void | setNoColors () |
| void | setTriangColors (const GLubyteMatrix &colors) |
| void | setVertexColors (const GLfloatVector &colors, const Ref< ColorMap > &colorMap) |
| ColorMode | getColorMode () const |
| GLubyteMatrix | getTriangColors () const |
| GLfloatVector | getVertexColors () const |
| ColorMap * | getColorMap () const |
| void | setAutoNormals () |
| void | setTriangNormals (const GLbyteMatrix &normals) |
| void | setVertexNormals (const GLbyteMatrix &normals) |
| NormalMode | getNormalMode () const |
| GLbyteMatrix | getNormals () const |
| void | findTriangle (idx_t &index, GLfloat &dist, GLfloat x, GLfloat y, GLfloat z=0.0F) const |
Public Member Functions inherited from jem::gl::LeafNode | |
| LeafNode (const String &name="") | |
| virtual bool | takeAction (const String &action, const Properties ¶ms) |
| virtual bool | takeGLAction (GfxContext >x, int action, const Properties ¶ms) |
| virtual void | getVisibility (bool &viz, Box &vbox, const Transform &proj) const |
| virtual void | configure (const Properties &props) |
| virtual void | getConfig (const Properties &props) const |
| virtual void | listProps (const Properties &props) const |
| virtual bool | setFont () |
Public Member Functions inherited from jem::gl::GfxNode | |
| GfxNode (const String &name="") | |
| virtual String | getContext () const |
| virtual GfxNode * | findNode (const String &name) const |
| virtual bool | takeNRAction (const String &action, const Properties ¶ms) |
| GfxNode * | getParent () const |
| void | setParent (GfxNode *parent) |
| void | clearParent () |
Public Member Functions inherited from jem::NamedObject | |
| NamedObject (const String &name="") | |
| virtual String | toString () const |
| Returns a short textual description of this object. More... | |
| String | getName () const |
Public Member Functions inherited from jem::Object | |
| virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
| virtual long | hashValue () const |
| Returns a hash value for this object. More... | |
| virtual bool | equals (const Ref< Object > &obj) const |
| Tests whether two objects are equal. More... | |
| Ref< Object > | clone () const |
| Returns a copy of this object. More... | |
Protected Member Functions | |
| virtual | ~TriangleSet () |
Protected Member Functions inherited from jem::gl::LeafNode | |
| virtual | ~LeafNode () |
Protected Member Functions inherited from jem::gl::GfxNode | |
| virtual | ~GfxNode () |
Protected Member Functions inherited from jem::NamedObject | |
| virtual | ~NamedObject () |
Protected Member Functions inherited from jem::Collectable | |
| Collectable () | |
Creates an empty Collectable. More... | |
| ~Collectable () | |
| Frees resources. More... | |
Friends | |
| class | Work_ |
| class | Work2D_ |
| class | Work3D_ |
Additional Inherited Members | |
Static Public Member Functions inherited from jem::NamedObject | |
| static String | makeContext (const String &kind, const String &name) |
Static Public Member Functions inherited from jem::Object | |
| static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Public Attributes inherited from jem::gl::LeafNode | |
| bool | hidden |
Protected Attributes inherited from jem::NamedObject | |
| String | myName_ |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::gl::GfxNode.
|
virtual |
Implements jem::gl::LeafNode.
|
virtual |
Implements jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
| idx_t jem::gl::TriangleSet::size | ( | ) | const |
| IdxMatrix jem::gl::TriangleSet::getTopology | ( | ) | const |
| void jem::gl::TriangleSet::setTopology | ( | const IdxMatrix & | topo | ) |
| void jem::gl::TriangleSet::setNoColors | ( | ) |
| void jem::gl::TriangleSet::setTriangColors | ( | const GLubyteMatrix & | colors | ) |
| void jem::gl::TriangleSet::setVertexColors | ( | const GLfloatVector & | colors, |
| const Ref< ColorMap > & | colorMap | ||
| ) |
| TriangleSet::ColorMode jem::gl::TriangleSet::getColorMode | ( | ) | const |
| GLubyteMatrix jem::gl::TriangleSet::getTriangColors | ( | ) | const |
| GLfloatVector jem::gl::TriangleSet::getVertexColors | ( | ) | const |
| ColorMap * jem::gl::TriangleSet::getColorMap | ( | ) | const |
| void jem::gl::TriangleSet::setAutoNormals | ( | ) |
| void jem::gl::TriangleSet::setTriangNormals | ( | const GLbyteMatrix & | normals | ) |
| void jem::gl::TriangleSet::setVertexNormals | ( | const GLbyteMatrix & | normals | ) |
| TriangleSet::NormalMode jem::gl::TriangleSet::getNormalMode | ( | ) | const |
| GLbyteMatrix jem::gl::TriangleSet::getNormals | ( | ) | const |
| void jem::gl::TriangleSet::findTriangle | ( | idx_t & | index, |
| GLfloat & | dist, | ||
| GLfloat | x, | ||
| GLfloat | y, | ||
| GLfloat | z = 0.0F |
||
| ) | const |
|
friend |
|
friend |
|
friend |