OBJ_Blend Class Reference

#include <OBJ_Blend.h>

Inheritance diagram for OBJ_Blend:

OBJ_Geometry OBJ_Node OP_Network OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner

List of all members.

Public Types

enum  { BLEND_BLEND = 0, BLEND_SEQUENCE = 1, BLEND_CONSTRAIN = 2 }

Public Member Functions

 OBJ_Blend (OP_Network *net, const char *name, OP_Operator *op)
virtual ~OBJ_Blend ()
virtual unsigned disableParms ()
virtual const char * inputLabel (unsigned idx) const
virtual OBJ_OBJECT_TYPE getObjectType () const
virtual OBJ_BlendcastToOBJBlend ()
virtual void resolveObsoleteParms (PRM_ParmList *obsolete_parms)
int BLENDTYPE ()
void setBLENDTYPE (int parent_type)
const char * getSequenceName ()
int getSequenceIndex ()
float SEQUENCE (float t)
void setSEQUENCE (float t, float seq)
void keySEQUENCE (float t)
void keySEQUENCE (float t, const char *expr, CH_ExprLanguage language)
float BLENDW (int i, float t)
void setIGNORESCALES (int ignore)

Static Public Member Functions

static OP_NodemyConstructor (OP_Network *net, const char *name, OP_Operator *entry)
static PRM_TemplategetObsolete ()
static PRM_TemplategetTemplateList ()

Protected Member Functions

virtual int * getIndirect () const
virtual int isObjectRenderable () const
virtual int applyInputDependentTransform (OP_Context &context, UT_DMatrix4 &mat)


Detailed Description

Definition at line 62 of file OBJ_Blend.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
BLEND_BLEND 
BLEND_SEQUENCE 
BLEND_CONSTRAIN 

Definition at line 86 of file OBJ_Blend.h.


Constructor & Destructor Documentation

OBJ_Blend::OBJ_Blend ( OP_Network net,
const char *  name,
OP_Operator op 
)

virtual OBJ_Blend::~OBJ_Blend (  )  [virtual]


Member Function Documentation

virtual int OBJ_Blend::applyInputDependentTransform ( OP_Context context,
UT_DMatrix4 mat 
) [protected, virtual]

Computes and pre-multiplies an input dependent matrix to the given current matrix. This transform is defined as semantically dependent on the object's inputs. The OBJ_Blend object overrides this to do special processing. Also, the OBJ_Bone object overrides this to move its origin to the tip of the parent bone. By default, this method does not modify the given matrix, which is equivalent to identity matrix.

Parameters:
context The cook context, which contains the time.
mat Input and output parameter, that gets premuliplied by
Returns:
Returns 1 if the matrix was modified, 0 otherwise

Reimplemented from OBJ_Node.

int OBJ_Blend::BLENDTYPE (  )  [inline]

Definition at line 92 of file OBJ_Blend.h.

float OBJ_Blend::BLENDW ( int  i,
float  t 
) [inline]

Definition at line 112 of file OBJ_Blend.h.

virtual OBJ_Blend* OBJ_Blend::castToOBJBlend (  )  [inline, virtual]

Reimplemented from OBJ_Node.

Definition at line 82 of file OBJ_Blend.h.

virtual unsigned OBJ_Blend::disableParms (  )  [virtual]

Reimplemented from OBJ_Geometry.

virtual int* OBJ_Blend::getIndirect (  )  const [inline, protected, virtual]

Reimplemented from OBJ_Geometry.

Definition at line 135 of file OBJ_Blend.h.

virtual OBJ_OBJECT_TYPE OBJ_Blend::getObjectType (  )  const [virtual]

Reimplemented from OBJ_Geometry.

static PRM_Template* OBJ_Blend::getObsolete (  )  [static]

Reimplemented from OBJ_Geometry.

int OBJ_Blend::getSequenceIndex (  )  [inline]

Definition at line 100 of file OBJ_Blend.h.

const char* OBJ_Blend::getSequenceName (  )  [inline]

Definition at line 98 of file OBJ_Blend.h.

static PRM_Template* OBJ_Blend::getTemplateList (  )  [static]

virtual const char* OBJ_Blend::inputLabel ( unsigned  idx  )  const [virtual]

Reimplemented from OBJ_Node.

virtual int OBJ_Blend::isObjectRenderable (  )  const [protected, virtual]

Reimplemented from OBJ_Node.

void OBJ_Blend::keySEQUENCE ( float  t,
const char *  expr,
CH_ExprLanguage  language 
)

void OBJ_Blend::keySEQUENCE ( float  t  ) 

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

Reimplemented from OBJ_Geometry.

virtual void OBJ_Blend::resolveObsoleteParms ( PRM_ParmList obsolete_parms  )  [virtual]

Reimplemented from OBJ_Geometry.

float OBJ_Blend::SEQUENCE ( float  t  )  [inline]

Definition at line 103 of file OBJ_Blend.h.

void OBJ_Blend::setBLENDTYPE ( int  parent_type  )  [inline]

Definition at line 94 of file OBJ_Blend.h.

void OBJ_Blend::setIGNORESCALES ( int  ignore  )  [inline]

Definition at line 128 of file OBJ_Blend.h.

void OBJ_Blend::setSEQUENCE ( float  t,
float  seq 
) [inline]

Definition at line 105 of file OBJ_Blend.h.


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

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