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

#include <CHOP_ChannelLayers.h>

Public Types

typedef UT_Array< std::pair
< PRM_Parm *, int > > 
ParmAndSizeArray
 

Static Public Member Functions

static int getActiveLayer (PRM_Parm *weight_inst_parm)
 
static void setActiveLayer (PRM_Parm *weight_inst_parm, int layer_index)
 
static PRM_ParmgetLayerMulti (PRM_Parm *weight_inst_parm)
 
static PRM_ParmgetLayerMulti (OP_Node *node)
 
static int getLayerCount (PRM_Parm *weight_inst_parm)
 
static int getLayerIndexByName (OP_Node *node, const UT_String &name)
 
static int getLayerIndex (PRM_Parm *weight_inst_parm)
 
static void getLayerName (PRM_Parm *weight_inst_parm, UT_String &name)
 
static void setLayerName (PRM_Parm *weight_inst_parm, const UT_String &name)
 
static PRM_ParmgetLayerParm (OP_Node *node, const UT_StringHolder &parm_name, int layer_index)
 
static PRM_ParmgetLayerParm (PRM_Parm *weight_inst_parm, const UT_StringHolder &parm_name)
 
static PRM_ParmgetLayerParm (PRM_Parm *weight_inst_parm, const UT_StringHolder &parm_name, int &layer_index)
 
static void getLayerParms (UT_Array< PRM_Parm * > &ret, PRM_Parm *weight_inst_parm, const UT_StringArray &parm_names)
 
static void getLayerParms (UT_Array< PRM_Parm * > &ret, PRM_Parm *weight_inst_parm, const UT_StringArray &parm_names, int &layer_index)
 
static OP_NodegetLayerChannelCHOP (PRM_Parm *weight_inst_parm)
 
static void getLayerChannelCHOPs (OP_Node *node, OP_NodeList &chan_chops)
 
static void saveLayerParmForUndo (OP_Node *node, const UT_StringHolder &name, int index=0)
 
static void saveParmForUndo (PRM_Parm *parm)
 
static void mergeDownLayer (PRM_Parm *weight_inst_parm)
 
static void getLayerChannelCHOPParms (PRM_Parm *weight_index_parm, ParmAndSizeArray &out)
 
static void combineChannels (PRM_Parm *src_parm, PRM_Parm *dst_parm, PRM_Parm *src_w, PRM_Parm *dst_w, int index)
 
static void scopeLayerChannels (CH_ScopedChannels &fsc, PRM_Parm *weight_inst_parm, fpreal t, bool on_off)
 
static bool createLayerMixerCHOP (const UT_String &full_name, const CH_ScopedChannels &fsc, CHOP_CreateChannelChopCallback *cb)
 
static void addLayerChannels (OP_Node *node, int active_layer, CH_ScopedChannels &fsc)
 
static void removeLayerChannels (OP_Node *node, int active_layer, CH_ScopedChannels &fsc)
 
static OP_NodeaddLayer (OP_Node *node, CH_ScopedChannels &fsc, const UT_StringHolder &layer_name)
 
static bool removeLayer (OP_Node *node, PRM_Parm *parm, bool merge_down)
 
static bool removeLayer (OP_Node *node, const UT_StringHolder &layer_name, bool merge_down)
 

Detailed Description

Definition at line 23 of file CHOP_ChannelLayers.h.

Member Typedef Documentation

Definition at line 82 of file CHOP_ChannelLayers.h.

Member Function Documentation

static OP_Node* CHOP_ChannelLayers::addLayer ( OP_Node node,
CH_ScopedChannels fsc,
const UT_StringHolder layer_name 
)
static
static void CHOP_ChannelLayers::addLayerChannels ( OP_Node node,
int  active_layer,
CH_ScopedChannels fsc 
)
static
static void CHOP_ChannelLayers::combineChannels ( PRM_Parm src_parm,
PRM_Parm dst_parm,
PRM_Parm src_w,
PRM_Parm dst_w,
int  index 
)
static
static bool CHOP_ChannelLayers::createLayerMixerCHOP ( const UT_String full_name,
const CH_ScopedChannels fsc,
CHOP_CreateChannelChopCallback cb 
)
static
static int CHOP_ChannelLayers::getActiveLayer ( PRM_Parm weight_inst_parm)
static
static OP_Node* CHOP_ChannelLayers::getLayerChannelCHOP ( PRM_Parm weight_inst_parm)
static
static void CHOP_ChannelLayers::getLayerChannelCHOPParms ( PRM_Parm weight_index_parm,
ParmAndSizeArray out 
)
static
static void CHOP_ChannelLayers::getLayerChannelCHOPs ( OP_Node node,
OP_NodeList chan_chops 
)
static
static int CHOP_ChannelLayers::getLayerCount ( PRM_Parm weight_inst_parm)
static
static int CHOP_ChannelLayers::getLayerIndex ( PRM_Parm weight_inst_parm)
static
static int CHOP_ChannelLayers::getLayerIndexByName ( OP_Node node,
const UT_String name 
)
static
static PRM_Parm* CHOP_ChannelLayers::getLayerMulti ( PRM_Parm weight_inst_parm)
static
static PRM_Parm* CHOP_ChannelLayers::getLayerMulti ( OP_Node node)
static
static void CHOP_ChannelLayers::getLayerName ( PRM_Parm weight_inst_parm,
UT_String name 
)
static
static PRM_Parm* CHOP_ChannelLayers::getLayerParm ( OP_Node node,
const UT_StringHolder parm_name,
int  layer_index 
)
static
static PRM_Parm* CHOP_ChannelLayers::getLayerParm ( PRM_Parm weight_inst_parm,
const UT_StringHolder parm_name 
)
static
static PRM_Parm* CHOP_ChannelLayers::getLayerParm ( PRM_Parm weight_inst_parm,
const UT_StringHolder parm_name,
int layer_index 
)
static
static void CHOP_ChannelLayers::getLayerParms ( UT_Array< PRM_Parm * > &  ret,
PRM_Parm weight_inst_parm,
const UT_StringArray parm_names 
)
static
static void CHOP_ChannelLayers::getLayerParms ( UT_Array< PRM_Parm * > &  ret,
PRM_Parm weight_inst_parm,
const UT_StringArray parm_names,
int layer_index 
)
static
static void CHOP_ChannelLayers::mergeDownLayer ( PRM_Parm weight_inst_parm)
static
static bool CHOP_ChannelLayers::removeLayer ( OP_Node node,
PRM_Parm parm,
bool  merge_down 
)
static
static bool CHOP_ChannelLayers::removeLayer ( OP_Node node,
const UT_StringHolder layer_name,
bool  merge_down 
)
static
static void CHOP_ChannelLayers::removeLayerChannels ( OP_Node node,
int  active_layer,
CH_ScopedChannels fsc 
)
static
static void CHOP_ChannelLayers::saveLayerParmForUndo ( OP_Node node,
const UT_StringHolder name,
int  index = 0 
)
static
static void CHOP_ChannelLayers::saveParmForUndo ( PRM_Parm parm)
static
static void CHOP_ChannelLayers::scopeLayerChannels ( CH_ScopedChannels fsc,
PRM_Parm weight_inst_parm,
fpreal  t,
bool  on_off 
)
static
static void CHOP_ChannelLayers::setActiveLayer ( PRM_Parm weight_inst_parm,
int  layer_index 
)
static
static void CHOP_ChannelLayers::setLayerName ( PRM_Parm weight_inst_parm,
const UT_String name 
)
static

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