In file SM2/TclSM2Contour3D.h:

class TclSM2Contour3D : public TclActiveContour3D

the interface class associated with a contour of a 2-simplex mesh

Inheritance:


Public Methods

void redrawAllTraces (void)
redraw model trace in any camera it should
void deleteFromCamera (TclSliceCamera *cam)
remove model trace in given camera
void traceInCamera (TclSliceCamera *cam)
trace model intersection with given camera plane
void createdCamera (TclSliceCamera *cam)
a slice camera visualizing this scene was just created
SM2* getClient (void) const
returns client
TclScene3D* getTclScene (void)
returns the TclScene
int destroyCmd (int argc, char **argv)
-destroy TCL command
int saveCmd (int argc, char **argv)
-save TCL command
int nameCmd (int argc, char **argv)
-name TCL command
int colorCmd (int argc, char **argv)
-color TCL command
int newZoneCmd (int argc, char **argv)
-newZone TCL command
int materialCmd (int argc, char **argv)
-material TCL command
int renderCmd (int argc, char **argv)
-render TCL command
int renderOptionCmd (int argc, char **argv)
-renderOption TCL command
int widthCmd (int argc, char **argv)
-width TCL command
int zonesCmd (int argc, char **argv)
-zones TCL command
int stopCriterionCmd (int argc, char **argv)
-stopCriterion TCL command
int stopDistanceCmd (int argc, char **argv)
-stopDistance TCL command
int translateCmd (int argc, char **argv)
-translate TCL command
int scaleCmd (int argc, char **argv)
-scale TCL command
int selectionModeCmd (int argc, char **argv)
-select TCL command
int infoCmd (int argc, char **argv)
-info mesh command suboption
int internalCmd (int argc, char **argv)
-internal TCL command
int metricCmd (int argc, char **argv)
-metricParameters TCL command
int balloonCmd (int argc, char **argv)
-balloon TCL command
int rigidityCmd (int argc, char **argv)
-rigidity TCL command
int appendCmd (int argc, char **argv)
-append TCL command
int alphaCmd (int argc, char **argv)
-alpha TCL command
int betaCmd (int argc, char **argv)
-beta TCL command
int localityCmd (int argc, char **argv)
-locality TCL command
int weightCmd (int argc, char **argv)
-weight TCL command
int deformationModeCmd (int argc, char **argv)
-deformationMode TCL command
int globalTransformationCmd (int argc, char **argv)
-globalTransformation TCL command
int referenceShapeCmd (int argc, char **argv)
-referenceShape TCL command
int selectCmd (int argc, char **argv)
-select TCL command
int traceCmd (int argc, char **argv)
-trace TCL command
int normalCmd (int argc, char **argv)
-normal TCL command
int forceCmd (int argc, char **argv)
-forces TCL command
int plotCmd (int argc, char **argv)
-plot TCL command
int sceneCmd (int argc, char **argv)
-scene TCL command
int T1Cmd (int argc, char **argv)
-T1 TCL command
int T2Cmd (int argc, char **argv)
-T2 TCL command
int T7Cmd (int argc, char **argv)
-T7 TCL command
int bestTopologyCmd (int argc, char **argv)
-bestTopology TCL command
int refineCmd (int argc, char **argv)
-refine TCL command
int refineOldCmd (int argc, char **argv)
-refineOld TCL command
int decimateCmd (int argc, char **argv)
-decimatee TCL command
int T1testCmd (int argc, char **argv)
-T1test command, for testing purpose only
int T7testCmd (int argc, char **argv)
-T7test command, for testing purpose only
int infoboxCmd (int argc, char **argv)
-infobox TCL command
int saveOptionCmd (int argc, char **argv)
-saveOption TCL command
int loadOptionCmd (int argc, char **argv)
-loadOption TCL command
int rangeInformationCmd (int argc, char **argv)
-rangeInformation TCL command
int rangeInformationSetCmd (int argc, char **argv)
-rangeInformationSet TCL command
int positionConstraintCmd (int argc, char **argv)
-positionConstraint TCL command
int forceConstraintCmd (int argc, char **argv)
-forceConstraint TCL command
int faceAreaConstraintCmd (int argc, char **argv)
-faceAreaConstraint TCL command
int topologyConstraintCmd (int argc, char **argv)
-topologyConstraint TCL command
int faceQualityConstraintCmd (int argc, char **argv)
-faceAreaConstraint TCL command
int volumeCmd (int argc, char **argv)
-volume TCL command
int radiusCmd (int argc, char **argv)
-radius TCL command
int copyCmd (int argc, char **argv)
-copy TCL command
int matrixCmd (int argc, char **argv)
-matrix TCL command
static int create (TclModule *m, int argc, char **argv)
create function
static int list (TclModule *m, int argc, char **argv)
list function
static void load (const TclString &filename, Scene3D *scn)
load function
static const char* getObjectName (void)
returns TclSM2 object string id
static int subObject (TclObject *obj, Tcl_Interp *interp, int argc, char **argv)
simplex mesh global command
void unselect (void)
unselects any subobject
void select (SM2Vertex *v)
select given vertex
void select (SM2Edge *e)
select given edge
void select (SM2Face *f)
select given face
void select (SM2Zone *z)
select given zone
int checkCmd (int argc, char **argv)
Checks the mesh topology
SM2Contour3D* getClient (void)
set getClient() to return a SM2Contour3D instead of a ActiveContour3D
static int create (TclModule *m, int argc, char *argv[])
create command
int surfaceConstraintCmd (int argc, char **argv)
-surfaceConstraint command
int cutCmd (int argc, char **argv)
-cut command

