In file graphics3D/TclCamera3D.h:

namespace yav class TclCamera3D : public TclSceneObject

2D Camera interface using a TCL canvas widget

Inheritance:


Public Methods

Camera3D* getClient (void) const
returns camera2D client
TclScene3D* getScene (void) const
returns camera scene
virtual int destroyCmd (int argc, char **argv)
-destroy TCL option
int projectionMatrixCmd (int argc, char **argv)
-projectionMatrix TCL option
int centerCmd (int argc, char **argv)
-center TCL option
int refCenterCmd (int argc, char **argv)
-refCenter TCL option
int scaleFactorCmd (int argc, char **argv)
-scaleFactor TCL option
virtual void startComputation ()
The action performed when the deformation loop of the scene is activated
virtual void stopComputation ()
The action performed when the deformation loop of the scene is de-activated
static int list (TclModule *m, int argc, char **argv)
build a list of all available cameras

Public

Constructor
TclCamera3D (TclModule* m, TclScene3D *scn, const std::type_info& type = typeid(TclCamera3D), Camera3D *cam = 0)
builds and display a new camera
Desstructor
virtual ~TclCamera3D ()
Destroy TclCamera2D object and associated TCL canvas

Documentation

2D Camera interface using a TCL canvas widget
Constructor

TclCamera3D(TclModule* m, TclScene3D *scn, const std::type_info& type = typeid(TclCamera3D), Camera3D *cam = 0)
builds and display a new camera
Parameters:
m - module to build TCL object in
scn - scene the camera visualizes
type - dynamic object type
cam - client (if already created)

Desstructor

virtual ~TclCamera3D()
Destroy TclCamera2D object and associated TCL canvas

Camera3D* getClient(void) const
returns camera2D client

TclScene3D* getScene(void) const
returns camera scene

virtual int destroyCmd(int argc, char **argv)
-destroy TCL option

int projectionMatrixCmd(int argc, char **argv)
-projectionMatrix TCL option

int centerCmd(int argc, char **argv)
-center TCL option

int refCenterCmd(int argc, char **argv)
-refCenter TCL option

int scaleFactorCmd(int argc, char **argv)
-scaleFactor TCL option

virtual void startComputation()
The action performed when the deformation loop of the scene is activated

virtual void stopComputation()
The action performed when the deformation loop of the scene is de-activated

static int list(TclModule *m, int argc, char **argv)
build a list of all available cameras


Direct child classes:
Togl

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de