smc%u

Option Description
smc%u -addContour act3D%u copy a given 3D active contour into the current 3D contour
smc%u -addVertex add a vertex between the selected edge
smc%u -attachmentConstraint [%u | %u %f %f %f %f ] get or set the attachment constraint on an ActiveContour3D. 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
smc%u -balloonConstraint [%f] get or set the balloon constraint on an ActiveContour3D. 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
smc%u -boundaryCondition position|tangent|1rstDerivative|2ndDerivative first|last [%f %f] get / set the boundary condition of the selected line;
smc%u -closeLine Set the current Line topology as closed
smc%u -contourParameter [alpha | beta | damping | locality | rigidity | maximumRigidity | externalForceRange] [%u|%f] get/set the active vertex parameterfor all contour vertex
smc%u -cut cut a 2-simplex mesh along that contour
smc%u -cutEdge Label the current edge as empty which transform a closed contour into an opened contour
smc%u -destroy destroy a contour 3D
smc%u -distanceConstraint [%u %f %f] get or set a distance contour constraint on an ActiveContour3D. 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
smc%u -edgeLength [min|mean|median] get the mean, median or minimum edge length of a contour
smc%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
smc%u -getNbLines return the number of lines of a 3D contour
smc%u -getNbVertices returns the number of vertices of a 3D contour
smc%u -getVertex %u %u return the vertex position given the line index and the vertex index in that line
smc%u -internalForce ["Laplacian Smoothing" | "Spring-Mass System" | "C0 Smoothing"] get/set the internal force on all contour vertices, use -listAvailableInternalForces to list all available forces
smc%u -kind returns the name of the object kind associated with a given object
smc%u -lineColor [%f %f %f] get/set the line color
smc%u -lineWidth [%f] get/set the width of a line for display
smc%u -listAvailableInternalForces list all available internal forces
smc%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
smc%u -mergeEdges merge two edges of a Active Contour 3D which entails topology changes
smc%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
smc%u -positionConstraint [%u] [delete] without any parameters get the number of position Constraint. If a rank number n is provided then the name of the nth position constraint is returned. If the "delete" keyword is added this position constraint is deleted
smc%u -rangeInformation [rinfo%u] get / set the range information for all vertices of a contour
smc%u -rangeInformationSet [rinfos%u] get / set the set of range information for all vertices of a contour
smc%u -removeLine removes the selected line if it is not the only line left in the contour
smc%u -removeVertex remove the selected vertex
smc%u -rotate %f %f %f rotate a 3D contour around its center given a rotation vector
smc%u -save [%s] get the current filename or save the 3D contour with the provided filename
smc%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
smc%u -scale %f scale a 3D contour around its center
smc%u -scene return the scene where is the contour
smc%u -selectVertex [ %u ] Without parameters, returns the rank of the selected vertex. Otherwise select the vertex given its rank
smc%u -selectedEdgeColor [%f %f %f] get/set the line color of the selected edge
smc%u -selectedEdgeWidth [%f] get/set the line width of the selected edge
smc%u -selectedLineColor [%f %f %f] get/set the selected line color
smc%u -selectedVertexColor [ %f %f %f ] get/set the selected vertex color
smc%u -selectedVertexInfo return some basic information (position) about the selected vertex
smc%u -selectionMode [object | vertex | line | edge | grab] [cam3D%u] get / set the selection mode corresponding to the left mouse action
smc%u -setRestLength set the current edge length as the rest edge length for spring-mass systems
smc%u -showClosestPoint [%b] get/set the boolean whether to display closest points
smc%u -showRangeDistance [%b] get/set the boolean whether to display the force range
smc%u -spacingConstraint [frequency %u] [length %f %f|ratio %f %f] get or set the spacing contour constraint on an ActiveContour3D. 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.
smc%u -surfaceConstraint [angle|tangent] [%f] without any parameters get the contour surface constraint currently existing. Otherwise set a new contour surface constraint either simplex angle constraint or tangent constraint.
smc%u -translate %f %f %f translate the 3D contour
smc%u -vertexColor [ %f %f %f ] get/set the vertex color
smc%u -vertexMode [hide | show] get/set the vertex display mode
smc%u -vertexParameter [alpha | beta | damping | locality | rigidity | maximumRigidity | externalForceRange | position | normal ] [%u|%f] get/set the active vertex parameterof the selected vertex
smc%u -vertexSize [%f] get/set the size of a vertex for display