sact2D%u -addContour act2D%u
| copy a given 2D active contour into the current 2D contour
|
sact2D%u -addVertex
| add a vertex between the selected edge
|
sact2D%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
|
sact2D%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
|
sact2D%u -boundaryCondition position|tangent|1rstDerivative|2ndDerivative first|last [%f %f]
| get / set the boundary condition of the selected line;
|
sact2D%u -closeLine
| Set the current Line topology as closed
|
sact2D%u -contourParameter [alpha | beta | damping | locality | rigidity | maximumRigidity | externalForceRange] [%u|%f]
| get/set the active vertex parameterfor all contour vertex
|
sact2D%u -createLine [ open | closed ] %u
| create a new line with a given topology and a given slice number
|
sact2D%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.
|
sact2D%u -cutEdge
| Label the current edge as empty which transform a closed contour into an opened contour
|
sact2D%u -destroy
| destroy a contour 2D
|
sact2D%u -displayCurvatureProfile
| display in a graph curvature vs arc length for all vertices of a contour line
|
sact2D%u -displaySpacingCurvature
| display in a graph edge length vs edge curvature for all edges of a contour line
|
sact2D%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
|
sact2D%u -duplicateLine [%d]
| create a new contour line as a copy of the selected line contour with a given slice number
|
sact2D%u -edgeLength [min|mean|median]
| get the mean, median or minimum edge length of a contour
|
sact2D%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
|
sact2D%u -getNbLines
| returns the number of lines of a 2D contour
|
sact2D%u -getNbVertices
| returns the number of vertices of a 2D contour
|
sact2D%u -getVertex %u %u
| return the vertex position given the line index and the vertex index in that line
|
sact2D%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
|
sact2D%u -kind
| returns the name of the object kind associated with a given object
|
sact2D%u -lineColor [%f %f %f]
| get/set the line color
|
sact2D%u -lineWidth [%f]
| get/set the width of a line for display
|
sact2D%u -listAvailableInternalForces
| list all available internal forces
|
sact2D%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
|
sact2D%u -mergeEdges
| merge two edges of a Active Contour 2D which entails topology changes
|
sact2D%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
|
sact2D%u -motionMode cam%u [line|contour|camera]
| set the motion mode of a 2D contour
|
sact2D%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
|
sact2D%u -rangeInformation [rinfo%u]
| get / set the range information for all vertices of a contour
|
sact2D%u -rangeInformationSet [rinfos%u]
| get / set the set of range information for all vertices of a contour
|
sact2D%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
|
sact2D%u -removeLine
| removes the selected line if it is not the only line left in the contour
|
sact2D%u -removeVertex
| remove the selected vertex
|
sact2D%u -rotate %f
| rotate a 2D contour around its center given a rotation vector
|
sact2D%u -save [%s]
| get the current filename or save the 2D contour with the provided filename
|
sact2D%u -saveAsMaple %s
| save a contour as a Maple File
|
sact2D%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
|
sact2D%u -scale %f
| scale a 2D contour around its center
|
sact2D%u -scene
| return the scene where is the contour
|
sact2D%u -selectLine [ %u ]
| Without parameters, returns the rank of the selected line. Otherwise select the line given its rank
|
sact2D%u -selectVertex [ %u ]
| Without parameters, returns the rank of the selected vertex. Otherwise select the vertex given its rank
|
sact2D%u -selectedEdgeColor [%f %f %f]
| get/set the line color of the selected edge
|
sact2D%u -selectedEdgeWidth [%f]
| get/set the line width of the selected edge
|
sact2D%u -selectedLineColor [%f %f %f]
| get/set the selected line color
|
sact2D%u -selectedVertexColor [ %f %f %f ]
| get/set the selected vertex color
|
sact2D%u -selectionMode [object | vertex | line | edge | grab] [cam2D%u|slicecam%u]
| get / set the selection mode corresponding to the left mouse action
|
sact2D%u -setRestLength
| set the current edge length as the rest edge length for spring-mass systems
|
sact2D%u -showClosestPoint [%b]
| get/set the boolean whether to display closest points
|
sact2D%u -showRangeDistance [%b]
| get/set the boolean whether to display the force range
|
sact2D%u -sliceGeometry [X|Y|Z|alpha]
| get/set the slice geometry attached to the active contour
|
sact2D%u -sliceNumber [%d]
| get/set the slice number attached to the active contour
|
sact2D%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.
|
sact2D%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
|
sact2D%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
|
sact2D%u -translate %f %f
| translate the 2D contour
|
sact2D%u -vertexColor [ %f %f %f ]
| get/set the vertex color
|
sact2D%u -vertexMode [hide | show]
| get/set the vertex display mode
|
sact2D%u -vertexParameter [alpha | beta | damping | locality | rigidity | maximumRigidity | externalForceRange | position | normal | rangeInformation] [%u|%f]
| get/set the active vertex parameterof the selected vertex
|
sact2D%u -vertexSize [%f]
| get/set the size of a vertex for display
|