#include <iquadric_geo.h>
Public Member Functions | |
IQuadric () | |
Constructor, default. | |
virtual | ~IQuadric () |
Destructor. | |
virtual void | postConstructor () |
Post Constructor. | |
virtual MStatus | compute (const MPlug &, MDataBlock &) |
Compute callback (for DAG). | |
virtual bool | getInternalValue (const MPlug &p, MDataHandle &data_block) |
Get the value of an internal attribute (interface for GUI). | |
virtual bool | setInternalValue (const MPlug &p, MDataHandle &data_block) |
Set the value of an internal attribute (interface for GUI). | |
virtual bool | isBounded () const |
States if object has a queryable bound. | |
virtual MBoundingBox | boundingBox () const |
Returns an MBoundingBox object containing the bounding box for the quadric. | |
MStatus | updateValues (const MMatrix &transform) |
Updates the internal parameter values from the Maya UI attribute values. | |
void | updateGUIValues () |
Update values from GUI. | |
void | getParameter (MMatrix &matrix, double &max_distance, bool &is_limited) const |
Get the quadric parameter in Matrix form. | |
Static Public Member Functions | |
static void * | creator () |
Static construction interface. | |
static MStatus | initialize () |
Static initializer. | |
Static Public Attributes | |
static MTypeId | id |
Private Attributes | |
float | parameter [NumParameter] |
MMatrix | params_ws |
float | max_distance |
bool | is_limited |
Static Private Attributes | |
static const unsigned int | NumParameter = 10 |
static MObject | params_node [NumParameter] |
Variables, static. | |
static MFnNumericAttribute | params_gui [NumParameter] |
static MObject | max_dist_node |
static MFnNumericAttribute | max_dist_gui |
static MObject | is_limited_node |
static MFnEnumAttribute | is_limited_gui |
Friends | |
class | IQuadricUI |
|
Compute callback (for DAG).
|
|
Static construction interface.
|
|
Get the value of an internal attribute (interface for GUI).
|
|
Get the quadric parameter in Matrix form.
|
|
Set the value of an internal attribute (interface for GUI).
|
|
Update values from GUI.
|
|
Updates the internal parameter values from the Maya UI attribute values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Variables, static.
|
|
|