In file graphics3D/TclScene3D.h:

namespace yav class TclScene3D : public TclScene<Scene3D, Data3D, DeformableModel3D, RangeData3D>

a Tcl object representing a 3D scene

Inheritance:


Public Methods

Rectangle3D* getClient (void) const
returns the FileTCL associated with this interface
static int list (TclModule *m, int d, char **a)
raise ambiguity on list() function
static int create (TclModule *m, int argc, char **argv)
Tcl command to create the TclTriangulation3D
int destroyCmd (int argc, char **argv)
-destroy TCL command
int pointCmd (int argc, char **argv)
-point TCL command
int directionCmd (int argc, char **argv)
-direction TCL command
int renderCmd (int argc, char **argv)
-render TCL command
int renderOptionCmd (int argc, char **argv)
-renderOption TCL command
int texture2DCmd (int argc, char **argv)
-texture2D TCL command
int texture2DOptionCmd (int argc, char **argv)
-texture2DOption TCL command
int texture1DCmd (int argc, char **argv)
-texture1D TCL command
int texture1DOptionCmd (int argc, char **argv)
-texture1DOption TCL command
int textureScaleCmd (int argc, char **argv)
-textureScale TCL command
int highlightTextureCmd (int argc, char **argv)
-highlightTexture TCL command
int materialCmd (int argc, char **argv)
-material TCL command
int colorCmd (int argc, char **argv)
-color TCL command
int flipNormalsCmd (int argc, char **argv)
-flipNormals TCL command
bool read (const TclString &filename)
read a file into a scene
unsigned int getRef (void) const
returns the index of the scene in the list of scenes
static TclScene3D* getDefaultScene (TclModule *m)
returns the default TclScene3D : if there are several existing TclScene3D then returns the first TclScene3D; otherwise creates a new TclScene3D
int destroyCmd (int argc, char **argv)
-destroy TCL command option
int loadCmd (int argc, char **argv)
-load TCL command option
int iterationCmd (int argc, char **argv)
-iteration TCL command option
int computationCmd (int argc, char **argv)
-computation TCL command option
int objectsCmd (int argc, char **argv)
-objects TCL command option
int deformableCmd (int argc, char **)
-deformable TCL command option
int cameraCmd (int argc, char **)
-camera TCL command option
int rangeCmd (int argc, char **)
-range TCL command option
int redrawCmd (int argc, char **argv)
-redraw TCL command option
int focusCmd (int argc, char **argv)
-focus TCL command option
int maxFrameRateCmd (int argc, char **argv)
-maxFrameRate TCL command option
Scene3D* getClient (void) const
returns this interface's client
static int create (TclModule *m, int argc, char **argv)
creates a new TclScene3D

Public

Constructors
TclRectangle3D (TclScene3D *scene, const Vec3 &p1, const Vec3 &p2, const Vec3 &v1, const Vec3 &v2)
create an interface of a 3D rectangle
destructor
virtual ~TclRectangle3D ()
destroys display list
constructor
TclScene3D (TclModule *m, Scene3D *scene = 0)
builds a TclScene3D object given a module
destructor
virtual ~TclScene3D ()
empty

Documentation

a Tcl object representing a 3D scene
Constructors

TclRectangle3D(TclScene3D *scene, const Vec3 &p1, const Vec3 &p2, const Vec3 &v1, const Vec3 &v2)
create an interface of a 3D rectangle
Parameters:
scene - the 3D scene ehere the rectangle is stored
p1 - first diagonal point of the rectangle
p2 - first diagonal point of the rectangle
v1 - the direction of the first axis of the rectangle
v2 - the direction of the second axis of the rectangle

destructor

virtual ~TclRectangle3D()
destroys display list

Rectangle3D* getClient(void) const
returns the FileTCL associated with this interface

static int list(TclModule *m, int d, char **a)
raise ambiguity on list() function

static int create(TclModule *m, int argc, char **argv)
Tcl command to create the TclTriangulation3D

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

int pointCmd(int argc, char **argv)
-point TCL command

int directionCmd(int argc, char **argv)
-direction TCL command

int renderCmd(int argc, char **argv)
-render TCL command

int renderOptionCmd(int argc, char **argv)
-renderOption TCL command

int texture2DCmd(int argc, char **argv)
-texture2D TCL command

int texture2DOptionCmd(int argc, char **argv)
-texture2DOption TCL command

int texture1DCmd(int argc, char **argv)
-texture1D TCL command

int texture1DOptionCmd(int argc, char **argv)
-texture1DOption TCL command

int textureScaleCmd(int argc, char **argv)
-textureScale TCL command

int highlightTextureCmd(int argc, char **argv)
-highlightTexture TCL command

int materialCmd(int argc, char **argv)
-material TCL command

int colorCmd(int argc, char **argv)
-color TCL command

int flipNormalsCmd(int argc, char **argv)
-flipNormals TCL command

constructor

TclScene3D(TclModule *m, Scene3D *scene = 0)
builds a TclScene3D object given a module
Parameters:
m - pointer on a module

destructor

virtual ~TclScene3D()
empty

bool read(const TclString &filename)
read a file into a scene
Returns:
returns true if it the file could have been read and false otherwise
Parameters:
filename - the name of the file to be read

unsigned int getRef(void) const
returns the index of the scene in the list of scenes

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

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

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

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

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

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

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

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

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

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

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

int maxFrameRateCmd(int argc, char **argv)
-maxFrameRate TCL command option

Scene3D* getClient(void) const
returns this interface's client

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


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