In file tetrahedrisation/TclTetra3D.h:

namespace yav class TclTetra3D : public TclSceneObject

Tcl interface around a 3D tetrahedrisation

Inheritance:


Public Methods

Tetra3D* getClient (void) const
returns the FileTCL associated with this interface
TclScene3D* getScene (void) const
returns the TclScene3D associated with the TclTetra3D object
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 TclTetra3D
static void load (const TclString &filename, Scene3D *scn)
load function
int destroyCmd (int argc, char **argv)
-destroy TCL command
int colorCmd (int argc, char **argv)
-color TCL command
int selectionModeCmd (int argc, char **argv)
-selectionMode TCL command
int saveCmd (int argc, char **argv)
-save TCL command
int saveAsGHS3DCmd (int argc, char **argv)
-saveAsGHS3D TCL command
int saveAsTrCmd (int argc, char **argv)
-saveAsTr TCL command
int saveOptionCmd (int argc, char **argv)
-saveOption TCL command
int loadOptionCmd (int argc, char **argv)
-loadOption TCL command
int nameCmd (int argc, char **argv)
-name 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 texture1DCmd (int argc, char **argv)
-texture1D TCL command
int highlightTextureCmd (int argc, char **argv)
-highlightTexture TCL command
int texture2DOptionCmd (int argc, char **argv)
-texture2DOption TCL command
int texture1DOptionCmd (int argc, char **argv)
-texture1DOption TCL command
int materialCmd (int argc, char **argv)
-material TCL command
int selectedMaterialCmd (int argc, char **argv)
-selectedMaterial TCL command
int zonesCmd (int argc, char **argv)
-zones TCL command
int surfaceZonesCmd (int argc, char **argv)
-surfaceZones TCL command
int newZoneCmd (int argc, char **argv)
-newZone TCL command
int newSurfaceZoneCmd (int argc, char **argv)
-newSurfaceZone TCL command
int selectedZoneCmd (int argc, char **argv)
-selectedZone TCL command
int selectedSurfaceZoneCmd (int argc, char **argv)
-selectedSurfaceZone TCL command
int flipNormalsCmd (int argc, char **argv)
-flipNormals TCL command
int rotateCmd (int argc, char **argv)
-rotate TCL command
int scaleCmd (int argc, char **argv)
-scale TCL command
int translateCmd (int argc, char **argv)
-translate TCL command
int topologyCheckCmd (int argc, char **argv)
-topologyCheck TCL command
int useDisplayListsCmd (int argc, char **argv)
-useDisplayLists TCL command
void updateSelectionMenu ()
add menu of selected items
int selectCmd (int argc, char **argv)
-select TCL command
int cuttingZoneCmd (int argc, char **argv)
-cuttingZone TCL command
int virtualVerticesCmd (int argc, char **argv)
-virtualVertices TCL command
virtual void select (TetraVertex3D *v)
install the menu associated with a vertex
virtual void select (TetraTriangle3D *t)
install the menu associated with a triangle
virtual void select (TetraTetrahedron3D *t)
install the menu associated with a tetrahedron
virtual void select (TetraZone3D *z)
install the menu associated with a zone
virtual void select (TetraEdge3D *e)
install the menu associated with an edge
virtual void select (TetraSurfaceZone3D *e)
install the menu associated with an surface zone
virtual int set1DTextureCmd (int argc, char **argv)
set 1D texture on the surface
void unselect ()
uninstall the menu associated with a vertex, or an edge, or a tetrahedron or a zone or a surface zone
static int subObject (TclObject *obj, Tcl_Interp *interp, int argc, char **argv)
tetrahedrisation global command

Public

Constructors
TclTetra3D (TclScene3D *scene, char *filename)
create an interface around a 3D Tetrahedrisation
TclTetra3D (TclScene3D *scene, const std::type_info &info, Tetra3D *t)
create an interface around a 3D Tetra
destructor
virtual ~TclTetra3D ()
empty

Protected Fields

TclString menuFrame
menu frame name for selected subobjects
TclTetraVertex3D* vinterface
tetra vertex interface
TclTetraEdge3D* einterface
tetra edge interface
TclTetraTriangle3D* tinterface
tetra triangle interface
TclTetraTetrahedron3D* Tinterface
tetra tetrahedron interface
TclTetraZone3D* zinterface
tetra zone interface
TclTetraSurfaceZone3D* szinterface
tetra surface zone interface

