In file contour/TclActiveContour2D.h:

namespace yav class TclActiveContour2D : public TclContour2D

the Tcl interface associated with a 2D active contour

Inheritance:


Protected Methods

ActiveContour2D* getClient (void) const
set getClient() to return a ActiveContour2D instead of a Contour2D
static int list (TclModule *m, int d, char **a)
lift ambiguity on list() function
int showClosestPointCmd (int argc, char **argv)
-showClosestPoint TCL command
int showRangeDistanceCmd (int argc, char **argv)
-showRangeDistance TCL command
int selectionModeCmd (int argc, char **argv)
-selectionMode TCL command
int selectedEdgeColorCmd (int argc, char **argv)
-selectedEdgeColor TCL command
int selectedEdgeWidthCmd (int argc, char **argv)
-selectedEdgeWidth TCL command
int vertexParameterCmd (int argc, char **argv)
-vertexParameter TCL command
int displaySpacingCurvatureCmd (int argc, char **argv)
-displaySpacingCurvature TCL command
int displayCurvatureProfileCmd (int argc, char **argv)
-displayCurvatureProfile TCL command
int addContourCmd (int argc, char **argv)
-addContour TCL command
int rangeInformationCmd (int argc, char **argv)
-rangeInformation TCL command
int rangeInformationSetCmd (int argc, char **argv)
-rangeInformationSet TCL command
int metricParametersCmd (int argc, char **argv)
-metricParameters TCL command
int setRestLengthCmd (int argc, char **argv)
-setRestLength TCL command
int mergeEdgesCmd (int argc, char **argv)
-mergeEdges TCL command
int cutEdgeCmd (int argc, char **argv)
-cutEdge TCL command
int closeLineCmd (int argc, char **argv)
-closeLine TCL command
int contourInternalForceCmd (int argc, char **argv)
-contourInternalForce TCL command
int vertexInternalForceCmd (int argc, char **argv)
-vertexInternalForce TCL command
int contourParameterCmd (int argc, char **argv)
-contourParameter TCL command
int boundaryConditionsCmd (int argc, char **argv)
-boundaryConditions TCL command
int computationCmd (int argc, char **argv)
-computation TCL command
int removeVertexCmd (int argc, char **argv)
-removeVertex TCL command
int addVertexCmd (int argc, char **argv)
-addVertex TCL command
int distanceConstraintCmd (int argc, char **argv)
-distanceConstraint TCL command
int rectangleConstraintCmd (int argc, char **argv)
-rectangleConstraint TCL command
int spacingConstraintCmd (int argc, char **argv)
-spacingConstraint TCL command
int curvatureSpacingConstraintCmd (int argc, char **argv)
-curvatureSpacingConstraint TCL command
int attachmentConstraintCmd (int argc, char **argv)
-attachmentConstraint TCL command
int balloonConstraintCmd (int argc, char **argv)
-balloonConstraint TCL command
int topologyConstraintCmd (int argc, char **argv)
-topologyConstraint TCL command
int positionConstraintCmd (int argc, char **argv)
-positionConstraint TCL command
int forceConstraintCmd (int argc, char **argv)
-forceConstraint TCL command
int edgeLengthCmd (int argc, char **argv)
-edgeLength TCL command
int listAvailableInternalForcesCmd (int argc, char** argv)
-listInternalForces TCL command
int timeSchemeCmd (int argc, char **argv)
-timeScheme TCL command
static int create (TclModule *m, int argc, char **argv)
create function
static void load (const TclString &filename, Scene2D *scn)
load function

Protected

Constructors
TclActiveContour2D (const std::type_info &i, ActiveContour2D *c, TclScene2D *scene)
Constructor for inherited types
TclActiveContour2D (TclString filename, TclScene2D *scene)
Creates a TclActiveContour2D from a file
TclActiveContour2D (const unsigned int nbLines, const unsigned int *nbVertices, Vec2 **array, const ContourLine::Topology *top, TclScene2D *scene)
Creates a TclActiveContour2D given a set of lines
TclActiveContour2D (const TclActiveContour2D *_activeContour)
Builds a TclActiveContour2D given another TclActiveContour2D
Destructor
virtual ~TclActiveContour2D ()
destructor of a 2D active contour interface

Private Fields

unsigned int nbSpacingCurvatureGraph
number of graphs displaying edge length vs. edge curvature
unsigned int nbCurvatureProfileGraph
number of graphs displaying curvature vs. arc length

Private Methods

void unselectMode (TclCamera2D *cam, char * contourName)
routine that uninstall vertex/line/edge menu

Inherited from TclContour2D:

Protected Methods

