Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

coords.h File Reference

Colored coordinate system. More...

#include <lescegra/sg/node.h>

Include dependency graph for coords.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  LsgCoords
 Colored coordinate system. More...


Defines

#define LSG_COORDS_H   1
#define LsgCoords_clean(self)   LsgNode_clean(&(self)->super)
#define LsgCoords_update(self, now)   LsgNode_update(&(self)->super, now)
#define LsgCoords_destroy(self)   LsgNode_destroy(&(self)->super)

Functions

LsgCoordsLsgCoords_create (float size)
void LsgCoords_init (LsgCoords *self, float size)
void LsgCoords_display (LsgCoords *self, LsgFrustum *frust)


Detailed Description

Colored coordinate system.


Define Documentation

#define LsgCoords_clean self   )     LsgNode_clean(&(self)->super)
 

Clean the node. Reuse parent implementation.

#define LsgCoords_update self,
now   )     LsgNode_update(&(self)->super, now)
 

Update the node. Reuse parent implementation.

#define LsgCoords_destroy self   )     LsgNode_destroy(&(self)->super)
 

Destructor method for LsgCoords. Reuse parent implementation.


Function Documentation

LsgCoords* LsgCoords_create float  size  ) 
 

Allocate and initialize a new LsgCoords.

Parameters:
size The axes length
Returns:
A new LsgCoords instance

void LsgCoords_init LsgCoords self,
float  size
 

Constructor method for LsgCoords.

Parameters:
self The instance variable
size The axes length

void LsgCoords_display LsgCoords self,
LsgFrustum frust
 

Display a coordinate system.

Parameters:
self The instance variable
frust The view frustum transformed to local coordinates


(c) 2003, by Enno Cramer
generated on 9 Jul 2003
lescegra - doxygen