Protected Methods

virtual void init (void)
constructor common code

Documentation

Tcl interface around a 3D tetrahedrisation
TclString menuFrame
menu frame name for selected subobjects

TclTetraVertex3D* vinterface
tetra vertex interface

TclTetraEdge3D* einterface
tetra edge interface

TclTetraTriangle3D* tinterface
tetra triangle interface

TclTetraTetrahedron3D* Tinterface
tetra tetrahedron interface

TclTetraZone3D* zinterface
tetra zone interface

TclTetraSurfaceZone3D* szinterface
tetra surface zone interface

virtual void init(void)
constructor common code

Constructors

TclTetra3D(TclScene3D *scene, char *filename)
create an interface around a 3D Tetrahedrisation
Parameters:
scene - the Tclscene pointing on the scene where the 3D tetrahedrisation should be created
filename - the file name

TclTetra3D(TclScene3D *scene, const std::type_info &info, Tetra3D *t)
create an interface around a 3D Tetra
Parameters:
scene - the Tclscene pointing on the scene where the 3D tetrahedrisation should be created
info - the type info of Tcl interface that is really created (it must be a derived class from TclTetra3D
t - the 3D derived tetrahedrisation

destructor

virtual ~TclTetra3D()
empty

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

TclScene3D* getScene(void) const
returns the TclScene3D associated with the TclTetra3D object

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 TclTetra3D

static void load(const TclString &filename, Scene3D *scn)
load function
Parameters:
filename - 3D tetrahedrisation file name
scn - 3D scene where the Tcl interface is created

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

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

int selectionModeCmd(int argc, char **argv)
-selectionMode TCL command

int saveCmd(int argc, char **argv)
-save TCL command

int saveAsGHS3DCmd(int argc, char **argv)
-saveAsGHS3D TCL command

int saveAsTrCmd(int argc, char **argv)
-saveAsTr TCL command

int saveOptionCmd(int argc, char **argv)
-saveOption TCL command

int loadOptionCmd(int argc, char **argv)
-loadOption TCL command

int nameCmd(int argc, char **argv)
-name 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 texture1DCmd(int argc, char **argv)
-texture1D TCL command

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

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

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

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

int selectedMaterialCmd(int argc, char **argv)
-selectedMaterial TCL command

int zonesCmd(int argc, char **argv)
-zones TCL command

int surfaceZonesCmd(int argc, char **argv)
-surfaceZones TCL command

int newZoneCmd(int argc, char **argv)
-newZone TCL command

int newSurfaceZoneCmd(int argc, char **argv)
-newSurfaceZone TCL command

int selectedZoneCmd(int argc, char **argv)
-selectedZone TCL command

int selectedSurfaceZoneCmd(int argc, char **argv)
-selectedSurfaceZone TCL command

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

int rotateCmd(int argc, char **argv)
-rotate TCL command

int scaleCmd(int argc, char **argv)
-scale TCL command

int translateCmd(int argc, char **argv)
-translate TCL command

int topologyCheckCmd(int argc, char **argv)
-topologyCheck TCL command

int useDisplayListsCmd(int argc, char **argv)
-useDisplayLists TCL command

void updateSelectionMenu()
add menu of selected items

int selectCmd(int argc, char **argv)
-select TCL command

int cuttingZoneCmd(int argc, char **argv)
-cuttingZone TCL command

int virtualVerticesCmd(int argc, char **argv)
-virtualVertices TCL command

virtual void select(TetraVertex3D *v)
install the menu associated with a vertex

virtual void select(TetraTriangle3D *t)
install the menu associated with a triangle

virtual void select(TetraTetrahedron3D *t)
install the menu associated with a tetrahedron

virtual void select(TetraZone3D *z)
install the menu associated with a zone

virtual void select(TetraEdge3D *e)
install the menu associated with an edge

virtual void select(TetraSurfaceZone3D *e)
install the menu associated with an surface zone

virtual int set1DTextureCmd(int argc, char **argv)
set 1D texture on the surface

void unselect()
uninstall the menu associated with a vertex, or an edge, or a tetrahedron or a zone or a surface zone

static int subObject(TclObject *obj, Tcl_Interp *interp, int argc, char **argv)
tetrahedrisation global command
Parameters:
obj - tetrahedrisation interface this command is called on
interp - TCL interpretor to evaluate command
argc - command number of arguments
argv - command arguments list


Direct child classes:
TclActiveTetra3D

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