HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SHOP_OperatorInfo Class Reference

#include <SHOP_OperatorInfo.h>

+ Inheritance diagram for SHOP_OperatorInfo:

Public Member Functions

 SHOP_OperatorInfo (int autoadd=SHOP_AUTOADD_ANY, const char *rmask="*", SHOP_TYPE type=SHOP_INVALID)
 
virtual ~SHOP_OperatorInfo ()
 
const char * getRenderMask () const
 
SHOP_TYPE getShaderType () const
 
bool isRenderMaskRSL () const
 
void setShaderType (SHOP_TYPE t)
 
void setRenderMask (const char *t)
 
virtual void saveToDialogScript (std::ostream &os) const
 
virtual void updateExtraInfoBuffer (OP_ExtraInfoBuffer &b) const
 
void setNumOutputs (int n)
 
int getNumOutputs () const
 
VEX_ContextType getVexContextType () const
 
RSL_ContextType getRslContextType () const
 
VOP_LanguageContextTypeListnewLanguageContextTypeList () const
 
bool skipInputEditor () const
 
void setSkipInputEditor (bool v)
 
void setIsMultiContextMaterial (bool flag)
 
bool getIsMultiContextMaterial () const
 
void setHasInputsForCoshaderParms (bool flag)
 Has node input connectors corresponding to co-shader parameters. More...
 
bool hasInputsForCoshaderParms () const
 Has node input connectors corresponding to co-shader parameters. More...
 
- Public Member Functions inherited from OP_SpecificData
 OP_SpecificData ()
 
virtual ~OP_SpecificData ()
 

Detailed Description

Examples:
SHOP/SHOP_Multi.C, and SHOP/SHOP_POVMaterial.C.

Definition at line 33 of file SHOP_OperatorInfo.h.

Constructor & Destructor Documentation

SHOP_OperatorInfo::SHOP_OperatorInfo ( int  autoadd = SHOP_AUTOADD_ANY,
const char *  rmask = "*",
SHOP_TYPE  type = SHOP_INVALID 
)
virtual SHOP_OperatorInfo::~SHOP_OperatorInfo ( )
virtual

Member Function Documentation

bool SHOP_OperatorInfo::getIsMultiContextMaterial ( ) const
inline

Flag that indicates whether the operator is a vopnet shop material containing many shading contexts (eg, surface, displacement, etc).

Definition at line 74 of file SHOP_OperatorInfo.h.

int SHOP_OperatorInfo::getNumOutputs ( ) const
inline

Definition at line 52 of file SHOP_OperatorInfo.h.

const char* SHOP_OperatorInfo::getRenderMask ( ) const
inline

Definition at line 41 of file SHOP_OperatorInfo.h.

RSL_ContextType SHOP_OperatorInfo::getRslContextType ( ) const
SHOP_TYPE SHOP_OperatorInfo::getShaderType ( ) const
inline

Definition at line 42 of file SHOP_OperatorInfo.h.

VEX_ContextType SHOP_OperatorInfo::getVexContextType ( ) const
bool SHOP_OperatorInfo::hasInputsForCoshaderParms ( ) const
inline

Has node input connectors corresponding to co-shader parameters.

Definition at line 81 of file SHOP_OperatorInfo.h.

bool SHOP_OperatorInfo::isRenderMaskRSL ( ) const
VOP_LanguageContextTypeList* SHOP_OperatorInfo::newLanguageContextTypeList ( ) const

Obtains context types applicable for the shop. For single-context shaders, the list will contain a single entry. For multi-context shaders the list will contain several entries. If error, the list will be empty. Creates a new instance, thus it is caller's responsibility to delete it.

virtual void SHOP_OperatorInfo::saveToDialogScript ( std::ostream &  os) const
virtual

Implements OP_SpecificData.

void SHOP_OperatorInfo::setHasInputsForCoshaderParms ( bool  flag)
inline

Has node input connectors corresponding to co-shader parameters.

Definition at line 79 of file SHOP_OperatorInfo.h.

void SHOP_OperatorInfo::setIsMultiContextMaterial ( bool  flag)
inline

Flag that indicates whether the operator is a vopnet shop material containing many shading contexts (eg, surface, displacement, etc).

Definition at line 72 of file SHOP_OperatorInfo.h.

void SHOP_OperatorInfo::setNumOutputs ( int  n)
inline

Definition at line 51 of file SHOP_OperatorInfo.h.

void SHOP_OperatorInfo::setRenderMask ( const char *  t)
void SHOP_OperatorInfo::setShaderType ( SHOP_TYPE  t)
void SHOP_OperatorInfo::setSkipInputEditor ( bool  v)
inline

Definition at line 66 of file SHOP_OperatorInfo.h.

bool SHOP_OperatorInfo::skipInputEditor ( ) const
inline

Definition at line 64 of file SHOP_OperatorInfo.h.

virtual void SHOP_OperatorInfo::updateExtraInfoBuffer ( OP_ExtraInfoBuffer b) const
virtual

Reimplemented from OP_SpecificData.


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