HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OBJ_Node.h File Reference
#include "OBJ_API.h"
#include "OBJ_Error.h"
#include "OBJ_NodeFlags.h"
#include "OBJ_XformCache.h"
#include <DEP/DEP_TimedMicroNode.h>
#include <GEO/GEO_PackedTypes.h>
#include <GU/GU_DetailHandle.h>
#include <OP/OP_DataMicroNode.h>
#include <OP/OP_Network.h>
#include <OP/OP_Node.h>
#include <OP/OP_TransformContextData.h>
#include <OP/OP_Version.h>
#include <SOP/SOP_ObjectAppearanceFwd.h>
#include <UT/UT_Map.h>
#include <UT/UT_Matrix4.h>
#include <UT/UT_Playback.h>
#include <UT/UT_SmallArray.h>
#include <UT/UT_ValArray.h>
#include <stddef.h>
+ Include dependency graph for OBJ_Node.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OBJ_Node
 
class  OBJ_Node::LocalCookScope
 
class  OBJ_AutoTransformDependencies
 

Macros

#define OBJ_MATERIAL_SPARE_TAG   "material_spare"
 
#define OBJ_SELECTABLE_FLAG   'S'
 
#define FLOAT_OBJ_PARM(name, idx, vi, t)   return evalFloat(name, &getIndirect()[idx], vi, t);
 
#define FLOAT_OBJ_PARMS(name, idx, v, t)   evalFloats(name, &getIndirect()[idx], v, t);
 
#define INT_OBJ_PARM(name, idx, vi, t)   return evalInt(name, &getIndirect()[idx], vi, t);
 
#define STR_OBJ_PARM(name, idx, vi, t)   evalString(str, name, &getIndirect()[idx], vi, t);
 
#define SET_FLOAT(name, parm_index, vector_index, t, val, add_key)   setChRefFloat(name, getIndirect()[parm_index], vector_index, t, val, add_key);
 
#define SET_INT(name, parm_index, vector_index, t, val)   setChRefInt(name,getIndirect()[parm_index], vector_index, t, val);
 
#define SET_STRING(val, meaning, parm_index, vector_index, t)   setChRefString(val, meaning, name, getIndirect()[parm_index], vector_index, t);
 

Enumerations

enum  OBJ_OBJECT_TYPE {
  OBJ_WORLD = 0x00001, OBJ_GEOMETRY = 0x00002, OBJ_CAMERA = 0x00004, OBJ_LIGHT = 0x00008,
  OBJ_RENDERER = 0x00010, OBJ_FOG = 0x00020, OBJ_BONE = 0x00040, OBJ_HANDLE = 0x00080,
  OBJ_BLEND = 0x00100, OBJ_FORCE = 0x00200, OBJ_CAMSWITCH = 0x00400, OBJ_SOUND = 0x00800,
  OBJ_MICROPHONE = 0x01000, OBJ_SUBNET = 0x02000, OBJ_FETCH = 0x04000, OBJ_NULL = 0x08000,
  OBJ_STICKY = 0x10000, OBJ_DOPNET = 0x20000, OBJ_RIVET = 0x40000, OBJ_MUSCLE = 0x80000,
  OBJ_STD_LIGHT = OBJ_CAMERA|OBJ_LIGHT, OBJ_STD_BONE = OBJ_BONE | OBJ_GEOMETRY, OBJ_STD_HANDLE = OBJ_GEOMETRY | OBJ_HANDLE, OBJ_STD_BLEND = OBJ_GEOMETRY | OBJ_BLEND,
  OBJ_STD_FETCH = OBJ_GEOMETRY | OBJ_FETCH, OBJ_STD_STICKY = OBJ_GEOMETRY | OBJ_NULL | OBJ_STICKY, OBJ_STD_RIVET = OBJ_GEOMETRY | OBJ_NULL | OBJ_RIVET, OBJ_STD_NULL = OBJ_GEOMETRY | OBJ_NULL,
  OBJ_STD_MUSCLE = OBJ_GEOMETRY | OBJ_MUSCLE, OBJ_STD_CAMSWITCH = OBJ_CAMERA | OBJ_CAMSWITCH, OBJ_ALL
}
 
