|
|
| MeshObject (const MeshObject &o) |
| |
|
MeshObject & | operator= (const MeshObject &o) |
| |
| virtual bool | operator() () const |
| | Calls everything necessary for OpenGL to draw this object. More...
|
| |
|
virtual bool | draw () const |
| |
| virtual bool | init () |
| | Calculate normals, create display list. More...
|
| |
| goAutoPtr< goVectorf > | getMin () const |
| | Get the minimum coordinates of all vertices. More...
|
| |
| goAutoPtr< goVectorf > | getMax () const |
| | Get the maximum coordinates of all vertices. More...
|
| |
| goMatrixf & | getVertices () |
| | Get the matrix with the vertices of this object. More...
|
| |
| goFixedArray< goVector< int > > & | getFaces () |
| | Get the faces of this object. More...
|
| |
|
const goMatrixf & | getVertices () const |
| | See non-const version.
|
| |
|
const goFixedArray< goVector< int > > & | getFaces () const |
| | See non-const version.
|
| |
| void | getAdjacencyLists (goFixedArray< goList< int > > &ret) const |
| | Build adjacency lists for all vertices of this object. More...
|
| |
| void | getAdjacentFaces (goFixedArray< goList< int > > &ret) const |
| | For each vertex, compute the list of faces it is contained in. More...
|
| |
|
goMatrixf & | getNormals () |
| |
|
goMatrixf & | getFaceNormals () |
| |
|
const goMatrixf & | getNormals () const |
| |
|
const goMatrixf & | getFaceNormals () const |
| |
|
void | calculateNormals () |
| |
| void | calculateNormals (goMatrixf &normals, goMatrixf &face_normals) const |
| | Calculate normals for all vertices and faces. More...
|
| |
| void | calculateFaceNormals (goMatrixf &face_normals) const |
| | Calculate a normal for each face. More...
|
| |
| bool | removeDoubles () |
| | Searches for faces containing double vertices and and removes the bad faces. More...
|
| |
| void | setFilename (const char *filename) |
| | Set a filename that will be stored with writeASCII(). More...
|
| |
|
const char * | getFilename () const |
| | Get the filename that will be stored with writeASCII().
|
| |
|
virtual bool | writeASCII (FILE *f) const |
| |
|
virtual bool | readASCII (FILE *f) |
| |
| virtual bool | setRenderParameters () const |
| | Sets lighting and shade model. More...
|
| |
|
void | setMaterial (const goGL::Material &mat) |
| |
|
goGL::Material & | getMaterial () |
| |
|
const goGL::Material & | getMaterial () const |
| |
|
void | setLighting (bool l) |
| |
|
void | setShadeModel (GLenum m) |
| |
|
bool | getLighting () const |
| |
|
GLenum | getShadeModel () const |
| |
|
bool | toList (int listName) |
| |
|
DrawableObject & | operator= (const DrawableObject &o) |
| |
|
| Object (const Object &o) |
| |
|
Object & | operator= (const Object &o) |
| |
|
void | setRotation (goFloat angle, goFloat x, goFloat y, goFloat z) |
| |
|
void | setRotation (const goVectorf &r) |
| |
|
void | setRotation (goFloat angle, const goVectorf &n) |
| |
|
void | setScale (goFloat x, goFloat y, goFloat z) |
| |
|
void | setScale (const goVectorf &t) |
| |
|
void | setTranslation (goFloat x, goFloat y, goFloat z) |
| |
|
void | setTranslation (const goVectorf &t) |
| |
|
const goVectorf & | getRotation () const |
| |
|
const goVectorf & | getScale () const |
| |
|
const goVectorf & | getTranslation () const |
| |
|
virtual bool | writeASCII (const char *filename) const |
| |
|
virtual bool | readASCII (const char *filename) |
| |
|
| goObjectBase () |
| | Constructor.
|
| |
| virtual | ~goObjectBase () |
| | Destructor. More...
|
| |
| const char * | getClassName () const |
| | Returns the class name. More...
|
| |
|
int | getClassID () const |
| |
| virtual goSize_t | memoryUsage () const |
| | Returns the size of this object or some measure of its memory consumption. More...
|
| |
| void | setObjectName (const char *name) |
| | Set name string for an object. More...
|
| |
| void | setObjectName (const goString &name) |
| | Set name string for an object. More...
|
| |
| const goString & | getObjectName () const |
| | Get the object name. More...
|
| |
| virtual bool | writeObjectFile (FILE *) const |
| | Write object to a file. More...
|
| |
| virtual bool | readObjectFile (FILE *) |
| | Read object from a file. More...
|
| |
| void | connectObject (goObjectBase *object) |
| | Connects an object to this object. More...
|
| |
|
void | disconnectObject (const goObjectBase *object) |
| | Disconnects an object from this object.
|
| |
| virtual bool | callObjectMethod (int methodID, goObjectMethodParameters *param=NULL) |
| | Call an object method by identifier. More...
|
| |
| virtual bool | queueObjectMethod (int methodID, goObjectMethodParameters *param=NULL, bool blocking=false) |
| | Enqueue a method call to an internal list of methods. More...
|
| |
| bool | callQueuedMethods () |
| | Call all queued methods. More...
|
| |
A mesh object for OpenGL.