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

orthocam.h File Reference

Orthogonal projection camera. More...

#include <lescegra/sg/camera.h>
#include <lescegra/util/vertex.h>

Include dependency graph for orthocam.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  LsgOrthoCam
 Orthogonal projection. More...


Defines

#define LSG_ORTHOCAM_H   1
#define LsgOrthoCam_destroy(self)   LsgCamera_destroy(&(self)->super)

Functions

LsgOrthoCamLsgOrthoCam_create (void)
void LsgOrthoCam_init (LsgOrthoCam *self)
void LsgOrthoCam_display (LsgOrthoCam *self, LsgFrustum *frust, LsgNode *node)


Detailed Description

Orthogonal projection camera.


Define Documentation

#define LsgOrthoCam_destroy self   )     LsgCamera_destroy(&(self)->super)
 

Destructor method for LsgOrthoCam. Reuse parent implementation.


Function Documentation

LsgOrthoCam* LsgOrthoCam_create void   ) 
 

Allocate and initialize a new LsgOrthoCam.

Returns:
A new LsgOrthoCam instance

void LsgOrthoCam_init LsgOrthoCam self  ) 
 

Constructor method for LsgOrthoCam. Initialize view cube to [-1, +1] in all dimensions.

Parameters:
self The instance variable

void LsgOrthoCam_display LsgOrthoCam self,
LsgFrustum frust,
LsgNode node
 

Display a node as seen from this camera.

Parameters:
self The instance variable
frust The initial view frustum
node The node to display


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