enum  OBJ_MOTIONBLUR_TYPE { OBJ_MBLUR_NONE = 0, OBJ_MBLUR_XFORM = 1, OBJ_MBLUR_DEFORM = 2, OBJ_MBLUR_VELOCITY = 3 }
 
enum  OBJ_SHADER_LOCATION { OBJ_SHADER_NOWHERE, OBJ_SHADER_MATERIAL, OBJ_SHADER_SPARE, OBJ_SHADER_PROPERTY }
 
enum  OBJ_UIChangeType { OBJ_UICHANGE_DISPLAY_ORIGIN_FLAG = OP_UICHANGE_OPTYPE_OBJ, OBJ_UICHANGE_PICKING }
 
enum  OBJ_MatchTransform {
  OBJ_MatchTransform::T, OBJ_MatchTransform::R, OBJ_MatchTransform::S, OBJ_MatchTransform::P,
  OBJ_MatchTransform::All
}
 
enum  OBJ_BaseIndex {
  I_XORDER, I_RORDER, I_T, I_R,
  I_S, I_P, I_PIVOTR, I_SCALE,
  I_PRETRANSFORM, I_KEEPPOS, I_CHILDCOMP, I_CONSTRAINTS_ON,
  I_CONSTRAINTS, I_LOOKAT, I_LOOKUP, I_LOOKUPOBJ,
  I_PATHOBJ, I_PATHROLL, I_PATHPOS, I_PATHUPARMTYPE,
  I_PATHORIENT, I_PATHUP, I_PATHBANK, I_TDISPLAY,
  I_DISPLAY, I_USE_DCOLOR, I_DCOLOR, I_PICKING,
  I_PICKSCRIPT, I_CACHING, I_N_BASE_INDICES
}
 
enum  OBJ_VariableId { OBJ_VAR_IPT, OBJ_MAX_VARIABLES }
 
enum  OBJ_KeepPosType { OBJ_KEEPPOS_NEVER = 0, OBJ_KEEPPOS_ALWAYS, OBJ_KEEPPOS_SOMETIMES, OBJ_KEEPPOS_NUM_FLAGS }
 
enum  OBJ_ParmsStyle { OBJ_PARMS_PLAIN, OBJ_PARMS_SCRIPT, OBJ_PARMS_SCRIPT_CLEAN }
 

Functions

SYS_VISIBILITY_EXPORT void newObjectOperator (OP_OperatorTable *table)
 

Macro Definition Documentation

#define FLOAT_OBJ_PARM (   name,
  idx,
  vi,
  t 
)    return evalFloat(name, &getIndirect()[idx], vi, t);

Definition at line 216 of file OBJ_Node.h.

#define FLOAT_OBJ_PARMS (   name,
  idx,
  v,
  t 
)    evalFloats(name, &getIndirect()[idx], v, t);

Definition at line 218 of file OBJ_Node.h.

#define INT_OBJ_PARM (   name,
  idx,
  vi,
  t 
)    return evalInt(name, &getIndirect()[idx], vi, t);

Definition at line 220 of file OBJ_Node.h.

#define OBJ_MATERIAL_SPARE_TAG   "material_spare"

Definition at line 146 of file OBJ_Node.h.

#define OBJ_SELECTABLE_FLAG   'S'

Definition at line 214 of file OBJ_Node.h.

#define SET_FLOAT (   name,
  parm_index,
  vector_index,
  t,
  val,
  add_key 
)    setChRefFloat(name, getIndirect()[parm_index], vector_index, t, val, add_key);

Definition at line 225 of file OBJ_Node.h.

#define SET_INT (   name,
  parm_index,
  vector_index,
  t,
  val 
)    setChRefInt(name,getIndirect()[parm_index], vector_index, t, val);

Definition at line 227 of file OBJ_Node.h.

#define SET_STRING (   val,
  meaning,
  parm_index,
  vector_index,
  t 
)    setChRefString(val, meaning, name, getIndirect()[parm_index], vector_index, t);

