Cortex  10.0.0-a4
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
IECoreMaya::Box3Manipulator Class Reference

#include <Box3Manipulator.h>

+ Inheritance diagram for IECoreMaya::Box3Manipulator:

Public Member Functions

virtual MStatus createChildren ()
 
virtual MStatus connectToDependNode (const MObject &node)
 
virtual void draw (M3dView &view, const MDagPath &path, M3dView::DisplayStyle style, M3dView::DisplayStatus status)
 
MManipData vectorPlugToManipConversion (unsigned int manipIndex)
 
MManipData vectorManipToPlugConversion (unsigned int plugIndex)
 
MManipData updateCenteredManipPosition (unsigned int manipIndex)
 
- Public Member Functions inherited from IECoreMaya::ParameterManipContainer
void setPlug (MPlug &plug)
 
MPlug getPlug ()
 
void setLabel (MString &label)
 
MString getLabel ()
 

Static Public Member Functions

static void * creator ()
 
static MStatus initialize ()
 

Static Public Attributes

static MTypeId id
 
static const MString typeName
 

Additional Inherited Members

- Protected Attributes inherited from IECoreMaya::ParameterManipContainer
MPlug m_plug
 
MString m_label
 

Detailed Description

This class provides a manipulator for Box3f and Box3d Parameters. It displays a minimum and maximum triad manipulator, with a switch disable value 'validation. When off, the box is allowed to have its minimum corner valued be greater than its maximum corner values. Otherwise, the box corners are constrained to valid ranges.

Behavior can be further customised by adding the StringData member "box3ManipSpace" to the "UI" CompoundObject in there Parameters userData(). If this member exists, valid values are "world" and "object". When using object space, on-screen controls are transformed along with the node.

This manipulator also supports the "manipLabel" member in userData()["UI"], and draws this label underneath the constraint switch.

See also
ParameterManipContainer

Curently the node is only tested/registered for Box3f Parameter types.


The documentation for this class was generated from the following file: