#include <SOP_OpHolder.h>
|
static OP_Node * | create (OP_Network *net, const char *name, OP_Operator *op) |
|
static void | buildClassCategoryMenu (void *data, PRM_Name *menu, int maxSize, const PRM_SpareData *, const PRM_Parm *) |
|
static void | buildClassNameMenu (void *data, PRM_Name *menu, int maxSize, const PRM_SpareData *, const PRM_Parm *) |
|
static void | buildVersionMenu (void *data, PRM_Name *menu, int maxSize, const PRM_SpareData *, const PRM_Parm *) |
|
static int | reloadClassCallback (void *data, int index, float time, const PRM_Template *tplate) |
|
static int | reloadButtonCallback (void *data, int index, float time, const PRM_Template *tplate) |
|
static void | classNames (const std::string searchPathEnvVar, const std::string &matchString, std::vector< std::string > &names) |
|
static void | classVersions (const std::string className, const std::string searchPathEnvVar, std::vector< int > &versions) |
|
static int | defaultClassVersion (const std::string className, const std::string searchPathEnvVar) |
|
|
| SOP_OpHolder (OP_Network *net, const char *name, OP_Operator *op) |
|
virtual OP_ERROR | cookMySop (OP_Context &context) |
|
virtual void | setInputParameterValue (IECore::Parameter *parameter, const GU_DetailHandle &handle, unsigned inputIndex) |
|
virtual void | doOperation (IECore::Op *op, const GU_DetailHandle &handle, const std::string &name) |
|
virtual void | doPassThrough (const GU_DetailHandle &handle, const std::string &name) |
| Pass-through the primary input shapes that do not match the nameFilter.
|
|
virtual void | setInputParameterValues (float now) |
|
GU_DetailHandle | filteredInputValue (const IECore::Parameter *parameter, unsigned inputIndex) |
|
bool | getNameFilter (const IECore::Parameter *parameter, UT_StringMMPattern &filter) |
| Used to find and evaluate the nameFilter, if it is enabled.
|
|
virtual void | refreshInputConnections () |
| Updates the input connections for parameters relevant to FromHoudiniGeometryConverters.
|
|
virtual bool | load (UT_IStream &is, const char *ext, const char *path) |
|
virtual IECore::MessageHandler * | getMessageHandler () |
|
virtual void | setMessageHandler (IECore::MessageHandler *handler) |
|
void | updateParameter (IECore::ParameterPtr parm, float now, std::string prefix="", bool top_level=false) |
|
|
| SOP_ParameterisedHolder (OP_Network *net, const char *name, OP_Operator *op) |
|
virtual void | getNodeSpecificInfoText (OP_Context &context, OP_NodeInfoParms &parms) |
|
| ParameterisedHolder (OP_Network *net, const char *name, OP_Operator *op) |
|
virtual const char * | inputLabel (unsigned pos) const |
|
virtual unsigned | minInputs () const |
|
virtual unsigned | maxInputs () const |
|
virtual void | setParameterised (IECore::RunTimeTypedPtr p) |
|
virtual void | setParameterised (const std::string &className, int classVersion, const std::string &searchPathEnvVar) |
|
virtual bool | hasParameterised () |
| Returns whether or not this node is holding a valid parameterised object.
|
|
virtual IECore::RunTimeTypedPtr | getParameterised () |
| Returns the parameterised object held by this node.
|
|
virtual bool | setNodeValues () |
|
virtual void | setParameterisedValues (double time) |
| Sets the values of the parameters of the held Parameterised object to reflect the values.
|
|
IECore::ParameterisedInterface * | getParameterisedInterface () |
| Convenience method to return dynamic_cast<IECore::ParameterisedInterface *>( getParameterised().get() )
|
|
static PRM_Template | parameters [] |
|
static CH_LocalVariable | variables [] |
|
static PRM_Name | pParameterisedClassCategory |
|
static PRM_Name | pParameterisedClassName |
|
static PRM_Name | pParameterisedVersion |
|
static PRM_Name | pParameterisedSearchPathEnvVar |
|
static PRM_Name | pMatchString |
|
static PRM_Name | pReloadButton |
|
static PRM_Name | pEvaluateParameters |
|
static PRM_Name | pSwitcher |
|
static PRM_Default | matchStringDefault |
|
static PRM_Default | switcherDefaults [] |
|
static PRM_ChoiceList | classCategoryMenu |
|
static PRM_ChoiceList | classNameMenu |
|
static PRM_ChoiceList | classVersionMenu |
|
IECore::CompoundParameter::ParameterVector | m_inputParameters |
|
bool | m_dirty |
| Determines if the node is dirty.
|
|
SOP class for representing an IECore::Op in Houdini. The held op will operate multiple times over its primary input, splitting by name. Each operation adds a single GU_CortexPrimitive to the output geometry. The held op will operate on any named shaped in the primary input which matches the nameFilter. Non-matching shapes will be passed through without modification. The other inputs will be treated as they normally would by SOP_ParameterisedHolder.
virtual void IECoreHoudini::SOP_OpHolder::doOperation |
( |
IECore::Op * |
op, |
|
|
const GU_DetailHandle & |
handle, |
|
|
const std::string & |
name |
|
) |
| |
|
protectedvirtual |
Run the op once all parameters have been set. This may be called several times when using a nameFilter on the primary input.
virtual void IECoreHoudini::SOP_OpHolder::setInputParameterValue |
( |
IECore::Parameter * |
parameter, |
|
|
const GU_DetailHandle & |
handle, |
|
|
unsigned |
inputIndex |
|
) |
| |
|
protectedvirtual |
Overridden for the primary input since that value is used during cook to control the number of operations. Falls back to default implementation for all other inputs.
Reimplemented from IECoreHoudini::SOP_ParameterisedHolder.
The documentation for this class was generated from the following file: