SHOP_VariableInput Class Reference

#include <SHOP_VariableInput.h>

Inheritance diagram for SHOP_VariableInput:

SHOP_Node OP_Network OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner SHOP_Output

List of all members.

Public Member Functions

 SHOP_VariableInput (OP_Network *dad, const char *name, OP_Operator *entry, SHOP_TYPE shader_type=SHOP_SURFACE)
virtual ~SHOP_VariableInput ()
virtual unsigned getNumVisibleInputs () const
virtual unsigned orderedInputs () const
virtual void opChanged (OP_EventType reason, void *data=0)
virtual void ensureParametersAreValid ()

Protected Member Functions

virtual void preOpChanged (OP_EventType, void *)

Protected Attributes

int myLatestOpChangedId

Static Protected Attributes

static SHOP_NodetheOriginalOpChanged
static int theLatestOpChangedId


Detailed Description

Definition at line 24 of file SHOP_VariableInput.h.


Constructor & Destructor Documentation

SHOP_VariableInput::SHOP_VariableInput ( OP_Network dad,
const char *  name,
OP_Operator entry,
SHOP_TYPE  shader_type = SHOP_SURFACE 
) [inline]

Definition at line 26 of file SHOP_VariableInput.h.

virtual SHOP_VariableInput::~SHOP_VariableInput (  )  [virtual]


Member Function Documentation

virtual void SHOP_VariableInput::ensureParametersAreValid (  )  [virtual]

virtual unsigned SHOP_VariableInput::getNumVisibleInputs (  )  const [virtual]

Number of input connectors that should be visible on a node. This is only used by VOPs and DOPs. All other OPs return maxInputs() here.

Reimplemented from OP_Node.

Reimplemented in SHOP_Output.

virtual void SHOP_VariableInput::opChanged ( OP_EventType  reason,
void *  data = 0 
) [virtual]

Reimplemented from OP_Node.

virtual unsigned SHOP_VariableInput::orderedInputs (  )  const [virtual]

Returns the number of ordered inputs on a node with unordered inputs. Even nodes with unordered inputs can have a few ordered inputs before the unordered inputs start. If hasUnorderedInputs returns false, this function is meaningless.

Reimplemented from OP_Node.

Reimplemented in SHOP_Output.

virtual void SHOP_VariableInput::preOpChanged ( OP_EventType  ,
void *   
) [inline, protected, virtual]

Reimplemented in SHOP_Output.

Definition at line 40 of file SHOP_VariableInput.h.


Member Data Documentation

Definition at line 42 of file SHOP_VariableInput.h.

Definition at line 44 of file SHOP_VariableInput.h.

Definition at line 43 of file SHOP_VariableInput.h.


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

Generated on Mon Jan 28 00:48:51 2013 for HDK by  doxygen 1.5.9