#include <MFnCircleSweepManip.h>


The CircleSweepManip allows the user to manipulate a point constrained to move around a circle, in order to specify a sweep angle. This manipulator generates a single floating point value corresponding to the sweep angle.
Public Member Functions | |
| virtual MFn::Type | type () const |
| Function set type. | |
| virtual | ~MFnCircleSweepManip () |
| Destructor. | |
| MFnCircleSweepManip () | |
| Default constructor. | |
| MFnCircleSweepManip (MObject &object, MStatus *ReturnStatus=NULL) | |
| Constructor. | |
| MFnCircleSweepManip (const MDagPath &object, MStatus *ret=NULL) | |
| Constructor. | |
| MObject | create (MStatus *ReturnStatus=NULL) |
| MObject | create (const MString &manipName, const MString &angleName, MStatus *ReturnStatus=NULL) |
| MStatus | connectToAnglePlug (MPlug &anglePlug) |
| MStatus | setCenterPoint (const MPoint ¢erPoint) |
| MStatus | setStartPoint (const MPoint &startPoint) |
| MStatus | setEndPoint (const MPoint &endPoint) |
| MStatus | setNormal (const MVector &normal) |
| MStatus | setRadius (double radius) |
| MStatus | setAngle (MAngle angle) |
| MStatus | setDrawAsArc (bool state) |
| MPoint | startPoint (MStatus *ReturnStatus=NULL) const |
| MPoint | endPoint (MStatus *ReturnStatus=NULL) const |
| unsigned int | centerIndex (MStatus *ReturnStatus=NULL) const |
| unsigned int | axisIndex (MStatus *ReturnStatus=NULL) const |
| unsigned int | angleIndex (MStatus *ReturnStatus=NULL) const |
| unsigned int | startCircleIndex (MStatus *ReturnStatus=NULL) const |
| unsigned int | endCircleIndex (MStatus *ReturnStatus=NULL) const |
| MFnCircleSweepManip (const MObject &object, MStatus *ret=NULL) | |
| Constructor. | |
Protected Member Functions | |
| virtual const char * | className () const |
| Class name. | |
| MFnCircleSweepManip::~MFnCircleSweepManip | ( | ) | [virtual] |
Destructor.
Class destructor.
Constructor.
Class constructor that initializes the function set to the given MObject.
| [in] | object | The MObject to attach the function set to |
| [out] | ReturnStatus | the return status |
Constructor.
Class constructor that initializes the function set to the given constant MDagPath object.
| [in] | object | The const MDagPath to attach the function set to |
| [out] | ReturnStatus | The return status |
Constructor.
Class constructor that initializes the function set to the given MObject.
| [in] | object | The MObject to attach the function set to |
| [out] | ReturnStatus | the return status |
| MFn::Type MFnCircleSweepManip::type | ( | ) | const [virtual] |
| const char * MFnCircleSweepManip::className | ( | ) | const [protected, virtual] |
Creates a new CircleSweepManip. This function set's object is set to be the new manipulator.
This method should only be used to create a non-composite CircleSweepManip.
The name that appears in the feedback line is "circleSweep"
| [out] | ReturnStatus | return status |
| MObject MFnCircleSweepManip::create | ( | const MString & | manipName, | |
| const MString & | angleName, | |||
| MStatus * | ReturnStatus = NULL | |||
| ) |
Creates a new CircleSweepManip. This function set's object is set to be the new manipulator.
This method should only be used to create a non-composite CircleSweepManip.
The name that appears in the feedback line is specified by the angleName argument.
| [in] | angleName | the name that appears in the feedback line |
| [out] | ReturnStatus | return status |
Reimplemented from MFnDependencyNode.
Connect to the angle plug. The data type corresponding to the anglePlug is a double. (Note that MFnUnitAttribute::kAngle is used to specify an angle attribute.)
| [in] | anglePlug | the angle plug |
Sets the center point of the CircleSweepManip.
| [in] | centerPoint | the center point of the CircleSweepManip |
Sets the start point of the CircleSweepManip.
| [in] | startPoint | the start point of the CircleSweepManip |
Sets the end point of the CircleSweepManip.
| [in] | endPoint | the end point of the CircleSweepManip |
Sets the normal of the CircleSweepManip.
| [in] | normal | the normal of the CircleSweepManip |
| MStatus MFnCircleSweepManip::setRadius | ( | double | radius | ) |
Sets the radius of the CircleSweepManip.
| [in] | radius | the radius of the CircleSweepManip |
Sets the angle of the CircleSweepManip.
| [in] | angle | the angle of the CircleSweepManip |
| MStatus MFnCircleSweepManip::setDrawAsArc | ( | bool | state | ) |
Sets whether or not to draw as arc.
| [in] | state | whether or not to draw as arc |
Returns the start point.
| [out] | ReturnStatus | return status |
Returns the end point.
| [out] | ReturnStatus | return status |
| unsigned int MFnCircleSweepManip::centerIndex | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the index for the center of the CircleSweepManip. The data type corresponding to this index is MFnNumericData::k3Double.
| [out] | ReturnStatus | return status |
| unsigned int MFnCircleSweepManip::axisIndex | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the index for the axis of CircleSweepManip. The data type corresponding to this index is MFnNumericData::k3Double.
| [out] | ReturnStatus | return status |
| unsigned int MFnCircleSweepManip::angleIndex | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the index for the angle of CircleSweepManip. The data type corresponding to this index is a double.
| [out] | ReturnStatus | return status |
| unsigned int MFnCircleSweepManip::startCircleIndex | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the index for the start of the circle of CircleSweepManip. The data type corresponding to this index is a double.
| [out] | ReturnStatus | return status |
| unsigned int MFnCircleSweepManip::endCircleIndex | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the index for the end of the circle of CircleSweepManip. The data type corresponding to this index is a double.
| [out] | ReturnStatus | return status |
| Autodesk® Maya® 2010 © 1997-2009 Autodesk, Inc. All rights reserved. |
Generated with
|