Jive reference manual
|
#include <jem/gl/LineSet.h>
Public Types | |
enum | ColorMode { NO_COLORS, LINE_COLORS, VERTEX_COLORS } |
Public Member Functions | |
LineSet (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 |
void | setTopology (const IdxVector &offsets, const IdxVector &indices) |
IdxVector | getLineOffsets () const |
IdxVector | getVertexIndices () const |
void | setNoColors () |
void | setLineColors (const GLubyteMatrix &colors) |
void | setVertexColors (const GLfloatVector &colors, const Ref< ColorMap > &colorMap) |
ColorMode | getColorMode () const |
GLubyteMatrix | getLineColors () const |
GLfloatVector | getVertexColors () const |
ColorMap * | getColorMap () const |
void | findLine (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... | |
Static Public Attributes | |
static const int | SAMPLE_COUNT |
Protected Member Functions | |
virtual | ~LineSet () |
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_ |
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::LineSet::size | ( | ) | const |
IdxVector jem::gl::LineSet::getLineOffsets | ( | ) | const |
IdxVector jem::gl::LineSet::getVertexIndices | ( | ) | const |
void jem::gl::LineSet::setNoColors | ( | ) |
void jem::gl::LineSet::setLineColors | ( | const GLubyteMatrix & | colors | ) |
void jem::gl::LineSet::setVertexColors | ( | const GLfloatVector & | colors, |
const Ref< ColorMap > & | colorMap | ||
) |
LineSet::ColorMode jem::gl::LineSet::getColorMode | ( | ) | const |
GLubyteMatrix jem::gl::LineSet::getLineColors | ( | ) | const |
GLfloatVector jem::gl::LineSet::getVertexColors | ( | ) | const |
ColorMap * jem::gl::LineSet::getColorMap | ( | ) | const |
void jem::gl::LineSet::findLine | ( | idx_t & | index, |
GLfloat & | dist, | ||
GLfloat | x, | ||
GLfloat | y, | ||
GLfloat | z = 0.0F |
||
) | const |
|
friend |
|
static |