SHOP_Output Class Reference

#include <SHOP_Output.h>

Inheritance diagram for SHOP_Output:

SHOP_VariableInput SHOP_Node OP_Network OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner

List of all members.

Public Member Functions

 SHOP_Output (OP_Network *dad, const char *name, OP_Operator *entry, SHOP_TYPE shader_type=SHOP_MUTABLE)
virtual ~SHOP_Output ()
virtual SHOP_NodefindShader (SHOP_TYPE type, fpreal now, const UT_Options *options)
virtual int collectShaders (UT_PtrArray< SHOP_Node * > &list, SHOP_TYPE shop_type, fpreal now, const UT_Options *options)
virtual unsigned getNumVisibleInputs () const
virtual unsigned maxInputs () const
 Maximum inputs that can be connected to a node.
virtual void getInputName (UT_String &name, int idx) const
virtual SHOP_TYPE getInputType (int idx) const
virtual unsigned orderedInputs () const
virtual OP_ERROR setInput (unsigned idx, OP_Node *op, unsigned outputIdx=0)
 Sets a given input to connect to an output of a particular node.
virtual int getInputTileLOD () const
virtual bool isInputVisible (int idx) const
virtual unsigned getNumVisibleOutputs () const

Static Public Member Functions

static OP_NodemyConstructor (OP_Network *net, const char *name, OP_Operator *entry)
static int getMaterialOutputCount ()

Static Public Attributes

static const int theMaxInputSize
static PRM_Template myTemplateList []

Protected Member Functions

virtual void preOpChanged (OP_EventType Reason, void *data)


Detailed Description

Definition at line 28 of file SHOP_Output.h.


Constructor & Destructor Documentation

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

Definition at line 30 of file SHOP_Output.h.

virtual SHOP_Output::~SHOP_Output (  )  [virtual]


Member Function Documentation

virtual int SHOP_Output::collectShaders ( UT_PtrArray< SHOP_Node * > &  list,
SHOP_TYPE  shop_type,
fpreal  now,
const UT_Options options 
) [virtual]

Reimplemented from SHOP_Node.

virtual SHOP_Node* SHOP_Output::findShader ( SHOP_TYPE  type,
fpreal  now,
const UT_Options options 
) [virtual]

Reimplemented from SHOP_Node.

virtual void SHOP_Output::getInputName ( UT_String name,
int  idx 
) const [virtual]

Reimplemented from SHOP_Node.

virtual int SHOP_Output::getInputTileLOD (  )  const [virtual]

Reimplemented from SHOP_Node.

virtual SHOP_TYPE SHOP_Output::getInputType ( int  idx  )  const [virtual]

Reimplemented from SHOP_Node.

static int SHOP_Output::getMaterialOutputCount (  )  [static]

virtual unsigned SHOP_Output::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 SHOP_VariableInput.

virtual unsigned SHOP_Output::getNumVisibleOutputs (  )  const [virtual]

Number of output connections that should be visible on a node tile. Only used by VOPs and DOPs.

Reimplemented from OP_Node.

virtual bool SHOP_Output::isInputVisible ( int  idx  )  const [virtual]

Reimplemented from SHOP_Node.

virtual unsigned SHOP_Output::maxInputs (  )  const [virtual]

Maximum inputs that can be connected to a node.

Reimplemented from OP_Node.

static OP_Node* SHOP_Output::myConstructor ( OP_Network net,
const char *  name,
OP_Operator entry 
) [static]

virtual unsigned SHOP_Output::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 SHOP_VariableInput.

virtual void SHOP_Output::preOpChanged ( OP_EventType  Reason,
void *  data 
) [protected, virtual]

Reimplemented from SHOP_VariableInput.

virtual OP_ERROR SHOP_Output::setInput ( unsigned  idx,
OP_Node op,
unsigned  outputIdx = 0 
) [virtual]

Sets a given input to connect to an output of a particular node.

Reimplemented from OP_Node.


Member Data Documentation

Definition at line 43 of file SHOP_Output.h.

const int SHOP_Output::theMaxInputSize [static]

Definition at line 38 of file SHOP_Output.h.


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

Generated on Fri May 25 00:10:37 2012 for HDK by  doxygen 1.5.9