Public

constructors
TclSM2 (const TclString& name, TclScene3D *scene)
build from file
TclSM2 (TclScene3D *scene, const std::type_info& id, SM2 *data)
build from an existing client
destructor
constructor
TclSM2Contour3D (const std::type_info &i, SM2Contour3D *c, TclScene3D *scene)
constructor called by inherited classes
TclSM2Contour3D (TclSM2 *_mesh, std::list < SM2Vertex *> &contourVertexList, const ContourLine::Topology top)
build a TclSM2Contour3D given the list of vertices
TclSM2Contour3D (SM2Contour3D *contour, TclScene3D *scene)
build a TclSM2Contour3D given an already existing contour
destructor

Protected Fields

TclSM2Zone* zinterface
mesh zones interface
TclSM2Vertex* vinterface
mesh vertices interface
TclSM2Edge* einterface
mesh edges interface
TclSM2Face* finterface
mesh faces interface
TclString menuFrame
menu frame name for selected subobjects
bool infobox
whether to display a selected subobjects info box

Protected Methods

void init (void)
constructors common code

Private Methods

void createTclContour ()
creates a TclSM2Contour for each contour existing in the simplex mesh pointed by a TclSM2 object

Documentation

the interface class associated with a contour of a 2-simplex mesh
TclSM2Zone* zinterface
mesh zones interface

TclSM2Vertex* vinterface
mesh vertices interface

TclSM2Edge* einterface
mesh edges interface

TclSM2Face* finterface
mesh faces interface

TclString menuFrame
menu frame name for selected subobjects

bool infobox
whether to display a selected subobjects info box

constructors

TclSM2(const TclString& name, TclScene3D *scene)
build from file
Parameters:
name - simplex mesh file name
scene - scene to build object in

TclSM2(TclScene3D *scene, const std::type_info& id, SM2 *data)
build from an existing client
Parameters:
name - simplex mesh file name
id - dynamic object type
data - client

destructor

void redrawAllTraces(void)
redraw model trace in any camera it should

void deleteFromCamera(TclSliceCamera *cam)
remove model trace in given camera

void traceInCamera(TclSliceCamera *cam)
trace model intersection with given camera plane
Parameters:
cam - camera to trace model in

void createdCamera(TclSliceCamera *cam)
a slice camera visualizing this scene was just created
Parameters:
cam - new camera

SM2* getClient(void) const
returns client

TclScene3D* getTclScene(void)
returns the TclScene

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

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

int nameCmd(int argc, char **argv)
-name TCL command

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

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

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

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

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

int widthCmd(int argc, char **argv)
-width TCL command

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

int stopCriterionCmd(int argc, char **argv)
-stopCriterion TCL command

int stopDistanceCmd(int argc, char **argv)
-stopDistance TCL command

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

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

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

int infoCmd(int argc, char **argv)
-info mesh command suboption

int internalCmd(int argc, char **argv)
-internal TCL command

int metricCmd(int argc, char **argv)
-metricParameters TCL command

int balloonCmd(int argc, char **argv)
-balloon TCL command

int rigidityCmd(int argc, char **argv)
-rigidity TCL command

int appendCmd(int argc, char **argv)
-append TCL command

int alphaCmd(int argc, char **argv)
-alpha TCL command

int betaCmd(int argc, char **argv)
-beta TCL command

