HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CHOP_Node.h File Reference
#include "CHOP_API.h"
#include "CHOP_Error.h"
#include "CHOP_Notes.h"
#include "CHOP_Types.h"
#include "PRM_ChopShared.h"
#include <OP/OP_InputChangeHelper.h>
#include <OP/OP_Network.h>
#include <OP/OP_Node.h>
#include <OP/OP_OperatorPair.h>
#include <PRM/PRM_Parm.h>
#include <CL/CL_Clip.h>
#include <CL/CL_Defines.h>
#include <UT/UT_Array.h>
#include <UT/UT_ExpandArray.h>
#include <UT/UT_NTStreamUtil.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_ValArray.h>
+ Include dependency graph for CHOP_Node.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CHOP_Node
 

Macros

#define CHOP_AUDIO_FLAG   'a'
 
#define CHOP_EXPORT_FLAG   'o'
 
#define CHOP_PARM_COUNT   (8)
 
#define CHOP_TAB   "Common"
 
#define NONE_TOKEN   "none"
 
#define CHOP_OUT_CFUNC   "_updateCParam"
 
#define CHOP_OUT_IFUNC   "_updateIParam"
 
#define CHOP_OUT_CPARAM   "params.cUpdate"
 
#define CHOP_OUT_IPARAM   "params.iUpdate"
 
#define CHOP_SWITCHER(cnt, nm)
 
#define CHOP_SWITCHER2(cnt1, nm1, cnt2, nm2)
 
#define CHOP_SWITCHER3(cnt1, nm1, cnt2, nm2, cnt3, nm3)
 
#define CHOP_SWITCHER4(cnt1, nm1, cnt2, nm2, cnt3, nm3, cnt4, nm4)
 
#define CHOP_SWITCHER5(cnt1, nm1, cnt2, nm2, cnt3, nm3, cnt4, nm4, cnt5, nm5)
 
#define CHOP_SWITCHER6(cnt1, nm1, cnt2, nm2, cnt3, nm3, cnt4, nm4, cnt5, nm5, cnt6, nm6)
 
#define ARG_CHOP_SCOPE   (myParmCommonBase + 0)
 
#define ARG_CHOP_MATCH   (myParmCommonBase + 1)
 
#define ARG_CHOP_UNITS   (myParmCommonBase + 2)
 
#define ARG_CHOP_REALTIME   (myParmCommonBase + 3)
 
#define ARG_CHOP_UNLOAD   (myParmCommonBase + 4)
 
#define ARG_CHOP_EXPORT_PATH   (myParmCommonBase + 5)
 
#define ARG_CHOP_DCOLOR   (myParmCommonBase + 6)
 
#define ARG_CHOP_COLSTEP   (myParmCommonBase + 7)
 

Typedefs

typedef void(* CHOP_ReplaceCallback )(void *data, int replace)
 
typedef void(* CHOP_ConflictCallback )(void *data, void *ldata, CHOP_ReplaceCallback func, const char *source, const char *dest)
 
typedef OP_TransformCallback CHOP_TransformCallback
 

Enumerations

enum  CHOP_SampleMatch { FIRST_RATE = 0, SAMPLE_MAX_RATE, SAMPLE_MIN_RATE, ERROR_IF_DIFF }
 

Functions

SYS_VISIBILITY_EXPORT void newChopOperator (OP_OperatorTable *table)
 

Macro Definition Documentation

#define ARG_CHOP_COLSTEP   (myParmCommonBase + 7)

Definition at line 144 of file CHOP_Node.h.

#define ARG_CHOP_DCOLOR   (myParmCommonBase + 6)

Definition at line 143 of file CHOP_Node.h.

#define ARG_CHOP_EXPORT_PATH   (myParmCommonBase + 5)

Definition at line 142 of file CHOP_Node.h.

#define ARG_CHOP_MATCH   (myParmCommonBase + 1)

Definition at line 138 of file CHOP_Node.h.

#define ARG_CHOP_REALTIME   (myParmCommonBase + 3)

Definition at line 140 of file CHOP_Node.h.

#define ARG_CHOP_SCOPE   (myParmCommonBase + 0)

Definition at line 137 of file CHOP_Node.h.

#define ARG_CHOP_UNITS   (myParmCommonBase + 2)

Definition at line 139 of file CHOP_Node.h.

#define ARG_CHOP_UNLOAD   (myParmCommonBase + 4)

Definition at line 141 of file CHOP_Node.h.

#define CHOP_AUDIO_FLAG   'a'

Definition at line 37 of file CHOP_Node.h.

#define CHOP_EXPORT_FLAG   'o'

Definition at line 38 of file CHOP_Node.h.

#define CHOP_OUT_CFUNC   "_updateCParam"

Definition at line 68 of file CHOP_Node.h.

#define CHOP_OUT_CPARAM   "params.cUpdate"

Definition at line 71 of file CHOP_Node.h.

#define CHOP_OUT_IFUNC   "_updateIParam"

Definition at line 69 of file CHOP_Node.h.

#define CHOP_OUT_IPARAM   "params.iUpdate"

Definition at line 72 of file CHOP_Node.h.

#define CHOP_PARM_COUNT   (8)

Definition at line 64 of file CHOP_Node.h.