Definition at line 229 of file OBJ_Node.h.

#define STR_OBJ_PARM (   name,
  idx,
  vi,
  t 
)    evalString(str, name, &getIndirect()[idx], vi, t);

Definition at line 222 of file OBJ_Node.h.

Enumeration Type Documentation

Enumerator
I_XORDER 
I_RORDER 
I_T 
I_R 
I_S 
I_P 
I_PIVOTR 
I_SCALE 
I_PRETRANSFORM 
I_KEEPPOS 
I_CHILDCOMP 
I_CONSTRAINTS_ON 
I_CONSTRAINTS 
I_LOOKAT 
I_LOOKUP 
I_LOOKUPOBJ 
I_PATHOBJ 
I_PATHROLL 
I_PATHPOS 
I_PATHUPARMTYPE 
I_PATHORIENT 
I_PATHUP 
I_PATHBANK 
I_TDISPLAY 
I_DISPLAY 
I_USE_DCOLOR 
I_DCOLOR 
I_PICKING 
I_PICKSCRIPT 
I_CACHING 
I_N_BASE_INDICES 

Definition at line 148 of file OBJ_Node.h.

Enumerator
OBJ_KEEPPOS_NEVER 
OBJ_KEEPPOS_ALWAYS 
OBJ_KEEPPOS_SOMETIMES 
OBJ_KEEPPOS_NUM_FLAGS 

Definition at line 198 of file OBJ_Node.h.

enum OBJ_MatchTransform
strong
Enumerator
T 
R 
S 
P 
All 

Definition at line 137 of file OBJ_Node.h.

Enumerator
OBJ_MBLUR_NONE 
OBJ_MBLUR_XFORM 
OBJ_MBLUR_DEFORM 
OBJ_MBLUR_VELOCITY 

Definition at line 115 of file OBJ_Node.h.

Enumerator
OBJ_WORLD 
OBJ_GEOMETRY 
OBJ_CAMERA 
OBJ_LIGHT 
OBJ_RENDERER 
OBJ_FOG 
OBJ_BONE 
OBJ_HANDLE 
OBJ_BLEND 
OBJ_FORCE 
OBJ_CAMSWITCH 
OBJ_SOUND 
OBJ_MICROPHONE 
OBJ_SUBNET 
OBJ_FETCH 
OBJ_NULL 
OBJ_STICKY 
OBJ_DOPNET 
OBJ_RIVET 
OBJ_MUSCLE 
OBJ_STD_LIGHT 
OBJ_STD_BONE 
OBJ_STD_HANDLE 
OBJ_STD_BLEND 
OBJ_STD_FETCH 
OBJ_STD_STICKY 
OBJ_STD_RIVET 
OBJ_STD_NULL 
OBJ_STD_MUSCLE 
OBJ_STD_CAMSWITCH 
OBJ_ALL 

Definition at line 73 of file OBJ_Node.h.

Enumerator
OBJ_PARMS_PLAIN 
OBJ_PARMS_SCRIPT 
OBJ_PARMS_SCRIPT_CLEAN 

Definition at line 207 of file OBJ_Node.h.

Enumerator
OBJ_SHADER_NOWHERE 
OBJ_SHADER_MATERIAL 
OBJ_SHADER_SPARE 
OBJ_SHADER_PROPERTY 

Definition at line 123 of file OBJ_Node.h.

Enumerator
OBJ_UICHANGE_DISPLAY_ORIGIN_FLAG 
OBJ_UICHANGE_PICKING 

Definition at line 131 of file OBJ_Node.h.

Enumerator
OBJ_VAR_IPT 
OBJ_MAX_VARIABLES 

Definition at line 191 of file OBJ_Node.h.

Function Documentation

SYS_VISIBILITY_EXPORT void newObjectOperator ( OP_OperatorTable table)
Examples:
OBJ/OBJ_Lamp.C, OBJ/OBJ_Shake.C, and OBJ/OBJ_WorldAlign.C.

Definition at line 40 of file OBJ_Lamp.C.