TclScene2D* getScene(void) const
int destroyCmd(int argc, char **argv)
int saveCmd(int argc, char **argv)
int sceneCmd(int argc, char **argv)
int translateCmd(int argc, char **argv)
int rotateCmd(int argc, char **argv)
int motionModeCmd(int argc, char **argv)
int scaleCmd(int argc, char **argv)
int saveOptionCmd(int argc, char **argv)
int loadOptionCmd(int argc, char **argv)
int getNbLinesCmd(int argc, char **argv)
int getNbVerticesCmd(int argc, char **argv)
int getVertexCmd(int argc, char **argv)
int removeLineCmd(int argc, char **argv)
int saveAsMapleCmd(int argc, char **argv)
int createLineCmd(int argc, char **argv)
int selectLineCmd(int argc, char **argv)
int selectVertexCmd(int argc, char **argv)
int vertexModeCmd(int argc, char **argv)
int vertexColorCmd(int argc, char **argv)
int selectedVertexColorCmd(int argc, char **argv)
int vertexSizeCmd(int argc, char **argv)
int lineColorCmd(int argc, char **argv)
int selectedLineColorCmd(int argc, char **argv)
int lineWidthCmd(int argc, char **argv)

Documentation

the Tcl interface associated with a 2D active contour
void unselectMode(TclCamera2D *cam, char * contourName)
routine that uninstall vertex/line/edge menu

unsigned int nbSpacingCurvatureGraph
number of graphs displaying edge length vs. edge curvature

unsigned int nbCurvatureProfileGraph
number of graphs displaying curvature vs. arc length

Constructors

TclActiveContour2D(const std::type_info &i, ActiveContour2D *c, TclScene2D *scene)
Constructor for inherited types
Parameters:
i - the type_info the inherited type
c - the contour corresponding to the client
scene - the scene where to create the TclActiveContour2D

TclActiveContour2D(TclString filename, TclScene2D *scene)
Creates a TclActiveContour2D from a file
Parameters:
filename - the file name
scene - the scene where to create the TclActiveContour2D

TclActiveContour2D(const unsigned int nbLines, const unsigned int *nbVertices, Vec2 **array, const ContourLine::Topology *top, TclScene2D *scene)
Creates a TclActiveContour2D given a set of lines
Parameters:
nbLines - the number of lines that compose the active contour
nbVertices - the number of the vertices of each line. It is an array of size nbLines
array - the array of 2D vertices that are in each line. The first index of the array "lineIndex" is the index of the line (lineIndextop - the array describing the topology of each line (either closed or opened)
scene - the scene where to create the TclActiveContour2D

TclActiveContour2D(const TclActiveContour2D *_activeContour)
Builds a TclActiveContour2D given another TclActiveContour2D
Parameters:
_activeContour - a given interface to active contour 2D

Destructor

virtual ~TclActiveContour2D()
destructor of a 2D active contour interface

ActiveContour2D* getClient(void) const
set getClient() to return a ActiveContour2D instead of a Contour2D

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

int showClosestPointCmd(int argc, char **argv)
-showClosestPoint TCL command

int showRangeDistanceCmd(int argc, char **argv)
-showRangeDistance TCL command

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

int selectedEdgeColorCmd(int argc, char **argv)
-selectedEdgeColor TCL command

int selectedEdgeWidthCmd(int argc, char **argv)
-selectedEdgeWidth TCL command

int vertexParameterCmd(int argc, char **argv)
-vertexParameter TCL command

int displaySpacingCurvatureCmd(int argc, char **argv)
-displaySpacingCurvature TCL command

int displayCurvatureProfileCmd(int argc, char **argv)
-displayCurvatureProfile TCL command

int addContourCmd(int argc, char **argv)
-addContour TCL command

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

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

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

int setRestLengthCmd(int argc, char **argv)
-setRestLength TCL command

int mergeEdgesCmd(int argc, char **argv)
-mergeEdges TCL command

int cutEdgeCmd(int argc, char **argv)
-cutEdge TCL command

int closeLineCmd(int argc, char **argv)
-closeLine TCL command

int contourInternalForceCmd(int argc, char **argv)
-contourInternalForce TCL command

int vertexInternalForceCmd(int argc, char **argv)
-vertexInternalForce TCL command

int contourParameterCmd(int argc, char **argv)
-contourParameter TCL command

int boundaryConditionsCmd(int argc, char **argv)
-boundaryConditions TCL command

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

int removeVertexCmd(int argc, char **argv)
-removeVertex TCL command

int addVertexCmd(int argc, char **argv)
-addVertex TCL command

int distanceConstraintCmd(int argc, char **argv)
-distanceConstraint TCL command

int rectangleConstraintCmd(int argc, char **argv)
-rectangleConstraint TCL command

int spacingConstraintCmd(int argc, char **argv)
-spacingConstraint TCL command

int curvatureSpacingConstraintCmd(int argc, char **argv)
-curvatureSpacingConstraint TCL command

int attachmentConstraintCmd(int argc, char **argv)
-attachmentConstraint TCL command

int balloonConstraintCmd(int argc, char **argv)
-balloonConstraint TCL command

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

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

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

int edgeLengthCmd(int argc, char **argv)
-edgeLength TCL command

int listAvailableInternalForcesCmd(int argc, char** argv)
-listInternalForces TCL command

int timeSchemeCmd(int argc, char **argv)
-timeScheme TCL command

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

static void load(const TclString &filename, Scene2D *scn)
load function
Parameters:
filename - 2D active contour file name
scn - 2D scene to store the contour


Direct child classes:
TclSliceActiveContour2D

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