In file graphics2D/TclScene2D.h:

namespace yav class TclScene2D : public TclScene<Scene2D, Data2D, DeformableModel2D, RangeData2D>

2D scene for TclData2D objects

Inheritance:


Public Methods

virtual unsigned int getRef (void) const
returns scene reference
static TclScene2D* getDefaultScene (TclModule *m)
returns the default TclScene2D : if there are several existing TclScene2D then returns the first TclScene2D; otherwise creates a new TclScene2D
bool read (const TclString &filename)
reads a data file into a scene
static TclScene2D* getHead (void)
fix ambigous AutoLink::getHead method call
virtual TclScene2D* following (void) const
fix ambigous AutoLink::following method call
int destroyCmd (int argc, char **argv)
TCL -destroy command option
int loadCmd (int argc, char **argv)
TCL -load command option
int iterationCmd (int argc, char **argv)
TCL -iteration command option
int computationCmd (int argc, char **argv)
TCL -start/stop computation command option
int redrawCmd (int argc, char **argv)
TCL -redraw command option
int focusCmd (int argc, char **argv)
TCL -focus command option
int objectsCmd (int argc, char **)
-object TCL command option
int cameraCmd (int argc, char **)
-camera TCL command option
int deformableCmd (int argc, char **)
-deformable TCL command option
int rangeCmd (int argc, char **)
-range TCL command option
static int create (TclModule *m, int argc, char **argv)
creates a new scene
Scene2D* getClient (void) const
returns client

Public

constructor
TclScene2D (TclModule *m)
builds a new 2D TclScene
destructor
virtual ~TclScene2D ()
empty destructor

Documentation

2D scene for TclData2D objects
constructor

TclScene2D(TclModule *m)
builds a new 2D TclScene
Parameters:
m - module to create scene in

destructor

virtual ~TclScene2D()
empty destructor

virtual unsigned int getRef(void) const
returns scene reference

static TclScene2D* getDefaultScene(TclModule *m)
returns the default TclScene2D : if there are several existing TclScene2D then returns the first TclScene2D; otherwise creates a new TclScene2D
Returns:
the default TclScene2D
Parameters:
m - module used to eventually create a new TclScene2D

bool read(const TclString &filename)
reads a data file into a scene
Returns:
true if data was succesfully read, false otherwise
Parameters:
filename - data file name

static TclScene2D* getHead(void)
fix ambigous AutoLink::getHead method call

virtual TclScene2D* following(void) const
fix ambigous AutoLink::following method call

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

int loadCmd(int argc, char **argv)
TCL -load command option

int iterationCmd(int argc, char **argv)
TCL -iteration command option

int computationCmd(int argc, char **argv)
TCL -start/stop computation command option

int redrawCmd(int argc, char **argv)
TCL -redraw command option

int focusCmd(int argc, char **argv)
TCL -focus command option

int objectsCmd(int argc, char **)
-object TCL command option

int cameraCmd(int argc, char **)
-camera TCL command option

int deformableCmd(int argc, char **)
-deformable TCL command option

int rangeCmd(int argc, char **)
-range TCL command option

static int create(TclModule *m, int argc, char **argv)
creates a new scene
Parameters:
m - module to create scene in
argc - number of command line arguments
argv - command line arguments

Scene2D* getClient(void) const
returns client


This class has no child classes.

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