int localityCmd(int argc, char **argv)
-locality TCL command

int weightCmd(int argc, char **argv)
-weight TCL command

int deformationModeCmd(int argc, char **argv)
-deformationMode TCL command

int globalTransformationCmd(int argc, char **argv)
-globalTransformation TCL command

int referenceShapeCmd(int argc, char **argv)
-referenceShape TCL command

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

int traceCmd(int argc, char **argv)
-trace TCL command

int normalCmd(int argc, char **argv)
-normal TCL command

int forceCmd(int argc, char **argv)
-forces TCL command

int plotCmd(int argc, char **argv)
-plot TCL command

int sceneCmd(int argc, char **argv)
-scene TCL command

int T1Cmd(int argc, char **argv)
-T1 TCL command

int T2Cmd(int argc, char **argv)
-T2 TCL command

int T7Cmd(int argc, char **argv)
-T7 TCL command

int bestTopologyCmd(int argc, char **argv)
-bestTopology TCL command

int refineCmd(int argc, char **argv)
-refine TCL command

int refineOldCmd(int argc, char **argv)
-refineOld TCL command

int decimateCmd(int argc, char **argv)
-decimatee TCL command

int T1testCmd(int argc, char **argv)
-T1test command, for testing purpose only

int T7testCmd(int argc, char **argv)
-T7test command, for testing purpose only

int infoboxCmd(int argc, char **argv)
-infobox TCL command

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

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

int rangeInformationCmd(int argc, char **argv)
-rangeInformation TCL command

int rangeInformationSetCmd(int argc, char **argv)
-rangeInformationSet TCL command

int positionConstraintCmd(int argc, char **argv)
-positionConstraint TCL command

int forceConstraintCmd(int argc, char **argv)
-forceConstraint TCL command

int faceAreaConstraintCmd(int argc, char **argv)
-faceAreaConstraint TCL command

int topologyConstraintCmd(int argc, char **argv)
-topologyConstraint TCL command

int faceQualityConstraintCmd(int argc, char **argv)
-faceAreaConstraint TCL command

int volumeCmd(int argc, char **argv)
-volume TCL command

int radiusCmd(int argc, char **argv)
-radius TCL command

int copyCmd(int argc, char **argv)
-copy TCL command

int matrixCmd(int argc, char **argv)
-matrix TCL command

static int create(TclModule *m, int argc, char **argv)
create function

static int list(TclModule *m, int argc, char **argv)
list function

static void load(const TclString &filename, Scene3D *scn)
load function
Parameters:
filename - simplex mesh file name
scn - 3D scene to store model

static const char* getObjectName(void)
returns TclSM2 object string id

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

void unselect(void)
unselects any subobject

void select(SM2Vertex *v)
select given vertex
Parameters:
v - vertex to select

void select(SM2Edge *e)
select given edge
Parameters:
e - edge to select

void select(SM2Face *f)
select given face
Parameters:
f - face to select

void select(SM2Zone *z)
select given zone
Parameters:
z - zone to select

int checkCmd(int argc, char **argv)
Checks the mesh topology

void createTclContour()
creates a TclSM2Contour for each contour existing in the simplex mesh pointed by a TclSM2 object

void init(void)
constructors common code

constructor

TclSM2Contour3D(const std::type_info &i, SM2Contour3D *c, TclScene3D *scene)
constructor called by inherited classes
Parameters:
i - dynamic object class of the inherited class
c - the client of this class, ie, the contour to interface
scene - the scene where the object should be built

TclSM2Contour3D(TclSM2 *_mesh, std::list < SM2Vertex *> &contourVertexList, const ContourLine::Topology top)
build a TclSM2Contour3D given the list of vertices
Parameters:
_mesh - the interface of the 2-simplex mesh where the contour is embedded
contourVertexList - a list of vertices such that following and previous items for each vertex on the list are neighbors of that vertex. If the contour is closest then the first and last list vertices must be neighbors.
top - the topology of the contour

TclSM2Contour3D(SM2Contour3D *contour, TclScene3D *scene)
build a TclSM2Contour3D given an already existing contour
Parameters:
contour - the contour to be interfaced
scene - the scene where the object should be built

destructor

SM2Contour3D* getClient(void)
set getClient() to return a SM2Contour3D instead of a ActiveContour3D

static int create(TclModule *m, int argc, char *argv[])
create command

int surfaceConstraintCmd(int argc, char **argv)
-surfaceConstraint command

int cutCmd(int argc, char **argv)
-cut command


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