Free Electron
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
fe::ext::HoudiniSOP Class Reference

Houdini SOP node. More...

#include <HoudiniSOP.h>

Inheritance diagram for fe::ext::HoudiniSOP:
Inheritance graph
[legend]

Public Member Functions

 HoudiniSOP (OP_Network *pNetwork, const char *name, OP_Operator *pOp)
 
virtual void dirty (BWORD a_aggressive) override
 
virtual void select (void) override
 
virtual BWORD chronicle (String a_change, sp< Counted > a_spOldCounted, sp< Counted > a_spNewCounted) override
 
virtual BWORD interrupted (void) override
 
BWORD cookInputs (void)
 
void brush (GU_Detail *pGdp, WindowEvent &a_rEvent, SpatialVector &a_rRayOrigin, SpatialVector &a_rRayDirection)
 
void clearErrors (void)
 
void relayErrors (void)
 
const String prompt (void)
 
const String idleEvents (void)
 
const String brushVisible (void)
 
const String brushCook (void)
 
- Public Member Functions inherited from fe::ext::MetaPlugin
void setupScope (sp< Scope > a_spScope)
 
void setupBrush (sp< Scope > a_spScope)
 
void insertHandler (sp< HandlerI > a_spHandlerI)
 
void removeHandler (sp< HandlerI > a_spHandlerI)
 
sp< DrawIdrawBrush (void)
 
sp< DrawIdrawBrushOverlay (void)
 
sp< DrawIdrawGuideChain (void)
 
sp< DrawIdrawGuideCached (void)
 
sp< OperatorSurfaceIoperatorSurface (void)
 
U32 inputCount (void)
 
sp< Componentinput (U32 a_index)
 
sp< Componentoutput (void)
 

Static Public Member Functions

static int discoverOperators (OP_OperatorTable *pTable)
 
static OP_Node * create (OP_Network *pNetwork, const char *name, OP_Operator *pOp)
 
static int reloadCallback (void *pData, int index, float time, const PRM_Template *pTemplate)
 
static String classOfImplementation (String a_implementation)
 

Protected Member Functions

virtual void getDescriptiveName (UT_String &a_rString) const override
 
virtual OP_ERROR bypassMe (OP_Context &context, int &copied_input) override
 
virtual void opChanged (OP_EventType reason, void *data) override
 
virtual bool load (UT_IStream &a_rStreamIn, const char *a_extension, const char *a_path) override
 
virtual OP_ERROR save (std::ostream &a_rStreamOut, const OP_SaveFlags &a_rFlags, const char *a_pathPrefix, const UT_String &a_name_override) override
 
virtual OP_ERROR cookMySop (OP_Context &a_rContext) override
 
virtual OP_ERROR cookMyGuide1 (OP_Context &a_rContext) override
 
virtual unsigned int disableParms (void) override
 
virtual bool evalParamBoolean (String a_key, Real a_time)
 
virtual I32 evalParamInteger (String a_key, Real a_time)
 
virtual String evalParamString (String a_key, Real a_time)
 
- Protected Member Functions inherited from fe::ext::MetaPlugin
BWORD evalParamCondition (String a_conditions, Real a_time)
 
void clearReferences (void)
 

Private Member Functions

void createOperator (String a_operatorName, Real a_time)
 
void updateCatalog (Real time, BWORD a_doInput, BWORD a_force=FALSE)
 
void resignalBrush (void)
 

Static Private Member Functions

static int buttonCallback (void *a_pNode, int a_index, fpreal32 a_time, const PRM_Template *a_pPrmTemplate)
 

Private Attributes

HoudiniContext m_houdiniContext
 
String m_brushName
 
String m_loadedState
 
double m_frame
 
BWORD m_cooking
 
BWORD m_inputsLocked
 
BWORD m_guideEmpty
 
BWORD m_temporaryTemplate
 
OP_Operator * m_pOpOperator
 
OP_Context * m_pOpContext
 
UT_AutoInterrupt * m_pInterrupt
 

Additional Inherited Members

- Protected Attributes inherited from fe::ext::MetaPlugin
sp< OperatorSurfaceIm_spOperatorSurfaceI
 
sp< SignalerIm_spSignalerI
 
sp< Layout > m_spCookLayout
 
sp< Layout > m_spBrushLayout
 
sp< DrawIm_spDrawOutput
 
sp< DrawIm_spDrawGuideChain
 
sp< DrawIm_spDrawGuideCached
 
sp< DrawIm_spDrawBrush
 
sp< DrawIm_spDrawBrushOverlay
 
Record m_cookSignal
 
Record m_brushSignal
 
Accessor< Real > m_aFrame
 
Accessor< Real > m_aStartFrame
 
Accessor< Real > m_aEndFrame
 
Accessor< Real > m_aTime
 
Accessor< sp< Component > > m_aSurfaceOutput
 
Accessor< sp< Component > > m_aDrawOutput
 
Accessor< sp< Component > > m_aDrawGuide
 
Accessor< sp< Component > > m_aDrawBrush
 
Accessor< sp< Component > > m_aDrawBrushOverlay
 
Accessor< Recordm_aWindowEvent
 
Accessor< SpatialTransformm_aCameraTransform
 
Accessor< SpatialVectorm_aRayOrigin
 
Accessor< SpatialVectorm_aRayDirection
 
Array< sp< Component > > m_surfaceInputArray
 
sp< Componentm_spSurfaceOutput
 
String m_nameOutput
 
String m_lastName
 
Real m_lastTime
 

Detailed Description

Houdini SOP node.

Member Function Documentation

◆ brush()

void fe::ext::HoudiniSOP::brush ( GU_Detail *  pGdp,
WindowEvent a_rEvent,
SpatialVector a_rRayOrigin,
SpatialVector a_rRayDirection 
)

◆ create()

OP_Node * fe::ext::HoudiniSOP::create ( OP_Network *  pNetwork,
const char *  name,
OP_Operator *  pOp 
)
static

◆ reloadCallback()

int fe::ext::HoudiniSOP::reloadCallback ( void *  pData,
int  index,
float  time,
const PRM_Template *  pTemplate 
)
static

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