SOP_CaptureOverride Class Reference

#include <SOP_CaptureOverride.h>

Inheritance diagram for SOP_CaptureOverride:

SOP_Node OP_Network OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner

List of all members.

Public Member Functions

 SOP_CaptureOverride (OP_Network *net, const char *name, OP_Operator *entry)
virtual ~SOP_CaptureOverride ()
const UT_StringgetUndoLabel () const
virtual unsigned disableParms ()
void beginNewOperation ()
virtual OP_ERROR cookInputGroups (OP_Context &context, int alone)
OP_ERROR updateInputGroups (OP_Context &context, bool changed_input, bool changed_group)
void updateCookSelection (bool changed_input, bool changed_group)
bool hasWeightOverride (int point_num) const
void startNewChange (const int *points, int num_points, int clamp_negative, int normalize=0)
void changeWeight (fpreal64 t, const char *cregion, float weight, int add_weight)
void changeWeight (fpreal64 t, const UT_PtrArray< const char * > &cregions, float weight, int add_weight)
void normalizeWeights (float t, const UT_PtrArray< const char * > &cregions)
void createCaptureWeightOverride (const int *points, int num_points, float t)
void removeCaptureWeightOverride (const int *points, int num_points, float t)
int addAverageCaptureWeight (OP_Context &context, const UT_IntArray &points, UT_HashTable &averages)
virtual void setVisualization (int onoff)

Static Public Member Functions

static OP_NodeourConstructor (OP_Network *, const char *, OP_Operator *)

Static Public Attributes

static PRM_Template ourTemplateList []

Protected Member Functions

void applyPermanentOverrides (OP_Context *ctx=0)
virtual OP_ERROR cookMySop (OP_Context &context)
virtual void applyAndClearCurrentDelta ()
virtual void clearAllDeltas (float t)
virtual void buildOpDependencies ()
virtual void buildParmDependency (int parm_index)
virtual void handleOpDependency (int referenced_op_id, const OP_Dependency &op_dep, OP_InterestType interest_type, bool &need_cook, const char *old_fullpath, const char *old_cwd, const char *old_chan_name)
virtual OP_ERROR save (ostream &os, const OP_SaveFlags &flags, const char *path_prefix)
virtual bool load (UT_IStream &is, const char *extension, const char *path=0)

Friends

class SOP_UndoCaptureOverride
class SOP_UndoCaptureOverrideOpDepend


Detailed Description

Definition at line 45 of file SOP_CaptureOverride.h.


Constructor & Destructor Documentation

SOP_CaptureOverride::SOP_CaptureOverride ( OP_Network net,
const char *  name,
OP_Operator entry 
)

virtual SOP_CaptureOverride::~SOP_CaptureOverride (  )  [virtual]


Member Function Documentation

int SOP_CaptureOverride::addAverageCaptureWeight ( OP_Context context,
const UT_IntArray points,
UT_HashTable averages 
)

virtual void SOP_CaptureOverride::applyAndClearCurrentDelta (  )  [protected, virtual]

void SOP_CaptureOverride::applyPermanentOverrides ( OP_Context ctx = 0  )  [protected]

void SOP_CaptureOverride::beginNewOperation (  ) 

virtual void SOP_CaptureOverride::buildOpDependencies (  )  [protected, virtual]

Reimplemented from OP_Network.

virtual void SOP_CaptureOverride::buildParmDependency ( int  parm_index  )  [protected, virtual]

Reimplemented from OP_Node.

void SOP_CaptureOverride::changeWeight ( fpreal64  t,
const UT_PtrArray< const char * > &  cregions,
float  weight,
int  add_weight 
)

void SOP_CaptureOverride::changeWeight ( fpreal64  t,
const char *  cregion,
float  weight,
int  add_weight 
)

virtual void SOP_CaptureOverride::clearAllDeltas ( float  t  )  [protected, virtual]

virtual OP_ERROR SOP_CaptureOverride::cookInputGroups ( OP_Context context,
int  alone 
) [virtual]

Reimplemented from OP_Node.

virtual OP_ERROR SOP_CaptureOverride::cookMySop ( OP_Context context  )  [protected, virtual]

Implements SOP_Node.

void SOP_CaptureOverride::createCaptureWeightOverride ( const int *  points,
int  num_points,
float  t 
)

virtual unsigned SOP_CaptureOverride::disableParms (  )  [virtual]

Reimplemented from OP_Parameters.

const UT_String& SOP_CaptureOverride::getUndoLabel (  )  const [inline]

Definition at line 54 of file SOP_CaptureOverride.h.

virtual void SOP_CaptureOverride::handleOpDependency ( int  referenced_op_id,
const OP_Dependency op_dep,
OP_InterestType  interest_type,
bool &  need_cook,
const char *  old_fullpath,
const char *  old_cwd,
const char *  old_chan_name 
) [protected, virtual]

Reimplemented from OP_Node.

bool SOP_CaptureOverride::hasWeightOverride ( int  point_num  )  const

virtual bool SOP_CaptureOverride::load ( UT_IStream is,
const char *  extension,
const char *  path = 0 
) [protected, virtual]

Reimplemented from SOP_Node.

void SOP_CaptureOverride::normalizeWeights ( float  t,
const UT_PtrArray< const char * > &  cregions 
)

static OP_Node* SOP_CaptureOverride::ourConstructor ( OP_Network ,
const char *  ,
OP_Operator  
) [static]

void SOP_CaptureOverride::removeCaptureWeightOverride ( const int *  points,
int  num_points,
float  t 
)

virtual OP_ERROR SOP_CaptureOverride::save ( ostream &  os,
const OP_SaveFlags flags,
const char *  path_prefix 
) [protected, virtual]

Reimplemented from SOP_Node.

virtual void SOP_CaptureOverride::setVisualization ( int  onoff  )  [virtual]

Reimplemented from SOP_Node.

void SOP_CaptureOverride::startNewChange ( const int *  points,
int  num_points,
int  clamp_negative,
int  normalize = 0 
)

void SOP_CaptureOverride::updateCookSelection ( bool  changed_input,
bool  changed_group 
)

OP_ERROR SOP_CaptureOverride::updateInputGroups ( OP_Context context,
bool  changed_input,
bool  changed_group 
)


Friends And Related Function Documentation

friend class SOP_UndoCaptureOverride [friend]

Definition at line 47 of file SOP_CaptureOverride.h.

friend class SOP_UndoCaptureOverrideOpDepend [friend]

Definition at line 48 of file SOP_CaptureOverride.h.


Member Data Documentation

Definition at line 57 of file SOP_CaptureOverride.h.


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

Generated on Mon Jan 28 00:30:01 2013 for HDK by  doxygen 1.5.9