#define CHOP_SWITCHER (   cnt,
  nm 
)
Value:
static PRM_Default switcher[2] = \
{ \
PRM_Default(cnt, nm), \
PRM_Default(CHOP_PARM_COUNT, CHOP_TAB), \
}
#define CHOP_TAB
Definition: CHOP_Node.h:65
#define CHOP_PARM_COUNT
Definition: CHOP_Node.h:64
Examples:
CHOP/CHOP_Blend.C, and CHOP/CHOP_Spring.C.

Definition at line 75 of file CHOP_Node.h.

#define CHOP_SWITCHER2 (   cnt1,
  nm1,
  cnt2,
  nm2 
)
Value:
static PRM_Default switcher[3] = \
{ \
PRM_Default(cnt1, nm1), \
PRM_Default(cnt2, nm2), \
PRM_Default(CHOP_PARM_COUNT, CHOP_TAB), \
}
#define CHOP_TAB
Definition: CHOP_Node.h:65
#define CHOP_PARM_COUNT
Definition: CHOP_Node.h:64

Definition at line 82 of file CHOP_Node.h.

#define CHOP_SWITCHER3 (   cnt1,
  nm1,
  cnt2,
  nm2,
  cnt3,
  nm3 
)
Value:
static PRM_Default switcher[4] = \
{ \
PRM_Default(cnt1, nm1), \
PRM_Default(cnt2, nm2), \
PRM_Default(cnt3, nm3), \
PRM_Default(CHOP_PARM_COUNT, CHOP_TAB), \
}
#define CHOP_TAB
Definition: CHOP_Node.h:65
#define CHOP_PARM_COUNT
Definition: CHOP_Node.h:64

Definition at line 90 of file CHOP_Node.h.

#define CHOP_SWITCHER4 (   cnt1,
  nm1,
  cnt2,
  nm2,
  cnt3,
  nm3,
  cnt4,
  nm4 
)
Value:
static PRM_Default switcher[5] = \
{ \
PRM_Default(cnt1, nm1), \
PRM_Default(cnt2, nm2), \
PRM_Default(cnt3, nm3), \
PRM_Default(cnt4, nm4), \
PRM_Default(CHOP_PARM_COUNT, CHOP_TAB), \
}
#define CHOP_TAB
Definition: CHOP_Node.h:65
#define CHOP_PARM_COUNT
Definition: CHOP_Node.h:64

Definition at line 99 of file CHOP_Node.h.

#define CHOP_SWITCHER5 (   cnt1,
  nm1,
  cnt2,
  nm2,
  cnt3,
  nm3,
  cnt4,
  nm4,
  cnt5,
  nm5 
)
Value:
static PRM_Default switcher[6] = \
{ \
PRM_Default(cnt1, nm1), \
PRM_Default(cnt2, nm2), \
PRM_Default(cnt3, nm3), \
PRM_Default(cnt4, nm4), \
PRM_Default(cnt5, nm5), \
PRM_Default(CHOP_PARM_COUNT, CHOP_TAB), \
}
#define CHOP_TAB
Definition: CHOP_Node.h:65
#define CHOP_PARM_COUNT
Definition: CHOP_Node.h:64

Definition at line 109 of file CHOP_Node.h.

#define CHOP_SWITCHER6 (   cnt1,
  nm1,
  cnt2,
  nm2,
  cnt3,
  nm3,
  cnt4,
  nm4,
  cnt5,
  nm5,
  cnt6,
  nm6 
)
Value:
static PRM_Default switcher[7] = \
{ \
PRM_Default(cnt1, nm1), \
PRM_Default(cnt2, nm2), \
PRM_Default(cnt3, nm3), \
PRM_Default(cnt4, nm4), \
PRM_Default(cnt5, nm5), \
PRM_Default(cnt6, nm6), \
PRM_Default(CHOP_PARM_COUNT, CHOP_TAB), \
}
#define CHOP_TAB
Definition: CHOP_Node.h:65
#define CHOP_PARM_COUNT
Definition: CHOP_Node.h:64

Definition at line 120 of file CHOP_Node.h.

#define CHOP_TAB   "Common"

Definition at line 65 of file CHOP_Node.h.

#define NONE_TOKEN   "none"

Definition at line 66 of file CHOP_Node.h.

Typedef Documentation

typedef void(* CHOP_ConflictCallback)(void *data, void *ldata, CHOP_ReplaceCallback func, const char *source, const char *dest)

Definition at line 53 of file CHOP_Node.h.

typedef void(* CHOP_ReplaceCallback)(void *data, int replace)

Definition at line 51 of file CHOP_Node.h.

Definition at line 58 of file CHOP_Node.h.

Enumeration Type Documentation

Enumerator
FIRST_RATE 
SAMPLE_MAX_RATE 
SAMPLE_MIN_RATE 
ERROR_IF_DIFF 

Definition at line 132 of file CHOP_Node.h.

Function Documentation

SYS_VISIBILITY_EXPORT void newChopOperator ( OP_OperatorTable table)
Examples:
CHOP/CHOP_Blend.C, CHOP/CHOP_Spring.C, and CHOP/CHOP_Stair.C.

Definition at line 437 of file CHOP_Blend.C.