act2D%u

Option Description
act2D%u -addContour act2D%u copy a given 2D active contour into the current 2D contour
act2D%u -addVertex add a vertex between the selected edge
act2D%u -attachmentConstraint [%u | %u %f %f %f ] get or set the attachment constraint on an ActiveContour2D. If no parameter is provided then the number of existing attachment constraints is returned ("none" if no existing constraints). If a number n is provided then the information (vertex rank , x coordinate , y coordinate and stiffness value ) related to the nth attachment constraint is returned. The first parameter is the frequency of application of the constraint. The last parameter correspond to the grid size that is used for detecting intersecting edges
act2D%u -balloonConstraint [%f] get or set the balloon constraint on an ActiveContour2D. When no parameter is provided, then the forceRatio of the existing balloon force. If the force ratio is provided then if one balloon constraint exists then the force ratio is changed. Otherwise, create a new balloon constraint with the corresponding force ratio
act2D%u -boundaryCondition position|tangent|1rstDerivative|2ndDerivative first|last [%f %f] get / set the boundary condition of the selected line;
act2D%u -closeLine Set the current Line topology as closed
act2D%u -contourParameter [alpha | beta | damping | locality | rigidity | maximumRigidity | externalForceRange] [%u|%f] get/set the active vertex parameterfor all contour vertex
act2D%u -createLine [ open | closed ] create a new line with a given topology
act2D%u -curvatureSpacingConstraint [%u %f ] get or set the properties of a curvature spacing contour constraint on an ActiveContour2D. The first parameter corresponds to the frequency at which the constraint is applied. The second parameter should be between 0 and 1 and correspond to the extent at which the constraint is applied.
act2D%u -cutEdge Label the current edge as empty which transform a closed contour into an opened contour
act2D%u -destroy destroy a contour 2D
act2D%u -displayCurvatureProfile display in a graph curvature vs arc length for all vertices of a contour line
act2D%u -displaySpacingCurvature display in a graph edge length vs edge curvature for all edges of a contour line
act2D%u -distanceConstraint [%u %f %f] get or set a distance contour constraint on an ActiveContour2D. The first parameter is the frequency of application of the constraint. The last two float parameters correspond to the minimum and maximum distance between vertices
act2D%u -edgeLength [min|mean|median] get the mean, median or minimum edge length of a contour
act2D%u -forceConstraint [%u] get the number of force Constraint. If a rank number n is provided then the name of the nth force constraint is returned. If the "delete" keyword is added this force constraint is deleted
act2D%u -getNbLines returns the number of lines of a 2D contour
act2D%u -getNbVertices returns the number of vertices of a 2D contour
act2D%u -getVertex %u %u return the vertex position given the line index and the vertex index in that line
act2D%u -internalForce ["Laplacian Smoothing" | "Spring-Mass" | "Simplex C0" | "Simplex C2" | "Simplex G2" | "Thin Rod Smoothing"] | "Length Minimization" get/set the internal force on all contour vertices, use -listAvailableInternalForces to list all available forces
act2D%u -kind returns the name of the object kind associated with a given object
act2D%u -lineColor [%f %f %f] get/set the line color
act2D%u -lineWidth [%f] get/set the width of a line for display
act2D%u -listAvailableInternalForces list all available internal forces
act2D%u -loadOption [moduleName=%s] [true|false] when no parameters is provided, returns the list of modules. If one module name is provided then returns a boolean indicating if the module should be read. If 2 parameters are provided then set the selection mode of a module for reading
act2D%u -mergeEdges merge two edges of a Active Contour 2D which entails topology changes
act2D%u -metricParameters [set | reset] with the "set" option then set the current metric parameters as the reference metric parameters. with the "reset" option then set the metric parameters to 0.5
act2D%u -motionMode cam%u [line|contour|camera] set the motion mode of a 2D contour
act2D%u -positionConstraint [%u] [delete] without any parameters get the number of force Constraint. If a rank number n is provided then the name of the nth force constraint is returned. If the "delete" keyword is added this position constraint is deleted
act2D%u -rangeInformation [rinfo%u] get / set the range information for all vertices of a contour
act2D%u -rangeInformationSet [rinfos%u] get / set the set of range information for all vertices of a contour
act2D%u -rectangleConstraint [%u %f %f] get or set a rectangle contour constraint on an ActiveContour2D. With this contraint, all parts of the contour outside a rectangle are removed. The first parameter is the frequency of application of the constraint. The next two parameters are the coordinates of the first corner. The last two float parameters re the coordinates of the second rectangle corner
act2D%u -removeLine removes the selected line if it is not the only line left in the contour
act2D%u -removeVertex remove the selected vertex
act2D%u -rotate %f rotate a 2D contour around its center given a rotation vector
act2D%u -save [%s] get the current filename or save the 2D contour with the provided filename
act2D%u -saveAsMaple %s save a contour as a Maple File
act2D%u -saveOption [moduleName=%s] [true|false] when no parameters is provided, returns the list of modules. If one module name is provided then returns a boolean indicating if the module should be saved or not. If 2 parameters are provided then set the selection mode of a module for writing
act2D%u -scale %f scale a 2D contour around its center
act2D%u -scene return the scene where is the contour
act2D%u -selectLine [ %u ] Without parameters, returns the rank of the selected line. Otherwise select the line given its rank
act2D%u -selectVertex [ %u ] Without parameters, returns the rank of the selected vertex. Otherwise select the vertex given its rank
act2D%u -selectedEdgeColor [%f %f %f] get/set the line color of the selected edge
act2D%u -selectedEdgeWidth [%f] get/set the line width of the selected edge
act2D%u -selectedLineColor [%f %f %f] get/set the selected line color
act2D%u -selectedVertexColor [ %f %f %f ] get/set the selected vertex color
act2D%u -selectionMode [object | vertex | line | edge | grab] [cam2D%u|slicecam%u] get / set the selection mode corresponding to the left mouse action
act2D%u -setRestLength set the current edge length as the rest edge length for spring-mass systems
act2D%u -showClosestPoint [%b] get/set the boolean whether to display closest points
act2D%u -showRangeDistance [%b] get/set the boolean whether to display the force range
act2D%u -spacingConstraint [frequency %u] [length %f %f|ratio %f %f] get or set the spacing contour constraint on an ActiveContour2D. The frequency parameter is the constraint application frequency. The min and max length values are absolute mininmum and maximum edge length. The min and max ratio are the minimum and maximum edge length defined as fractions of the mean edge length.
act2D%u -timeScheme [semiImplicit | explicit] without any parameters returns the scheme used for the integration of the partial differential equation : either explicit or semi-implicit. With one parameter set that scheme
act2D%u -topologyConstraint [%u %f %u %b] get or set the topology constraint on an ActiveContour2D. The first parameter is the frequency of application of the constraint. The second parameter correspond to the grid size that is used for detecting intersecting edges. The third parameter is the minimum number of vertices required to create a new component. The last parameter is a boolean indicating if two different components should be fused
act2D%u -translate %f %f translate the 2D contour
act2D%u -vertexColor [ %f %f %f ] get/set the vertex color
act2D%u -vertexMode [hide | show] get/set the vertex display mode
act2D%u -vertexParameter [alpha | beta | damping | locality | rigidity | maximumRigidity | externalForceRange | position | normal | rangeInformation] [%u|%f] get/set the active vertex parameterof the selected vertex
act2D%u -vertexSize [%f] get/set the size of a vertex for display