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

#include <ProceduralHolder.h>

+ Inheritance diagram for IECoreMaya::ProceduralHolder:

Public Member Functions

virtual void postConstructor ()
 
virtual bool isBounded () const
 
virtual MBoundingBox boundingBox () const
 
virtual MStatus setDependentsDirty (const MPlug &plug, MPlugArray &plugArray)
 
virtual MStatus compute (const MPlug &plug, MDataBlock &dataBlock)
 
virtual void componentToPlugs (MObject &component, MSelectionList &selectionList) const
 
virtual MatchResult matchComponent (const MSelectionList &item, const MAttributeSpecArray &spec, MSelectionList &list)
 
MStatus setProcedural (const std::string &className, int classVersion)
 Calls setParameterised( className, classVersion, "IECORE_PROCEDURAL_PATHS" ).
 
IECore::ParameterisedProceduralPtr getProcedural (std::string *className=0, int *classVersion=0)
 Returns runTimeCast<ParameterisedProcedural>( getProcedural( className, classVersion ) ).
 
IECoreGL::ConstScenePtr scene ()
 Returns an up to date scene from the procedural.
 
virtual MPxGeometryIterator * geometryIteratorSetup (MObjectArray &, MObject &, bool)
 
virtual void transformUsing (const MMatrix &mat, const MObjectArray &componentList, MPxSurfaceShape::MVertexCachingMode cachingMode, MPointArray *pointCache)
 
- Public Member Functions inherited from IECoreMaya::ParameterisedHolder< BaseType >
virtual MStatus shouldSave (const MPlug &plug, bool &isSaving)
 
virtual MStatus setParameterised (IECore::RunTimeTypedPtr p)
 
virtual MStatus setParameterised (const std::string &className, int classVersion, const std::string &searchPathEnvVar)
 
virtual MStatus updateParameterised ()
 
virtual IECore::RunTimeTypedPtr getParameterised (std::string *className=0, int *classVersion=0, std::string *searchPathEnvVar=0)
 
virtual MStatus setNodeValues ()
 
virtual MStatus setNodeValue (IECore::ParameterPtr pa)
 
virtual MStatus setParameterisedValues ()
 
virtual MStatus setParameterisedValue (IECore::ParameterPtr pa)
 
virtual MPlug parameterPlug (IECore::ConstParameterPtr parameter)
 
virtual IECore::ParameterPtr plugParameter (const MPlug &plug)
 
- Public Member Functions inherited from IECoreMaya::ParameterisedHolderInterface
IECore::ParameterisedInterfacegetParameterisedInterface ()
 Convenience method to return dynamic_cast<IECore::ParameterisedInterface *>( getParameterised().get() )
 
IECore::ParameterisedInterfacegetParameterisedInterface (std::string *className, int *classVersion=0, std::string *searchPathEnvVar=0)
 

Static Public Member Functions

static void * creator ()
 
static MStatus initialize ()
 
- Static Public Member Functions inherited from IECoreMaya::ParameterisedHolder< BaseType >
static void * creator ()
 
static MStatus initialize ()
 

Static Public Attributes

static MTypeId id
 
static MObject aGLPreview
 
static MObject aCulling
 
static MObject aTransparent
 
static MObject aDrawBound
 
static MObject aDrawCoordinateSystems
 
static MObject aProceduralComponents
 
static MObject aComponentQueries
 
static MObject aComponentTransform
 
static MObject aComponentTranslate
 
static MObject aComponentTranslateX
 
static MObject aComponentTranslateY
 
static MObject aComponentTranslateZ
 
static MObject aComponentRotate
 
static MObject aComponentRotateX
 
static MObject aComponentRotateY
 
static MObject aComponentRotateZ
 
static MObject aComponentScale
 
static MObject aComponentScaleX
 
static MObject aComponentScaleY
 
static MObject aComponentScaleZ
 
static MObject aComponentBound
 
static MObject aComponentBoundMin
 
static MObject aComponentBoundMinX
 
static MObject aComponentBoundMinY
 
static MObject aComponentBoundMinZ
 
static MObject aComponentBoundMax
 
static MObject aComponentBoundMaxX
 
static MObject aComponentBoundMaxY
 
static MObject aComponentBoundMaxZ
 
static MObject aComponentBoundCenter
 
static MObject aComponentBoundCenterX
 
static MObject aComponentBoundCenterY
 
static MObject aComponentBoundCenterZ
 
- Static Public Attributes inherited from IECoreMaya::ParameterisedHolder< BaseType >
static MTypeId id
 
static MString typeName
 
static MObject aParameterisedClassName
 
static MObject aParameterisedVersion
 
static MObject aParameterisedSearchPathEnvVar
 

Friends

class ProceduralHolderUI
 
class ProceduralHolderComponentBoundIterator
 

Additional Inherited Members

- Protected Member Functions inherited from IECoreMaya::ParameterisedHolder< BaseType >
MStatus setParameterisedValues (bool lazy)
 
MStatus createOrUpdateAttribute (IECore::ParameterPtr parameter, const MString &attributeName, bool callRestore=false)
 Creates an attribute to represent the specified parameter, or updates an existing attribute.
 
- Protected Attributes inherited from IECoreMaya::ParameterisedHolder< BaseType >
IECore::RunTimeTypedPtr m_parameterised
 
bool m_failedToLoad
 
- Static Protected Attributes inherited from IECoreMaya::ParameterisedHolder< BaseType >
static const std::string g_attributeNamePrefix
 

Detailed Description

The ProceduralHolder class represents implementation of the IECore::Renderer::Procedural class, presenting the procedural parameters as maya attributes. It also draws a bounding box for the procedural in the scene.

Member Function Documentation

virtual MPxGeometryIterator* IECoreMaya::ProceduralHolder::geometryIteratorSetup ( MObjectArray &  ,
MObject &  ,
bool   
)
virtual

This method is overridden to supply a geometry iterator, which maya uses to work out the bounding boxes of the components you've selected in the viewport

virtual void IECoreMaya::ProceduralHolder::transformUsing ( const MMatrix &  mat,
const MObjectArray &  componentList,
MPxSurfaceShape::MVertexCachingMode  cachingMode,
MPointArray *  pointCache 
)
virtual

This is a blank override, to stop maya offering you a rotation manipulator for the procedural components, then crashing when you try and use it (maya 2013)


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