Jive reference manual
List of all members | Public Types | Public Member Functions | Public Attributes | Protected Member Functions
jem::gl::VertexSet Class Reference

#include <jem/gl/VertexSet.h>

Inheritance diagram for jem::gl::VertexSet:
Inheritance graph

Public Types

typedef Tuple< idx_t, 2 > Shape
 

Public Member Functions

 VertexSet ()
 
 VertexSet (const GLfloatMatrix &coords)
 
virtual Ref< Objectclone () const
 
idx_t size () const
 
idx_t rank () const
 
Shape shape () const
 
void reshape (idx_t m, idx_t n)
 
GLfloat * getData () const
 
GLfloatMatrix getCoords () const
 
void setCoords (const GLfloatMatrix &coords)
 
void newCoords ()
 
void getBBox (Box &box) const
 
void findVertex (idx_t &index, GLfloat &dist, GLfloat x, GLfloat y=0.0F, GLfloat z=0.0F) const
 
void findVertex (idx_t &index, GLfloat &dist, const GLfloat *pos) const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description 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< Objectclone () const
 Returns a copy of this object. More...
 

Public Attributes

util::Event< Self & > newGeomEvent
 
util::Event< Shape, Self & > newShapeEvent
 

Protected Member Functions

virtual ~VertexSet ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 
- Protected Member Functions inherited from jem::Clonable
virtual ~Clonable ()
 
virtual void emitVTable_ ()
 
- Protected Member Functions inherited from jem::Interface
virtual ~Interface ()
 Empty destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Member Typedef Documentation

typedef Tuple<idx_t,2> jem::gl::VertexSet::Shape

Constructor & Destructor Documentation

jem::gl::VertexSet::VertexSet ( )
jem::gl::VertexSet::VertexSet ( const GLfloatMatrix coords)
explicit
virtual jem::gl::VertexSet::~VertexSet ( )
protectedvirtual

Member Function Documentation

virtual Ref<Object> jem::gl::VertexSet::clone ( ) const
virtual

Implements jem::Clonable.

idx_t jem::gl::VertexSet::size ( ) const
idx_t jem::gl::VertexSet::rank ( ) const
VertexSet::Shape jem::gl::VertexSet::shape ( ) const
void jem::gl::VertexSet::reshape ( idx_t  m,
idx_t  n 
)
GLfloat * jem::gl::VertexSet::getData ( ) const
GLfloatMatrix jem::gl::VertexSet::getCoords ( ) const
void jem::gl::VertexSet::setCoords ( const GLfloatMatrix coords)
void jem::gl::VertexSet::newCoords ( )
void jem::gl::VertexSet::getBBox ( Box box) const
void jem::gl::VertexSet::findVertex ( idx_t &  index,
GLfloat &  dist,
GLfloat  x,
GLfloat  y = 0.0F,
GLfloat  z = 0.0F 
) const
void jem::gl::VertexSet::findVertex ( idx_t &  index,
GLfloat &  dist,
const GLfloat *  pos 
) const

Member Data Documentation

util::Event< Self& > jem::gl::VertexSet::newGeomEvent
util::Event< Shape, Self& > jem::gl::VertexSet::newShapeEvent