Jive reference manual
|
#include <jive/gl/MeshRenderer.h>
Public Types | |
typedef MeshAttribs | Attribs |
Public Member Functions | |
MeshRenderer (const String &name, const AppContext &apx, const ElementGroup &group, const Ref< ShapeTable > &shapes, const Ref< GfxMesher > &mesher, const Ref< Attribs > &attribs=NIL) | |
virtual void | getBBox (jem::gl::Box &box) const |
virtual void | configure (const Properties &props) |
virtual void | getConfig (const Properties &props) const |
virtual bool | takeGLAction (GfxContext >x, int action, const Properties ¶ms) |
virtual void | redraw (GfxContext >x) |
virtual void | redrawFast (GfxContext >x, double lod) |
virtual void | drawCData (GfxContext >x) |
virtual bool | exeCommand (GfxContext >x, const String &cmd, const Properties ¶ms) |
virtual void | listOptions (jem::gl::Menu &menu) const |
void | update (const AppContext &apx) |
void | clearColors () |
void | setNodeColors (const GLfloatVector &colors, const Ref< ColorMap > &colorMap, const AppContext &apx) |
void | setElemColors (const GLubyteMatrix &colors, const AppContext &apx) |
void | trackMeshGeom () |
void | setNodeCoords (const Matrix &coords, const AppContext &apx) |
void | setNodeCoords (idx_t idim, const Vector &coords, const AppContext &apx) |
void | addToNodeCoords (const Matrix &delta, const AppContext &apx) |
void | addToNodeCoords (idx_t idim, const Vector &delta, const AppContext &apx) |
idx_t | findElement (idx_t &elemID, double x, double y, double z) const |
VertexSet * | getVertices () const |
IdxVector | getVxNodeMap () const |
IdxVector | getNodeVxMap (const AppContext &apx) const |
Attribs * | getAttribs () const |
IdxVector | getElemIndices (const AppContext &apx) const |
ElementGroup | getElemGroup (const AppContext &apx) const |
ElementSet | getElements (const AppContext &apx) const |
NodeSet | getNodes (const AppContext &apx) const |
![]() | |
LeafNode (const String &name="") | |
virtual bool | takeAction (const String &action, const Properties ¶ms) |
virtual void | getVisibility (bool &viz, Box &vbox, const Transform &proj) const |
virtual void | listProps (const Properties &props) const |
virtual bool | setFont () |
![]() | |
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 () |
![]() | |
NamedObject (const String &name="") | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
String | getName () const |
![]() | |
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... | |
Static Public Member Functions | |
static Ref< Self > | get (const Properties &viewdat, const String &context) |
![]() | |
static String | makeContext (const String &kind, const String &name) |
![]() | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Public Attributes | |
Event< Self & > | newMeshEvent |
![]() | |
bool | hidden |
Protected Member Functions | |
virtual | ~MeshRenderer () |
![]() | |
virtual | ~LeafNode () |
![]() | |
virtual | ~GfxNode () |
![]() | |
virtual | ~NamedObject () |
![]() | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Friends | |
class | OwnData_ |
Additional Inherited Members | |
![]() | |
String | myName_ |
jive::gl::MeshRenderer::MeshRenderer | ( | const String & | name, |
const AppContext & | apx, | ||
const ElementGroup & | group, | ||
const Ref< ShapeTable > & | shapes, | ||
const Ref< GfxMesher > & | mesher, | ||
const Ref< Attribs > & | attribs = NIL |
||
) |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::gl::GfxNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Implements jem::gl::LeafNode.
|
virtual |
Implements jem::gl::LeafNode.
|
virtual |
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
void jive::gl::MeshRenderer::update | ( | const AppContext & | apx | ) |
void jive::gl::MeshRenderer::clearColors | ( | ) |
void jive::gl::MeshRenderer::setNodeColors | ( | const GLfloatVector & | colors, |
const Ref< ColorMap > & | colorMap, | ||
const AppContext & | apx | ||
) |
void jive::gl::MeshRenderer::setElemColors | ( | const GLubyteMatrix & | colors, |
const AppContext & | apx | ||
) |
void jive::gl::MeshRenderer::trackMeshGeom | ( | ) |
void jive::gl::MeshRenderer::setNodeCoords | ( | const Matrix & | coords, |
const AppContext & | apx | ||
) |
void jive::gl::MeshRenderer::setNodeCoords | ( | idx_t | idim, |
const Vector & | coords, | ||
const AppContext & | apx | ||
) |
void jive::gl::MeshRenderer::addToNodeCoords | ( | const Matrix & | delta, |
const AppContext & | apx | ||
) |
void jive::gl::MeshRenderer::addToNodeCoords | ( | idx_t | idim, |
const Vector & | delta, | ||
const AppContext & | apx | ||
) |
idx_t jive::gl::MeshRenderer::findElement | ( | idx_t & | elemID, |
double | x, | ||
double | y, | ||
double | z | ||
) | const |
VertexSet* jive::gl::MeshRenderer::getVertices | ( | ) | const |
IdxVector jive::gl::MeshRenderer::getVxNodeMap | ( | ) | const |
IdxVector jive::gl::MeshRenderer::getNodeVxMap | ( | const AppContext & | apx | ) | const |
Attribs* jive::gl::MeshRenderer::getAttribs | ( | ) | const |
IdxVector jive::gl::MeshRenderer::getElemIndices | ( | const AppContext & | apx | ) | const |
ElementGroup jive::gl::MeshRenderer::getElemGroup | ( | const AppContext & | apx | ) | const |
ElementSet jive::gl::MeshRenderer::getElements | ( | const AppContext & | apx | ) | const |
NodeSet jive::gl::MeshRenderer::getNodes | ( | const AppContext & | apx | ) | const |
|
static |
|
friend |
Event< Self& > jive::gl::MeshRenderer::newMeshEvent |