OBJ_Node Class Reference

#include <OBJ_Node.h>

Inheritance diagram for OBJ_Node:

OP_Network OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner OBJ_Camera OBJ_DopNet OBJ_Fog OBJ_Geometry OBJ_SubNet OBJ_Ambient OBJ_StereoCamera HDK_Sample::OBJ_Shake HDK_Sample::OBJ_WorldAlign OBJ_Blend OBJ_Bone OBJ_ExtractGeo OBJ_Fetch OBJ_Handle OBJ_Microphone OBJ_Muscle OBJ_Null OBJ_SopNet OBJ_Sound OBJ_Python

List of all members.

Public Types

enum  obj_PathParmType { OBJ_PATHPARM_UNIFORM = 0, OBJ_PATHPARM_ARCLEN }
typedef int(* ApplyParmTransformCallback )(void *data, OBJ_Node *node, OP_Context &context, UT_DMatrix4 &mat)

Public Member Functions

virtual const char * getChildType () const
virtual const char * getOpType () const
virtual OP_OpTypeId getChildTypeID () const
virtual OP_OpTypeId getOpTypeID () const
virtual OBJ_OBJECT_TYPE getObjectType () const =0
virtual unsigned disableParms ()
virtual void getIFDParms (IFD_ObjectParms &parms, float t, const char *)
virtual float getVariableValue (int var_id, int thread)
virtual void resolveObsoleteParms (PRM_ParmList *obsolete_parms)
void applyBackwardsPathCompatibility (PRM_ParmList *obsolete_parms, const char *oldname, const char *newname, const char *root="/obj/", const char *tail="")
void applyBackwardsNetNodeCompatibility (PRM_ParmList *obsolete_parms, const char *oldnetname, const char *oldnodename, const char *newname, const char *rootname, const char *property_parm=0)
void applyBackwardsShopCompatibility (PRM_ParmList *obsolete_parms, const char *oldname, const char *newname)
virtual bool getParmTransform (OP_Context &context, UT_DMatrix4 &xform)
virtual bool getParmTransformRotates (OP_Context &context, UT_DMatrix4 &xform)
virtual bool getParmTransformTranslates (OP_Context &context, UT_DMatrix4 &xform)
virtual bool getParmTransformScales (OP_Context &context, UT_DMatrix4 &xform)
void destroyTransformParmChannels ()
bool setParmTransformFromWorld (OP_Context &context, const UT_DMatrix4 &world_xform, bool create_keys=false, bool fail_on_locked_parms=false)
void setRigidParmTransformFromWorld (OP_Context &context, const UT_DMatrix4 &world_xform, bool create_keys=false)
bool setParmTransform (OP_Context &context, const UT_DMatrix4 &xform, bool create_keys=false, bool fail_on_locked_parms=false)
void setRigidParmTransform (OP_Context &context, const UT_DMatrix4 &xform, bool create_keys=false)
int getPreLocalTransform (OP_Context &context, UT_DMatrix4 &mat)
bool getLocalTransform (OP_Context &context, UT_DMatrix4 &mat)
bool getInverseLocalToWorldTransform (OP_Context &context, UT_DMatrix4 &mat)
 Calculates the inverse of the getLocalToWorldTransform().
bool getParentToWorldTransform (OP_Context &context, UT_DMatrix4 &mat)
bool getObjectToWorldTransform (OP_Context &context, UT_DMatrix4 &mat)
bool getInverseObjectToWorldTransform (OP_Context &context, UT_DMatrix4 &mat)
 Calculates the inverse of the getObjectToWorldTransform().
bool getLocalToWorldTransform (OP_Context &context, UT_DMatrix4 &mat)
bool getChildToWorldTransform (OP_Context &context, UT_DMatrix4 &mat)
bool getParmTransform (OP_Context &context, UT_Matrix4 &xform)
int getPreLocalTransform (OP_Context &context, UT_Matrix4 &mat)
bool getLocalTransform (OP_Context &context, UT_Matrix4 &mat)
bool getParentToWorldTransform (OP_Context &context, UT_Matrix4 &mat)
bool getObjectToWorldTransform (OP_Context &context, UT_Matrix4 &mat)
bool getInverseObjectToWorldTransform (OP_Context &context, UT_Matrix4 &mat)
bool getLocalToWorldTransform (OP_Context &context, UT_Matrix4 &mat)
bool getInverseLocalToWorldTransform (OP_Context &context, UT_Matrix4 &mat)
bool getChildToWorldTransform (OP_Context &context, UT_Matrix4 &mat)
bool getLocal2DToWorldTransform (OP_Context &context, UT_DMatrix4 &mat)
virtual bool get2DWorldTransform (UT_DMatrix4 &mat, OP_Context &context)
virtual int getWorldTransform (UT_DMatrix4 &mat, OP_Context &context)
virtual int getIWorldTransform (UT_DMatrix4 &mat, OP_Context &context)
virtual int getRelativeTransform (OP_Node &to, UT_Matrix4 &xform, OP_Context &context)
virtual int getRelativeTransform (OP_Node &to, UT_DMatrix4 &xform, OP_Context &context)
virtual void getRotations (float t, float &rx, float &ry, float &rz)
virtual void getXformOrder (UT_XformOrder &xord, CH_Channel *chp)
int keepPosWhenParenting ()
bool getPreTransformInput (OP_Context &context, UT_DMatrix4 &mat)
bool keepPosWhenMoving () const
virtual int buildLookAt (OP_Context &context, const UT_DMatrix4 &world, UT_DMatrix4 &lookat, OP_Node *interest=0)
int buildLookAt (OP_Context &context, const UT_DMatrix4 &worldxform, const UT_String &lookat, UT_DMatrix4 &lookatxform, UT_Vector3 &up)
bool getLookatObjectIsTimeDependent (const UT_String &lookat, double t)
bool getLookatObjectTransform (const UT_String &lookat, OP_Context &context, OP_Node *addextrainputto, UT_DMatrix4 &xform, bool &timedep)
int getPreLookatTransform (OP_Context &context, UT_DMatrix4 &wolrdXform, UT_DMatrix4 &xform, bool norotates=false)
int keepWorldTransformByOldInput (OP_Context &context, const UT_DMatrix4 &old_parent_world_xform)
void keepLastWorldTransform (OP_Context &context)
bool getPathObjectIsTimeDependent (const UT_String &path, double t)
bool getPathObjectDetailHandle (const UT_String &path, OP_Context &context, GU_ConstDetailHandle &gdh, UT_DMatrix4 &xform)
void buildCustomChildToWorldTransform (OP_Context &context, UT_DMatrix4 &mat, ApplyParmTransformCallback callback, void *data)
void buildCustomObjectToWorldTransform (OP_Context &context, UT_DMatrix4 &mat, ApplyParmTransformCallback callback, void *data)
virtual int keepWorldTransform (OP_Context &context, const UT_DMatrix4 &world_xform)
virtual void clearUndoFlags ()
void savePreTransformForUndo ()
 Stores the current pre-transform for future undo.
void resetPreTransform ()
virtual void transferLocalToPreTransform (double gtime)
virtual void transferPreToLocalTransform (double gtime, bool follow_chan_refs=false)
virtual void transferLocalToPreTransformRotates (double gtime)
 Transfers only the rotate portion of the matrix to pre-transform.
virtual void transferLocalToPreTransformTranslates (double gtime)
 Transfers only the translates portion of the matrix to pre-transform.
virtual void transferLocalToPreTransformScales (double gtime)
 Transfers only the scales portion of the matrix to pre-transform.
void setPreTransform (const UT_DMatrix4 &xform)
void getAdjustedRotates (OP_Context &context, UT_Vector3 &r)
void adjustRotatesToIncludePreTransform (OP_Context &context, UT_Vector3 &r)
void adjustRotatesForPreTransform (OP_Context &context, int return_as_radian, UT_Vector3 &rot)
const UT_DMatrix4getPreTransform () const
 Returns current pretransform matrix.
UT_DMatrix4getPreTransform ()
int isPreTransformIdentity ()
void setIsPreTransformIdentity (int yesno)
virtual int setPickable (int onOff)
virtual int getPickable ()
int setCachable (int onOff)
int getCachable ()
virtual void setExtraFlag (char flag, int onoff)
virtual bool getBoundingBox (UT_BoundingBox &box, OP_Context &ctx)
SOP_NodegetDisplaySopPtr ()
SOP_NodegetRenderSopPtr ()
DOP_NodegetDisplayDopPtr ()
GU_DetailHandle getDisplayGeometryHandle (OP_Context &context, int check_enable=1, OP_Node **source_node=0)
GU_DetailHandle getRenderGeometryHandle (OP_Context &context, int check_enable=1)
const GU_DetailgetDisplayGeometry (OP_Context &context, int check_enable=1, OP_Node **source_node=0)
const GU_DetailgetRenderGeometry (OP_Context &context, int check_enable=1)
int getFullCOP2Path (const char *relpath, UT_String &fullpath, int &flagdependent)
void splitCOP2Path (const char *path, UT_String &net, UT_String &nodepath)
int getDisplayOriginFlag () const
void setDisplayOriginFlag (int o)
int getParentingErrorFlag () const
void setParentingErrorFlag (int o)
virtual void setExtraFlags (int axis)
virtual int isCookingRender () const
virtual void setCookingRender (int val)
OBJ_NodeFlagsobjflags ()
virtual OP_ERROR setInput (unsigned idx, OP_Node *op, unsigned outputIdx=0)
 Sets a given input to connect to an output of a particular node.
virtual OP_ERROR setInputReference (unsigned idx, const char *label, int keeppos, unsigned outputIdx=0)
 Connects an input to particular node by name in the network.
virtual OP_ERROR setIndirectInput (unsigned idx, OP_InputIndirect *in)
 Connects an input to an indirect input of our parent subnet.
virtual void getParallelInputs (OP_Context &context, OP_NodeList &nodes) const
virtual void opChanged (OP_EventType reason, void *data=0)
UT_Vector3 getLocalPivot (OP_Context &context)
UT_Vector3 getWorldPivot (OP_Context &context)
virtual void setScaleFromHandle (double t, const UT_Vector3 &s, bool create_keys=false, int key_idx=-1, bool check_modified=true)
virtual void setRotateFromHandle (double t, const UT_Vector3 &r, bool create_keys=false, int key_idx=-1, bool check_modified=true)
virtual void setTranslateFromHandle (double t, const UT_Vector3 &trans, bool create_keys=false, int key_idx=-1, bool check_modified=true)
virtual void setPivotFromHandle (double t, const UT_Vector3 &pivot, bool create_keys=false, int key_idx=-1, bool check_modified=true)
void setXformOrderFromHandle (double t, int value, bool create_keys=false, bool check_modified=true)
virtual const char * getSetScaleParmName () const
virtual const char * getSetRotateParmName () const
virtual const char * getSetTranslateParmName () const
virtual int isObjectRenderable () const
virtual int isObjectLitBy (OBJ_Node *, float)
virtual int isObjectLitBySubnet (OBJ_Node *, float)
virtual void getActingLightSubset (const UT_PtrArray< OBJ_Ambient * > &lights, UT_PtrArray< OBJ_Ambient * > &active, float t)
virtual int doDrawLit () const
virtual void getNodeSpecificInfoText (OP_Context &context, int verbose, UT_WorkBuffer &text)
virtual void propagateEndBlockModify ()
virtual fpreal getW () const
 Node position/scale is used by the UI.
virtual fpreal getH () const
 Node position/scale is used by the UI.
virtual OBJ_AmbientcastToOBJAmbient ()
virtual OBJ_BlendcastToOBJBlend ()
virtual OBJ_BonecastToOBJBone ()
virtual OBJ_CameracastToOBJCamera ()
virtual OBJ_DopNetcastToOBJDopNet ()
virtual OBJ_FetchcastToOBJFetch ()
virtual OBJ_FogcastToOBJFog ()
virtual OBJ_GeometrycastToOBJGeometry ()
virtual OBJ_HandlecastToOBJHandle ()
virtual OBJ_LightcastToOBJLight ()
virtual OBJ_NullcastToOBJNull ()
virtual OBJ_RivetcastToOBJRivet ()
virtual OBJ_StickycastToOBJSticky ()
virtual OBJ_SubNetcastToOBJSubNet ()
virtual OBJ_StereoCameracastToOBJStereoCamera ()
bool assignShader (int shop_type, const char *path, OBJ_SHADER_LOCATION where)
SHOP_NodeevalShaderString (UT_String &shader, int shop_type, fpreal64 now, const UT_Options *options, SHOP_Node *shop=0)
SHOP_NodeevalShaderData (SHOP_ReData &data, int shop_type, fpreal64 now, const UT_Options *options, SHOP_Node *shop=0)
SHOP_NodeevalShaderBounds (UT_BoundingBox &box, int shop_type, fpreal64 now, const UT_Options *options, SHOP_Node *shop=0)
void getShopTransform (UT_DMatrix4 &xform, int shop_type, fpreal64 now, const UT_Options *options)
SHOP_NodegetMaterialNode (fpreal64 now)
SHOP_NodegetShopNode (int shop_type, fpreal64 now, const UT_Options *options)
OP_Nodecombine (OP_Context &context, const UT_PtrArray< OBJ_Node * > &objs, bool full_combine=true)
virtual bool getHideDefaultParms () const
virtual bool canCreateNewOpType () const
virtual OBJ_NodegetParentObject ()
OP_ERROR setParentObject (OBJ_Node *node)
OBJ_NodegetInstanceObject (fpreal now)
OBJ_NodegetGeometryInstance (fpreal now)
OBJ_NodegetParticleObject (fpreal now)
void setLookAtObject (OBJ_Node *node)
void setPathObject (OBJ_Node *node)
void setTX (double t, float v, int h=0)
void setTY (double t, float v, int h=0)
void setTZ (double t, float v, int h=0)
void setRX (double t, float v, int h=0)
void setRY (double t, float v, int h=0)
void setRZ (double t, float v, int h=0)
void setSX (double t, float v, int h=0)
void setSY (double t, float v, int h=0)
void setSZ (double t, float v, int h=0)
void setPX (double t, float v, int h=0)
void setPY (double t, float v, int h=0)
void setPZ (double t, float v, int h=0)
void setSCALE (double t, float v, int h=0)
void setTRANSORDER (int v)
void setROTORDER (int v)
void setKEEPPOS (int v)
int KEEPPOS (void)
int TRS (void)
int XYZ (void)
void T (float *v, double t)
void R (float *v, double t)
void S (float *v, double t)
void P (float *v, double t)
float SCALE (double t)
void LOOKUP (UT_String &str, double t)
float PATHPOS (double t)
int PATHPARMTYPE (double t)
int PATHORIENT (double t)
float PATHROLL (double t)
void PATHUP (float *v, double t)
float PATHBANK (double t)
int PICKING ()
void PICKSCRIPT (UT_String &str, double t)
int CACHING ()
virtual int VPORT_SHADEOPEN ()
virtual int VPORT_DISPLAYASSUBDIV ()
fpreal SHADERATE (fpreal t, fpreal defval=1)
int PHANTOM (fpreal t, int default_value)
int MATTE (fpreal t, int default_value)
int RAYBOUNCE (fpreal t, int default_value)
int TRANSMITBOUNCE (fpreal t, int default_value)
fpreal RAYCLIP (fpreal t, fpreal def=0.001)
fpreal DISPBOUND (fpreal t, fpreal def=0)
fpreal SHADOWRATE (fpreal t, fpreal def=1)
fpreal REFLRATE (fpreal t, fpreal def=1)
fpreal LOD (fpreal t, fpreal def=1)
void PREINCLUDE (UT_String &str, fpreal t)
void POSTINCLUDE (UT_String &str, fpreal t)
OBJ_MOTIONBLUR_TYPE BLUR (double t, OBJ_MOTIONBLUR_TYPE def=OBJ_MBLUR_NONE)
int USE_DCOLOR ()
float DCOLORR (double t)
float DCOLORG (double t)
float DCOLORB (double t)
void setDCOLORR (double t, float r)
void setDCOLORG (double t, float g)
void setDCOLORB (double t, float b)
int DISPLAY (double t) const
int parmIndexDISPLAY () const
int getObjectDisplay (double t, const OP_Network *net=0) const
bool isDisplayTimeDependent () const
int isDisplayDisabled (double t, const OP_Network *net=0) const
virtual bool setVisible (int onoff)
virtual bool getVisible () const
virtual void evaluateBatchParms (PRM_BatchList &list, double now)
int TDISPLAY () const
int parmIndexTDISPLAY () const
int INSTANCE (UT_String &str, fpreal now)
int POINTINSTANCE (fpreal now)
int PARTICLE (UT_String &s, fpreal t)
bool PTMOTIONBLUR (UT_String &str, fpreal now)
int LOOKAT (UT_String &str, double t)
int PATHSOP (UT_String &str, double t)
int PROMOTE_POPGUIDES (fpreal t)
int getDisplayOrder () const
void setDisplayOrder (int order)
void setDisplayDisabledBySubnetNeedsUpdate ()
void addTransformParmInterests (OP_Node *interested)
int getDefaultedIProperty (const char *name, fpreal now, int def)
fpreal getDefaultedFProperty (const char *name, fpreal now, fpreal def)
const char * getDefaultedSProperty (const char *name, fpreal now, UT_String &result, const char *def)
const char * getDefaultedRawSProperty (const char *name, fpreal now, UT_String &result, const char *def)

Static Public Member Functions

static PRM_TemplategetObsolete ()
static PRM_TemplatemergeObsoleteLists (PRM_Template *t1, PRM_Template *t2)
static void buildOperatorTable (OP_OperatorTable &table)
static void getManagementOperators (OP_OperatorList &op)
static void installCommands (CMD_Manager *cman)
static void initializeExpressions ()
static void buildMaterialOptMenu (void *obj, PRM_Name *names, int size, const PRM_SpareData *spare, PRM_Parm *parm)
static int handleMaterialOpt (void *obj, int index, float now, const PRM_Template *tplate)
static void buildObjectMenu (PRM_Name *, int max, OBJ_OBJECT_TYPE mask)
static void buildGeoObjMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildPathObjMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildKinChopMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildPopGeoMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildShadeObjMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildColorPlaneMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildAlphaPlaneMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildGeoChopMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildSoundChopMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildMicChopMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildChopNetMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildBoneCaptureMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildBoneChildMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildChildObjMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildPointGroupMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildPrimitiveGroupMenu (void *o, PRM_Name *, int, const PRM_SpareData *, PRM_Parm *)
static void buildShopMenu (PRM_Name *, int max, int shop_type)
static int handlePreTransformMenu (void *o, int index, float t, const PRM_Template *)
static void setGlobalKeepPosWhenParenting (OBJ_KeepPosType flag)
static OBJ_KeepPosType getGlobalKeepPosWhenParenting ()
static void setGlobalKeepPosWhenMoving (bool flag)
static bool getGlobalKeepPosWhenMoving ()
static void disallowGlobalKeepPos ()
static void allowGlobalKeepPos ()
static void disallowIgnorePretransform ()
static void allowIgnorePretransform ()
static void setIgnorePretransformValue (bool flag)
static bool getIgnorePretransform ()
static bool getIgnorePretransformValue ()
static const char * getMaterialParmToken ()

Static Public Attributes

static CH_LocalVariable ourLocalVariables []
static const char * displaySopToken
static const char * renderSopToken
static const char * boundingBoxToken
static const char * boundingSphereToken
static const char * input1ObjectToken
static const char * input2ObjectToken
static const char * input3ObjectToken
static const char * input4ObjectToken

Protected Types

enum  OBJ_TransformComponent { OBJ_TRANSFORM_WHOLE, OBJ_TRANSFORM_ROTATES, OBJ_TRANSFORM_TRANSLATES, OBJ_TRANSFORM_SCALES }

Protected Member Functions

 OBJ_Node (OP_Network *parent, const char *name, OP_Operator *op)
virtual ~OBJ_Node ()
virtual bool supportedDropShop (int shop_type)
virtual int acceptDragDrop (DD_Source &src, const char *label)
virtual int testDragDrop (DD_Source &src)
virtual void getDragDropChoice (DD_Source &src, DD_ChoiceList &c)
virtual const UT_OptionscreateShaderParms (OP_Options &options, fpreal now, const UT_Options *src)
virtual void addExtraDependencies (OP_Context &context)
virtual int getOpShadingInfo (UT_String &str, OP_Context &contex)
virtual bool createSpareParametersFromChannels (UT_BitArray &selection, const CH_ChannelList &channels)
virtual bool createSpareParametersForLoad (UT_StringArray &names, PRM_ParmNameMap &nmap, UT_String &errors)
virtual bool getParameterOrProperty (const char *name, fpreal now, OP_Node *&op, PRM_Parm *&parm, bool create_missing_multiparms, PRM_ParmList *obsolete=0)
virtual bool getParameterOrPropertyByChannel (const char *name, fpreal now, OP_Node *&op, PRM_Parm *&parm, int &vectoridx, PRM_ParmList *obsolete=0)
virtual int findParametersOrProperties (fpreal now, OP_PropertyLookupList &list)
virtual int applyInputDependentTransform (OP_Context &context, UT_DMatrix4 &mat)
virtual int applyInputIndependentTransform (OP_Context &context, UT_DMatrix4 &mat)
virtual int applyOutputTransform (OP_Context &context, UT_DMatrix4 &mat)
virtual int applyPreTransform (OP_Context &context, UT_DMatrix4 &mat)
OBJ_XformCache::OBJ_LookupStatus getCachedTransform (OP_Context &context, OBJ_XformCache::OBJ_XformType type, UT_DMatrix4 &xform) const
void setCachedTransform (OP_Context &context, OBJ_XformCache::OBJ_XformType type, const UT_DMatrix4 &xform) const
bool isCachingTransforms ()
int getResolutionFromMenu (int i, int &x, int &y, float &a)
virtual OP_ERROR cookMe (OP_Context &context)
virtual OP_ERROR bypassMe (OP_Context &context, int &copied_input)
virtual OP_ERROR cookMyObj (OP_Context &context)
virtual OP_DATA_TYPE getCookedDataType () const
virtual void deleteCookedData ()
virtual int saveCookedData (const char *, OP_Context &)
virtual int saveCookedData (ostream &os, OP_Context &, int binary=0)
virtual const char * getFileExtension (int binary) const
virtual OP_ERROR saveIntrinsic (ostream &os, const OP_SaveFlags &flags)
virtual void saveIntrinsicCommand (ostream &os, const char *name)
virtual bool loadPacket (UT_IStream &is, short class_id, short sig, const char *path=0)
virtual bool loadPacket (UT_IStream &is, const char *token, const char *path=0)
virtual void saveFlagsForUndo ()
virtual void getSaveFlagsString (UT_String &cmd, const char *flags, bool save_to_hip) const
virtual void getPreParmSaveFlagsString (UT_String &cmd) const
virtual void getPostParmSaveFlagsString (UT_String &cmd) const
int getShopType (DD_Source &src, UT_String &path, int create)
int getVopShopType (DD_Source &src, UT_String &path, int create)
void getXformDescription (const UT_DMatrix4 &xform, const char *label_if_not_identity, const char *text_if_identity, const UT_Vector3 pivot, const UT_XformOrder order, UT_WorkBuffer &text)
void getParmTransformTransferMatrix (OP_Context &context, OBJ_TransformComponent type, UT_DMatrix4 &xform)
virtual void applyToCaptTransformAndDescendents (OP_Context &context, const UT_DMatrix4 &xform)
virtual void buildPointGroupMenu (PRM_Name *menu, int size, const PRM_SpareData *spare, PRM_Parm *parm)
virtual void buildPrimitiveGroupMenu (PRM_Name *menu, int size, const PRM_SpareData *spare, PRM_Parm *parm)
void addError (int code, const char *msg=0)
void addMessage (OBJ_Error code, const char *msg=0)
void addWarning (OBJ_Error code, const char *msg=0)
void addFatal (OBJ_Error code, const char *msg=0)
virtual int collectPropertiesFromChannels (PI_EditScriptedParms &editparms, UT_BitArray &selection, const CH_ChannelList &channels)
virtual int collectPropertiesFromParms (PI_EditScriptedParms &editparms, UT_StringArray &names, PRM_ParmNameMap &nmap)
int collectProperties (PI_EditScriptedParms &editparms, UT_BitArray &selection, const CH_ChannelList &channels, PI_PropertyMap *pmap)
int collectProperties (PI_EditScriptedParms &editparms, UT_StringArray &names, PRM_ParmNameMap &nmap, PI_PropertyMap *pmap)
void createPropertiesShop ()
virtual int * getIndirect () const =0
int getCachedParmIndex (const char *name, int name_idx) const
PRM_ParmgetCachedParm (const char *name, int name_idx)
virtual bool getTimeOverride ()
void inverseDirty ()
const UT_DMatrix4getInverseXform ()

Protected Attributes

UT_DMatrix4 myXform
UT_DMatrix4 myWorldXform


Detailed Description

Examples:

HOM/ObjNode_setSelectable.C.

Definition at line 199 of file OBJ_Node.h.


Member Typedef Documentation

typedef int(* OBJ_Node::ApplyParmTransformCallback)(void *data, OBJ_Node *node, OP_Context &context, UT_DMatrix4 &mat)

Definition at line 515 of file OBJ_Node.h.


Member Enumeration Documentation

Enumerator:
OBJ_PATHPARM_UNIFORM 
OBJ_PATHPARM_ARCLEN 

Definition at line 1164 of file OBJ_Node.h.

Enumerator:
OBJ_TRANSFORM_WHOLE 
OBJ_TRANSFORM_ROTATES 
OBJ_TRANSFORM_TRANSLATES 
OBJ_TRANSFORM_SCALES 

Definition at line 1011 of file OBJ_Node.h.


Constructor & Destructor Documentation

OBJ_Node::OBJ_Node ( OP_Network parent,
const char *  name,
OP_Operator op 
) [protected]

virtual OBJ_Node::~OBJ_Node (  )  [protected, virtual]


Member Function Documentation

virtual int OBJ_Node::acceptDragDrop ( DD_Source src,
const char *  label 
) [protected, virtual]

Reimplemented from OP_Node.

void OBJ_Node::addError ( int  code,
const char *  msg = 0 
) [inline, protected]

Definition at line 1055 of file OBJ_Node.h.

virtual void OBJ_Node::addExtraDependencies ( OP_Context context  )  [protected, virtual]

void OBJ_Node::addFatal ( OBJ_Error  code,
const char *  msg = 0 
) [inline, protected]

Definition at line 1061 of file OBJ_Node.h.

void OBJ_Node::addMessage ( OBJ_Error  code,
const char *  msg = 0 
) [inline, protected]

Definition at line 1057 of file OBJ_Node.h.

void OBJ_Node::addTransformParmInterests ( OP_Node interested  ) 

void OBJ_Node::addWarning ( OBJ_Error  code,
const char *  msg = 0 
) [inline, protected]

Definition at line 1059 of file OBJ_Node.h.

void OBJ_Node::adjustRotatesForPreTransform ( OP_Context context,
int  return_as_radian,
UT_Vector3 rot 
)

void OBJ_Node::adjustRotatesToIncludePreTransform ( OP_Context context,
UT_Vector3 r 
)

static void OBJ_Node::allowGlobalKeepPos (  )  [static]

static void OBJ_Node::allowIgnorePretransform (  )  [static]

void OBJ_Node::applyBackwardsNetNodeCompatibility ( PRM_ParmList obsolete_parms,
const char *  oldnetname,
const char *  oldnodename,
const char *  newname,
const char *  rootname,
const char *  property_parm = 0 
)

void OBJ_Node::applyBackwardsPathCompatibility ( PRM_ParmList obsolete_parms,
const char *  oldname,
const char *  newname,
const char *  root = "/obj/",
const char *  tail = "" 
)

void OBJ_Node::applyBackwardsShopCompatibility ( PRM_ParmList obsolete_parms,
const char *  oldname,
const char *  newname 
)

virtual int OBJ_Node::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 in OBJ_Blend, and OBJ_Bone.

virtual int OBJ_Node::applyInputIndependentTransform ( OP_Context context,
UT_DMatrix4 mat 
) [protected, virtual]

Computes and pre-multiplies an input independent transform to the given matrix. This transform is defined as semantically independent of the object's inputs. The default implementation applies a follow path object transform, if available.

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

Reimplemented in OBJ_Bone, and HDK_Sample::OBJ_Shake.

virtual int OBJ_Node::applyOutputTransform ( OP_Context context,
UT_DMatrix4 mat 
) [protected, virtual]

Computes and pre-multiplies an output transform to the given matrix. The output transform is a transform that a parent specifies for its children. This concept exists for completeness (since there is an input transform), but is not widely used. The default implementation does not apply any transform.

Parameters:
context The cook context, which contains the time.
mat Input and output parameters, that gets premultipled by an appropriate output transform, if any.
Returns:
Returns 1 if the matrix was modified, 0 otherwise

virtual int OBJ_Node::applyPreTransform ( OP_Context context,
UT_DMatrix4 mat 
) [protected, virtual]

Premuliplies the pre-transform matrix, myPreTransform, to the given matrix. Pre-matrix is a transformation layer between the input and the parameter transforms, and is used to define the origin point (and orientation) at which zero translation and zero rotation would place the object. This allows to have more meaningull parameter values during animation, where rotation of 0 degrees may need to correspond to a slightly bent limb (ie, rotated joint).

Parameters:
context The cook context, which contains the time.
mat The input and output parameter, that gets premultipled by a pre-transform matrix.
Returns:
Returns 1 if the matrix was modified, 0 otherwise

Reimplemented in OBJ_Bone.

virtual void OBJ_Node::applyToCaptTransformAndDescendents ( OP_Context context,
const UT_DMatrix4 xform 
) [protected, virtual]

Reimplemented in OBJ_Bone.

bool OBJ_Node::assignShader ( int  shop_type,
const char *  path,
OBJ_SHADER_LOCATION  where 
)

OBJ_MOTIONBLUR_TYPE OBJ_Node::BLUR ( double  t,
OBJ_MOTIONBLUR_TYPE  def = OBJ_MBLUR_NONE 
)

static void OBJ_Node::buildAlphaPlaneMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildBoneCaptureMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildBoneChildMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildChildObjMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildChopNetMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildColorPlaneMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

void OBJ_Node::buildCustomChildToWorldTransform ( OP_Context context,
UT_DMatrix4 mat,
ApplyParmTransformCallback  callback,
void *  data 
)

void OBJ_Node::buildCustomObjectToWorldTransform ( OP_Context context,
UT_DMatrix4 mat,
ApplyParmTransformCallback  callback,
void *  data 
)

static void OBJ_Node::buildGeoChopMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildGeoObjMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildKinChopMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

int OBJ_Node::buildLookAt ( OP_Context context,
const UT_DMatrix4 worldxform,
const UT_String lookat,
UT_DMatrix4 lookatxform,
UT_Vector3 up 
)

A stand alone version of buildLookAt that is not connected to the ui and always takes an upvector.

virtual int OBJ_Node::buildLookAt ( OP_Context context,
const UT_DMatrix4 world,
UT_DMatrix4 lookat,
OP_Node interest = 0 
) [virtual]

This method considers the effect of the LOOKAT fields and produces a matrix that should be premultiplied to the orienation to get the lookat. It takes the local->world transform (myWorldXform) as this is used to figure out where this is outside cookpaths. If 'interest' is supplied, then interest will be onto this other node instead. NOTE: this function is virtual, because OBJ_Bone has a "capture" mode in which the lookAt parameter (or input node's transform for that matter) is ignored. Bones override this method to provide the mode-dependent transorm.

Parameters:
context The cook context, which contains the time.
world The world matrix based on which the lookat matrix is calculated.
lookat The output parameter that will contain a calucated look-at matrix. That look-at matrix will be pre-multiplied with the local and the world transforms to calculate their final form.
interest Usually, this node will register an interest in the look-at object, so it gets dirtied when the look-at object moves. The interest parameter specifies a node that should be dirtied instead of the object on which buildLookAt() got invoked.
Returns:
This returns 0 if no lookat is needed, in which case the matrix provided will not be altered!

Reimplemented in OBJ_Bone.

static void OBJ_Node::buildMaterialOptMenu ( void *  obj,
PRM_Name names,
int  size,
const PRM_SpareData spare,
PRM_Parm parm 
) [static]

static void OBJ_Node::buildMicChopMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildObjectMenu ( PRM_Name ,
int  max,
OBJ_OBJECT_TYPE  mask 
) [static]

static void OBJ_Node::buildOperatorTable ( OP_OperatorTable table  )  [static]

static void OBJ_Node::buildPathObjMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

virtual void OBJ_Node::buildPointGroupMenu ( PRM_Name menu,
int  size,
const PRM_SpareData spare,
PRM_Parm parm 
) [protected, virtual]

Reimplemented in OBJ_Rivet.

static void OBJ_Node::buildPointGroupMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildPopGeoMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

virtual void OBJ_Node::buildPrimitiveGroupMenu ( PRM_Name menu,
int  size,
const PRM_SpareData spare,
PRM_Parm parm 
) [protected, virtual]

Reimplemented in OBJ_Geometry.

static void OBJ_Node::buildPrimitiveGroupMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildShadeObjMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

static void OBJ_Node::buildShopMenu ( PRM_Name ,
int  max,
int  shop_type 
) [static]

static void OBJ_Node::buildSoundChopMenu ( void *  o,
PRM_Name ,
int  ,
const PRM_SpareData ,
PRM_Parm  
) [static]

virtual OP_ERROR OBJ_Node::bypassMe ( OP_Context context,
int &  copied_input 
) [protected, virtual]

Implements OP_Node.

int OBJ_Node::CACHING (  )  [inline]

Definition at line 1180 of file OBJ_Node.h.

virtual bool OBJ_Node::canCreateNewOpType (  )  const [virtual]

Reimplemented from OP_Node.

virtual OBJ_Ambient* OBJ_Node::castToOBJAmbient (  )  [inline, virtual]

Reimplemented in OBJ_Ambient.

Definition at line 797 of file OBJ_Node.h.

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

Reimplemented in OBJ_Blend.

Definition at line 798 of file OBJ_Node.h.

virtual OBJ_Bone* OBJ_Node::castToOBJBone (  )  [inline, virtual]

Reimplemented in OBJ_Bone.

Definition at line 799 of file OBJ_Node.h.

virtual OBJ_Camera* OBJ_Node::castToOBJCamera (  )  [inline, virtual]

Reimplemented in OBJ_Camera.

Definition at line 800 of file OBJ_Node.h.

virtual OBJ_DopNet* OBJ_Node::castToOBJDopNet (  )  [inline, virtual]

Reimplemented in OBJ_DopNet.

Definition at line 801 of file OBJ_Node.h.

virtual OBJ_Fetch* OBJ_Node::castToOBJFetch (  )  [inline, virtual]

Reimplemented in OBJ_Fetch.

Definition at line 802 of file OBJ_Node.h.

virtual OBJ_Fog* OBJ_Node::castToOBJFog (  )  [inline, virtual]

Reimplemented in OBJ_Fog.

Definition at line 803 of file OBJ_Node.h.

virtual OBJ_Geometry* OBJ_Node::castToOBJGeometry (  )  [inline, virtual]

Reimplemented in OBJ_Geometry.

Definition at line 804 of file OBJ_Node.h.

virtual OBJ_Handle* OBJ_Node::castToOBJHandle (  )  [inline, virtual]

Reimplemented in OBJ_Handle.

Definition at line 805 of file OBJ_Node.h.

virtual OBJ_Light* OBJ_Node::castToOBJLight (  )  [inline, virtual]

Reimplemented in OBJ_Light.

Definition at line 806 of file OBJ_Node.h.

virtual OBJ_Null* OBJ_Node::castToOBJNull (  )  [inline, virtual]

Reimplemented in OBJ_Null.

Definition at line 807 of file OBJ_Node.h.

virtual OBJ_Rivet* OBJ_Node::castToOBJRivet (  )  [inline, virtual]

Reimplemented in OBJ_Rivet.

Definition at line 808 of file OBJ_Node.h.

virtual OBJ_StereoCamera* OBJ_Node::castToOBJStereoCamera (  )  [inline, virtual]

Reimplemented in OBJ_StereoCamera.

Definition at line 811 of file OBJ_Node.h.

virtual OBJ_Sticky* OBJ_Node::castToOBJSticky (  )  [inline, virtual]

Reimplemented in OBJ_Sticky.

Definition at line 809 of file OBJ_Node.h.

virtual OBJ_SubNet* OBJ_Node::castToOBJSubNet (  )  [inline, virtual]

Reimplemented in OBJ_SubNet.

Definition at line 810 of file OBJ_Node.h.

virtual void OBJ_Node::clearUndoFlags (  )  [virtual]

Reimplemented from OP_Network.

int OBJ_Node::collectProperties ( PI_EditScriptedParms editparms,
UT_StringArray names,
PRM_ParmNameMap nmap,
PI_PropertyMap pmap 
) [protected]

int OBJ_Node::collectProperties ( PI_EditScriptedParms editparms,
UT_BitArray selection,
const CH_ChannelList channels,
PI_PropertyMap pmap 
) [protected]

virtual int OBJ_Node::collectPropertiesFromChannels ( PI_EditScriptedParms editparms,
UT_BitArray selection,
const CH_ChannelList channels 
) [protected, virtual]

virtual int OBJ_Node::collectPropertiesFromParms ( PI_EditScriptedParms editparms,
UT_StringArray names,
PRM_ParmNameMap nmap 
) [protected, virtual]

OP_Node* OBJ_Node::combine ( OP_Context context,
const UT_PtrArray< OBJ_Node * > &  objs,
bool  full_combine = true 
)

virtual OP_ERROR OBJ_Node::cookMe ( OP_Context context  )  [protected, virtual]

Implements OP_Node.

virtual OP_ERROR OBJ_Node::cookMyObj ( OP_Context context  )  [protected, virtual]

void OBJ_Node::createPropertiesShop (  )  [protected]

virtual const UT_Options* OBJ_Node::createShaderParms ( OP_Options options,
fpreal  now,
const UT_Options src 
) [protected, virtual]

virtual bool OBJ_Node::createSpareParametersForLoad ( UT_StringArray names,
PRM_ParmNameMap nmap,
UT_String errors 
) [protected, virtual]

Reimplemented from PRM_ParmOwner.

Reimplemented in OBJ_DopNet.

virtual bool OBJ_Node::createSpareParametersFromChannels ( UT_BitArray selection,
const CH_ChannelList channels 
) [protected, virtual]

Reimplemented from OP_Parameters.

Reimplemented in OBJ_DopNet.

float OBJ_Node::DCOLORB ( double  t  )  [inline]

Definition at line 1208 of file OBJ_Node.h.

float OBJ_Node::DCOLORG ( double  t  )  [inline]

Definition at line 1207 of file OBJ_Node.h.

float OBJ_Node::DCOLORR ( double  t  )  [inline]

Definition at line 1206 of file OBJ_Node.h.

virtual void OBJ_Node::deleteCookedData (  )  [protected, virtual]

Implements OP_Node.

void OBJ_Node::destroyTransformParmChannels (  ) 

virtual unsigned OBJ_Node::disableParms (  )  [virtual]

static void OBJ_Node::disallowGlobalKeepPos (  )  [static]

static void OBJ_Node::disallowIgnorePretransform (  )  [static]

fpreal OBJ_Node::DISPBOUND ( fpreal  t,
fpreal  def = 0 
)

int OBJ_Node::DISPLAY ( double  t  )  const [inline]

Definition at line 1217 of file OBJ_Node.h.

virtual int OBJ_Node::doDrawLit (  )  const [inline, virtual]

Reimplemented in OBJ_DopNet, and OBJ_Geometry.

Definition at line 774 of file OBJ_Node.h.

SHOP_Node* OBJ_Node::evalShaderBounds ( UT_BoundingBox box,
int  shop_type,
fpreal64  now,
const UT_Options options,
SHOP_Node shop = 0 
)

SHOP_Node* OBJ_Node::evalShaderData ( SHOP_ReData data,
int  shop_type,
fpreal64  now,
const UT_Options options,
SHOP_Node shop = 0 
)

SHOP_Node* OBJ_Node::evalShaderString ( UT_String shader,
int  shop_type,
fpreal64  now,
const UT_Options options,
SHOP_Node shop = 0 
)

virtual void OBJ_Node::evaluateBatchParms ( PRM_BatchList list,
double  now 
) [virtual]

Reimplemented from OP_Node.

virtual int OBJ_Node::findParametersOrProperties ( fpreal  now,
OP_PropertyLookupList list 
) [protected, virtual]

Fill out the property lookup list with parameters. Returns the total of found and resolved parameters in the list (whether they were resolved by previous calls or this particular call, ie, NOT the total of nodes found in this call)

Reimplemented from OP_Parameters.

virtual bool OBJ_Node::get2DWorldTransform ( UT_DMatrix4 mat,
OP_Context context 
) [virtual]

Reimplemented in OBJ_BlendSticky, OBJ_Sticky, and OBJ_StickyShared.

virtual void OBJ_Node::getActingLightSubset ( const UT_PtrArray< OBJ_Ambient * > &  lights,
UT_PtrArray< OBJ_Ambient * > &  active,
float  t 
) [virtual]

Reimplemented in OBJ_Geometry.

void OBJ_Node::getAdjustedRotates ( OP_Context context,
UT_Vector3 r 
)

virtual bool OBJ_Node::getBoundingBox ( UT_BoundingBox box,
OP_Context ctx 
) [virtual]

Reimplemented from OP_Node.

int OBJ_Node::getCachable (  ) 

PRM_Parm* OBJ_Node::getCachedParm ( const char *  name,
int  name_idx 
) [inline, protected]

Definition at line 1105 of file OBJ_Node.h.

int OBJ_Node::getCachedParmIndex ( const char *  name,
int  name_idx 
) const [protected]

OBJ_XformCache::OBJ_LookupStatus OBJ_Node::getCachedTransform ( OP_Context context,
OBJ_XformCache::OBJ_XformType  type,
UT_DMatrix4 xform 
) const [protected]

bool OBJ_Node::getChildToWorldTransform ( OP_Context context,
UT_Matrix4 mat 
)

bool OBJ_Node::getChildToWorldTransform ( OP_Context context,
UT_DMatrix4 mat 
)

Returns the transforms provided by the object's parent. This is equivalent to applyOutputTransform( getLocalToWorldTransform()) Typically, this function is only used internally for the implementation of getParentToWorldTransform().

Note that in general, the following inequality holds, unless applyInputDependentTransform() has no effect:

virtual const char* OBJ_Node::getChildType (  )  const [virtual]

Reimplemented from OP_Network.

Reimplemented in OBJ_DopNet, and OBJ_SubNet.

virtual OP_OpTypeId OBJ_Node::getChildTypeID (  )  const [virtual]

Implements OP_Network.

Reimplemented in OBJ_DopNet, and OBJ_SubNet.

virtual OP_DATA_TYPE OBJ_Node::getCookedDataType (  )  const [protected, virtual]

Implements OP_Node.

fpreal OBJ_Node::getDefaultedFProperty ( const char *  name,
fpreal  now,
fpreal  def 
) [inline]

Definition at line 1307 of file OBJ_Node.h.

int OBJ_Node::getDefaultedIProperty ( const char *  name,
fpreal  now,
int  def 
) [inline]

Definition at line 1300 of file OBJ_Node.h.

const char* OBJ_Node::getDefaultedRawSProperty ( const char *  name,
fpreal  now,
UT_String result,
const char *  def 
) [inline]

Definition at line 1321 of file OBJ_Node.h.

const char* OBJ_Node::getDefaultedSProperty ( const char *  name,
fpreal  now,
UT_String result,
const char *  def 
) [inline]

Definition at line 1314 of file OBJ_Node.h.

DOP_Node* OBJ_Node::getDisplayDopPtr (  )  [inline]

Definition at line 613 of file OBJ_Node.h.

const GU_Detail* OBJ_Node::getDisplayGeometry ( OP_Context context,
int  check_enable = 1,
OP_Node **  source_node = 0 
)

GU_DetailHandle OBJ_Node::getDisplayGeometryHandle ( OP_Context context,
int  check_enable = 1,
OP_Node **  source_node = 0 
)

int OBJ_Node::getDisplayOrder (  )  const [inline]

Definition at line 1284 of file OBJ_Node.h.

int OBJ_Node::getDisplayOriginFlag (  )  const

SOP_Node* OBJ_Node::getDisplaySopPtr (  )  [inline]

Definition at line 609 of file OBJ_Node.h.

virtual void OBJ_Node::getDragDropChoice ( DD_Source src,
DD_ChoiceList c 
) [protected, virtual]

Reimplemented from OP_Node.

virtual const char* OBJ_Node::getFileExtension ( int  binary  )  const [protected, virtual]

Implements OP_Node.

int OBJ_Node::getFullCOP2Path ( const char *  relpath,
UT_String fullpath,
int &  flagdependent 
)

OBJ_Node* OBJ_Node::getGeometryInstance ( fpreal  now  ) 

static bool OBJ_Node::getGlobalKeepPosWhenMoving (  )  [inline, static]

Definition at line 708 of file OBJ_Node.h.

static OBJ_KeepPosType OBJ_Node::getGlobalKeepPosWhenParenting (  )  [inline, static]

Definition at line 703 of file OBJ_Node.h.

virtual fpreal OBJ_Node::getH (  )  const [virtual]

Node position/scale is used by the UI.

Reimplemented from OP_Node.

Reimplemented in OBJ_DopNet, OBJ_SopNet, and OBJ_SubNet.

virtual bool OBJ_Node::getHideDefaultParms (  )  const [inline, virtual]

Definition at line 852 of file OBJ_Node.h.

virtual void OBJ_Node::getIFDParms ( IFD_ObjectParms parms,
float  t,
const char *   
) [virtual]

static bool OBJ_Node::getIgnorePretransform (  )  [inline, static]

Definition at line 719 of file OBJ_Node.h.

static bool OBJ_Node::getIgnorePretransformValue (  )  [inline, static]

Definition at line 722 of file OBJ_Node.h.

virtual int* OBJ_Node::getIndirect (  )  const [protected, pure virtual]

OBJ_Node* OBJ_Node::getInstanceObject ( fpreal  now  ) 

bool OBJ_Node::getInverseLocalToWorldTransform ( OP_Context context,
UT_Matrix4 mat 
)

bool OBJ_Node::getInverseLocalToWorldTransform ( OP_Context context,
UT_DMatrix4 mat 
)

Calculates the inverse of the getLocalToWorldTransform().

bool OBJ_Node::getInverseObjectToWorldTransform ( OP_Context context,
UT_Matrix4 mat 
)

bool OBJ_Node::getInverseObjectToWorldTransform ( OP_Context context,
UT_DMatrix4 mat 
)

Calculates the inverse of the getObjectToWorldTransform().

const UT_DMatrix4& OBJ_Node::getInverseXform (  )  [inline, protected]

Definition at line 1115 of file OBJ_Node.h.

virtual int OBJ_Node::getIWorldTransform ( UT_DMatrix4 mat,
OP_Context context 
) [virtual]

Reimplemented from OP_Node.

bool OBJ_Node::getLocal2DToWorldTransform ( OP_Context context,
UT_DMatrix4 mat 
)

UT_Vector3 OBJ_Node::getLocalPivot ( OP_Context context  ) 

bool OBJ_Node::getLocalToWorldTransform ( OP_Context context,
UT_Matrix4 mat 
)

bool OBJ_Node::getLocalToWorldTransform ( OP_Context context,
UT_DMatrix4 mat 
)

Returns the full world transform of the object including all the component sub-matrices (parent and local). This is equivalent to getLocalTransform() * getParentToWorldTransform() Use this function to convert co-ordinates from the local (geometry) space to world space. It cooks the object first and returns the member variable myWorldTransform. Typically, this function is used to place child SOPs of the object in world space.

Parameters:
context The cook context, which contains the time.
mat The output parameter that will contain the calculated matrix.

bool OBJ_Node::getLocalTransform ( OP_Context context,
UT_Matrix4 mat 
)

bool OBJ_Node::getLocalTransform ( OP_Context context,
UT_DMatrix4 mat 
)

Obtains the effective local transform which does not depend on input nodes. This transform includes input independent matrix, pre-transform matrix, parameter transform matrix, and the look-at matrix. This method first cooks the object (if necessary) and then returns the member variable myXform.

Parameters:
context The cook context, which contains the time.
mat The output parameter that will contain the calculated matrix.

bool OBJ_Node::getLookatObjectIsTimeDependent ( const UT_String lookat,
double  t 
)

bool OBJ_Node::getLookatObjectTransform ( const UT_String lookat,
OP_Context context,
OP_Node addextrainputto,
UT_DMatrix4 xform,
bool &  timedep 
)

static void OBJ_Node::getManagementOperators ( OP_OperatorList op  )  [static]

SHOP_Node* OBJ_Node::getMaterialNode ( fpreal64  now  ) 

static const char* OBJ_Node::getMaterialParmToken (  )  [static]

virtual void OBJ_Node::getNodeSpecificInfoText ( OP_Context context,
int  verbose,
UT_WorkBuffer text 
) [virtual]

Reimplemented from OP_Node.

Reimplemented in OBJ_Bone, and OBJ_Fetch.

int OBJ_Node::getObjectDisplay ( double  t,
const OP_Network net = 0 
) const [inline]

Definition at line 1226 of file OBJ_Node.h.

bool OBJ_Node::getObjectToWorldTransform ( OP_Context context,
UT_Matrix4 mat 
)

bool OBJ_Node::getObjectToWorldTransform ( OP_Context context,
UT_DMatrix4 mat 
)

Returns a transform matrix that is only missing the local and look-at components. In terms of methods this is calculated by applyPreTransform( applyInputIndependentTransform( getParentToWorldTransform())) Use this function to convert co-ordinates from object space to world space. Object space includes everything except the object's local transform parameters. Typically, this function is used by handles to place themselves relative to the origin of the object.

Parameters:
context The cook context, which contains the time.
mat The output parameter that will contain the calculated matrix.

virtual OBJ_OBJECT_TYPE OBJ_Node::getObjectType (  )  const [pure virtual]

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

virtual int OBJ_Node::getOpShadingInfo ( UT_String str,
OP_Context contex 
) [protected, virtual]

virtual const char* OBJ_Node::getOpType (  )  const [virtual]

Implements OP_Node.

virtual OP_OpTypeId OBJ_Node::getOpTypeID (  )  const [virtual]

This returns the OP_OpTypeId which corresponds to this node type. Management nodes will return the type they really are, which is likely different than the network they currently reside in.

Implements OP_Node.

virtual void OBJ_Node::getParallelInputs ( OP_Context context,
OP_NodeList nodes 
) const [virtual]

Override this to specify the inputs which are needed for cooking this node which can be executed in parallel.

Reimplemented from OP_Node.

Reimplemented in OBJ_BlendSticky, and OBJ_SubNet.

virtual bool OBJ_Node::getParameterOrProperty ( const char *  name,
fpreal  now,
OP_Node *&  op,
PRM_Parm *&  parm,
bool  create_missing_multiparms,
PRM_ParmList obsolete = 0 
) [protected, virtual]

Reimplemented from OP_Parameters.

virtual bool OBJ_Node::getParameterOrPropertyByChannel ( const char *  name,
fpreal  now,
OP_Node *&  op,
PRM_Parm *&  parm,
int &  vectoridx,
PRM_ParmList obsolete = 0 
) [protected, virtual]

Reimplemented from OP_Parameters.

int OBJ_Node::getParentingErrorFlag (  )  const [inline]

Definition at line 678 of file OBJ_Node.h.

virtual OBJ_Node* OBJ_Node::getParentObject (  )  [virtual]

bool OBJ_Node::getParentToWorldTransform ( OP_Context context,
UT_Matrix4 mat 
)

bool OBJ_Node::getParentToWorldTransform ( OP_Context context,
UT_DMatrix4 mat 
)

Returns the effective world transform of the parent. The input depenent transform ensures that any externally dependent transformation have been taken into account (eg, the length of the parent bone for OBJ_Bone). This transform is the base to which all the local transforms are applied (pre-transform, parameter, etc).

In terms of methods this is calculated by applyInputDependentTransform( getParentObject()->getChildToWorldTransform()) If getParentObject() is NULL, then it simply returns applyInputDependentTransform(identity_matrix).

Use this function to convert coordinates that have not been transformed by the follow path or pre-transform. Typically, this function is only used internally for manipulating the pre-transform. If the object is in a subnet, then this will include the subnet's world transform.

Parameters:
context The cook context, which contains the time.
mat The output parameter that will contain the calculated matrix.

bool OBJ_Node::getParmTransform ( OP_Context context,
UT_Matrix4 xform 
)

virtual bool OBJ_Node::getParmTransform ( OP_Context context,
UT_DMatrix4 xform 
) [virtual]

Get the transform built from the trs parms of this object

Parameters:
context The cook context, which contains the time.
xform The output parameter, that contains the matrix described by the transformation parameters (rotation, tranlation, and scale).

Reimplemented in OBJ_Bone, and OBJ_Python.

virtual bool OBJ_Node::getParmTransformRotates ( OP_Context context,
UT_DMatrix4 xform 
) [virtual]

Reimplemented in OBJ_Bone.

virtual bool OBJ_Node::getParmTransformScales ( OP_Context context,
UT_DMatrix4 xform 
) [virtual]

Reimplemented in OBJ_Bone.

void OBJ_Node::getParmTransformTransferMatrix ( OP_Context context,
OBJ_TransformComponent  type,
UT_DMatrix4 xform 
) [protected]

Calculates a matrix that needs to be premultiplied with pretransform to transfer the transformation of type 'type' to the pretransform matrix

virtual bool OBJ_Node::getParmTransformTranslates ( OP_Context context,
UT_DMatrix4 xform 
) [virtual]

Reimplemented in OBJ_Bone.

OBJ_Node* OBJ_Node::getParticleObject ( fpreal  now  ) 

bool OBJ_Node::getPathObjectDetailHandle ( const UT_String path,
OP_Context context,
GU_ConstDetailHandle gdh,
UT_DMatrix4 xform 
)

bool OBJ_Node::getPathObjectIsTimeDependent ( const UT_String path,
double  t 
)

virtual int OBJ_Node::getPickable (  )  [virtual]

Reimplemented from OP_Node.

virtual void OBJ_Node::getPostParmSaveFlagsString ( UT_String cmd  )  const [protected, virtual]

Reimplemented from OP_Node.

int OBJ_Node::getPreLocalTransform ( OP_Context context,
UT_Matrix4 mat 
)

int OBJ_Node::getPreLocalTransform ( OP_Context context,
UT_DMatrix4 mat 
)

Obtains an accumulation of input independedn and pre-transform matrices. This is equivalent to: applyPreTransform(applyInputIndependent(identity)) Which is is the portion of the local transform that does not depend on the parameters (transform or look-at). It is not widely used and only relevant for the handles to orient themselves in parent space.

Parameters:
context The cook context, which contains the time.
mat The output parameter that will contain the calculated matrix.
Returns:
0 if mat is the identity, non-zero otherwise.

int OBJ_Node::getPreLookatTransform ( OP_Context context,
UT_DMatrix4 wolrdXform,
UT_DMatrix4 xform,
bool  norotates = false 
)

virtual void OBJ_Node::getPreParmSaveFlagsString ( UT_String cmd  )  const [protected, virtual]

Reimplemented from OP_Node.

UT_DMatrix4& OBJ_Node::getPreTransform (  )  [inline]

Definition at line 594 of file OBJ_Node.h.

const UT_DMatrix4& OBJ_Node::getPreTransform (  )  const [inline]

Returns current pretransform matrix.

Definition at line 592 of file OBJ_Node.h.

bool OBJ_Node::getPreTransformInput ( OP_Context context,
UT_DMatrix4 mat 
)

virtual int OBJ_Node::getRelativeTransform ( OP_Node to,
UT_DMatrix4 xform,
OP_Context context 
) [virtual]

Reimplemented from OP_Node.

virtual int OBJ_Node::getRelativeTransform ( OP_Node to,
UT_Matrix4 xform,
OP_Context context 
) [virtual]

Get the transform from this node's space to the 'to' node's space. Returns 1 if this was possible, 0 otherwise (e.g. failure to cook).

Reimplemented from OP_Node.

const GU_Detail* OBJ_Node::getRenderGeometry ( OP_Context context,
int  check_enable = 1 
)

GU_DetailHandle OBJ_Node::getRenderGeometryHandle ( OP_Context context,
int  check_enable = 1 
)

SOP_Node* OBJ_Node::getRenderSopPtr (  )  [inline]

Definition at line 611 of file OBJ_Node.h.

int OBJ_Node::getResolutionFromMenu ( int  i,
int &  x,
int &  y,
float &  a 
) [protected]

virtual void OBJ_Node::getRotations ( float  t,
float &  rx,
float &  ry,
float &  rz 
) [virtual]

Reimplemented from OP_Node.

virtual void OBJ_Node::getSaveFlagsString ( UT_String cmd,
const char *  flags,
bool  save_to_hip 
) const [protected, virtual]

Reimplemented from OP_Node.

virtual const char* OBJ_Node::getSetRotateParmName (  )  const [inline, virtual]

Reimplemented in OBJ_Bone.

Definition at line 754 of file OBJ_Node.h.

virtual const char* OBJ_Node::getSetScaleParmName (  )  const [inline, virtual]

Definition at line 753 of file OBJ_Node.h.

virtual const char* OBJ_Node::getSetTranslateParmName (  )  const [inline, virtual]

Definition at line 755 of file OBJ_Node.h.

SHOP_Node* OBJ_Node::getShopNode ( int  shop_type,
fpreal64  now,
const UT_Options options 
)

void OBJ_Node::getShopTransform ( UT_DMatrix4 xform,
int  shop_type,
fpreal64  now,
const UT_Options options 
)

int OBJ_Node::getShopType ( DD_Source src,
UT_String path,
int  create 
) [protected]

virtual bool OBJ_Node::getTimeOverride (  )  [inline, protected, virtual]

Reimplemented in OBJ_SubNet.

Definition at line 1111 of file OBJ_Node.h.

virtual float OBJ_Node::getVariableValue ( int  var_id,
int  thread 
) [virtual]

Reimplemented from OP_Parameters.

virtual bool OBJ_Node::getVisible (  )  const [virtual]

Reimplemented from OP_Node.

int OBJ_Node::getVopShopType ( DD_Source src,
UT_String path,
int  create 
) [protected]

virtual fpreal OBJ_Node::getW (  )  const [virtual]

Node position/scale is used by the UI.

Reimplemented from OP_Node.

Reimplemented in OBJ_DopNet, OBJ_SopNet, and OBJ_SubNet.

UT_Vector3 OBJ_Node::getWorldPivot ( OP_Context context  ) 

virtual int OBJ_Node::getWorldTransform ( UT_DMatrix4 mat,
OP_Context context 
) [virtual]

Reimplemented from OP_Node.

void OBJ_Node::getXformDescription ( const UT_DMatrix4 xform,
const char *  label_if_not_identity,
const char *  text_if_identity,
const UT_Vector3  pivot,
const UT_XformOrder  order,
UT_WorkBuffer text 
) [protected]

virtual void OBJ_Node::getXformOrder ( UT_XformOrder xord,
CH_Channel chp 
) [virtual]

Reimplemented from OP_Node.

static int OBJ_Node::handleMaterialOpt ( void *  obj,
int  index,
float  now,
const PRM_Template tplate 
) [static]

static int OBJ_Node::handlePreTransformMenu ( void *  o,
int  index,
float  t,
const PRM_Template  
) [static]

static void OBJ_Node::initializeExpressions (  )  [static]

static void OBJ_Node::installCommands ( CMD_Manager cman  )  [static]

int OBJ_Node::INSTANCE ( UT_String str,
fpreal  now 
)

void OBJ_Node::inverseDirty (  )  [inline, protected]

Definition at line 1114 of file OBJ_Node.h.

bool OBJ_Node::isCachingTransforms (  )  [protected]

virtual int OBJ_Node::isCookingRender (  )  const [inline, virtual]

Reimplemented from OP_Node.

Definition at line 685 of file OBJ_Node.h.

int OBJ_Node::isDisplayDisabled ( double  t,
const OP_Network net = 0 
) const

bool OBJ_Node::isDisplayTimeDependent (  )  const

virtual int OBJ_Node::isObjectLitBy ( OBJ_Node ,
float   
) [inline, virtual]

Reimplemented in OBJ_DopNet, and OBJ_Geometry.

Definition at line 761 of file OBJ_Node.h.

virtual int OBJ_Node::isObjectLitBySubnet ( OBJ_Node ,
float   
) [inline, virtual]

Reimplemented in OBJ_Geometry.

Definition at line 764 of file OBJ_Node.h.

virtual int OBJ_Node::isObjectRenderable (  )  const [virtual]

int OBJ_Node::isPreTransformIdentity (  )  [inline]

Definition at line 596 of file OBJ_Node.h.

void OBJ_Node::keepLastWorldTransform ( OP_Context context  ) 

int OBJ_Node::KEEPPOS ( void   )  [inline]

Definition at line 1149 of file OBJ_Node.h.

bool OBJ_Node::keepPosWhenMoving (  )  const

int OBJ_Node::keepPosWhenParenting (  ) 

virtual int OBJ_Node::keepWorldTransform ( OP_Context context,
const UT_DMatrix4 world_xform 
) [virtual]

Set the given world position by only modifying the pre-transform. This is less efficient than keepWorldTransformByOldInput() but more general. If your local t,r,s parms have not been modified, then use keepWorldTransformByOldInput instead.

Parameters:
context The cook context, which contains the time.
world_xform The world transform to set for this object.

Reimplemented in OBJ_Bone.

int OBJ_Node::keepWorldTransformByOldInput ( OP_Context context,
const UT_DMatrix4 old_parent_world_xform 
)

virtual bool OBJ_Node::loadPacket ( UT_IStream is,
const char *  token,
const char *  path = 0 
) [protected, virtual]

Reimplemented from OP_Node.

virtual bool OBJ_Node::loadPacket ( UT_IStream is,
short  class_id,
short  sig,
const char *  path = 0 
) [protected, virtual]

Reimplemented from OP_Node.

fpreal OBJ_Node::LOD ( fpreal  t,
fpreal  def = 1 
)

int OBJ_Node::LOOKAT ( UT_String str,
double  t 
) [inline]

Definition at line 1264 of file OBJ_Node.h.

void OBJ_Node::LOOKUP ( UT_String str,
double  t 
) [inline]

Definition at line 1160 of file OBJ_Node.h.

int OBJ_Node::MATTE ( fpreal  t,
int  default_value 
)

static PRM_Template* OBJ_Node::mergeObsoleteLists ( PRM_Template t1,
PRM_Template t2 
) [static]

OBJ_NodeFlags& OBJ_Node::objflags (  )  [inline]

Definition at line 688 of file OBJ_Node.h.

virtual void OBJ_Node::opChanged ( OP_EventType  reason,
void *  data = 0 
) [virtual]

Reimplemented from OP_Node.

Reimplemented in OBJ_DopNet, and OBJ_SubNet.

void OBJ_Node::P ( float *  v,
double  t 
) [inline]

Definition at line 1156 of file OBJ_Node.h.

int OBJ_Node::parmIndexDISPLAY (  )  const [inline]

Definition at line 1218 of file OBJ_Node.h.

int OBJ_Node::parmIndexTDISPLAY (  )  const [inline]

Definition at line 1254 of file OBJ_Node.h.

int OBJ_Node::PARTICLE ( UT_String s,
fpreal  t 
)

float OBJ_Node::PATHBANK ( double  t  )  [inline]

Definition at line 1175 of file OBJ_Node.h.

int OBJ_Node::PATHORIENT ( double  t  )  [inline]

Definition at line 1172 of file OBJ_Node.h.

int OBJ_Node::PATHPARMTYPE ( double  t  )  [inline]

Definition at line 1171 of file OBJ_Node.h.

float OBJ_Node::PATHPOS ( double  t  )  [inline]

Definition at line 1170 of file OBJ_Node.h.

float OBJ_Node::PATHROLL ( double  t  )  [inline]

Definition at line 1173 of file OBJ_Node.h.

int OBJ_Node::PATHSOP ( UT_String str,
double  t 
) [inline]

Definition at line 1270 of file OBJ_Node.h.

void OBJ_Node::PATHUP ( float *  v,
double  t 
) [inline]

Definition at line 1174 of file OBJ_Node.h.

int OBJ_Node::PHANTOM ( fpreal  t,
int  default_value 
)

int OBJ_Node::PICKING (  )  [inline]

Definition at line 1177 of file OBJ_Node.h.

void OBJ_Node::PICKSCRIPT ( UT_String str,
double  t 
) [inline]

Definition at line 1178 of file OBJ_Node.h.

int OBJ_Node::POINTINSTANCE ( fpreal  now  ) 

void OBJ_Node::POSTINCLUDE ( UT_String str,
fpreal  t 
)

void OBJ_Node::PREINCLUDE ( UT_String str,
fpreal  t 
)

int OBJ_Node::PROMOTE_POPGUIDES ( fpreal  t  )  [inline]

Definition at line 1278 of file OBJ_Node.h.

virtual void OBJ_Node::propagateEndBlockModify (  )  [virtual]

Reimplemented from OP_Node.

bool OBJ_Node::PTMOTIONBLUR ( UT_String str,
fpreal  now 
)

void OBJ_Node::R ( float *  v,
double  t 
) [inline]

Definition at line 1154 of file OBJ_Node.h.

int OBJ_Node::RAYBOUNCE ( fpreal  t,
int  default_value 
)

fpreal OBJ_Node::RAYCLIP ( fpreal  t,
fpreal  def = 0.001 
)

fpreal OBJ_Node::REFLRATE ( fpreal  t,
fpreal  def = 1 
)

void OBJ_Node::resetPreTransform (  ) 

This sets the pre-transform to the identity matrix. This will modify the object's world transform unless the pre-transform was already the identity.

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

Reimplemented from OP_Parameters.

Reimplemented in OBJ_Blend, OBJ_Fetch, OBJ_Geometry, OBJ_Handle, OBJ_Light, OBJ_Microphone, and OBJ_Sound.

void OBJ_Node::S ( float *  v,
double  t 
) [inline]

Definition at line 1155 of file OBJ_Node.h.

virtual int OBJ_Node::saveCookedData ( ostream &  os,
OP_Context ,
int  binary = 0 
) [protected, virtual]

Implements OP_Node.

virtual int OBJ_Node::saveCookedData ( const char *  ,
OP_Context  
) [protected, virtual]

Implements OP_Node.

virtual void OBJ_Node::saveFlagsForUndo (  )  [protected, virtual]

Reimplemented from OP_Node.

virtual OP_ERROR OBJ_Node::saveIntrinsic ( ostream &  os,
const OP_SaveFlags flags 
) [protected, virtual]

Reimplemented from OP_Node.

virtual void OBJ_Node::saveIntrinsicCommand ( ostream &  os,
const char *  name 
) [protected, virtual]

Reimplemented from OP_Node.

void OBJ_Node::savePreTransformForUndo (  ) 

Stores the current pre-transform for future undo.

float OBJ_Node::SCALE ( double  t  )  [inline]

Definition at line 1158 of file OBJ_Node.h.

int OBJ_Node::setCachable ( int  onOff  ) 

void OBJ_Node::setCachedTransform ( OP_Context context,
OBJ_XformCache::OBJ_XformType  type,
const UT_DMatrix4 xform 
) const [protected]

virtual void OBJ_Node::setCookingRender ( int  val  )  [inline, virtual]

Reimplemented from OP_Node.

Definition at line 686 of file OBJ_Node.h.

void OBJ_Node::setDCOLORB ( double  t,
float  b 
) [inline]

Definition at line 1214 of file OBJ_Node.h.

void OBJ_Node::setDCOLORG ( double  t,
float  g 
) [inline]

Definition at line 1212 of file OBJ_Node.h.

void OBJ_Node::setDCOLORR ( double  t,
float  r 
) [inline]

Definition at line 1210 of file OBJ_Node.h.

void OBJ_Node::setDisplayDisabledBySubnetNeedsUpdate (  )  [inline]

Definition at line 1295 of file OBJ_Node.h.

void OBJ_Node::setDisplayOrder ( int  order  )  [inline]

Definition at line 1288 of file OBJ_Node.h.

void OBJ_Node::setDisplayOriginFlag ( int  o  ) 

virtual void OBJ_Node::setExtraFlag ( char  flag,
int  onoff 
) [virtual]

Reimplemented from OP_Node.

virtual void OBJ_Node::setExtraFlags ( int  axis  )  [virtual]

Reimplemented from OP_Node.

static void OBJ_Node::setGlobalKeepPosWhenMoving ( bool  flag  )  [inline, static]

Definition at line 706 of file OBJ_Node.h.

static void OBJ_Node::setGlobalKeepPosWhenParenting ( OBJ_KeepPosType  flag  )  [inline, static]

Definition at line 701 of file OBJ_Node.h.

static void OBJ_Node::setIgnorePretransformValue ( bool  flag  )  [inline, static]

Definition at line 717 of file OBJ_Node.h.

virtual OP_ERROR OBJ_Node::setIndirectInput ( unsigned  idx,
OP_InputIndirect input 
) [virtual]

Connects an input to an indirect input of our parent subnet.

Reimplemented from OP_Node.

Reimplemented in OBJ_BlendSticky, and OBJ_SubNet.

virtual OP_ERROR OBJ_Node::setInput ( unsigned  idx,
OP_Node op,
unsigned  outputIdx = 0 
) [virtual]

Sets a given input to connect to an output of a particular node.

Reimplemented from OP_Node.

Reimplemented in OBJ_BlendSticky, and OBJ_SubNet.

virtual OP_ERROR OBJ_Node::setInputReference ( unsigned  idx,
const char *  label,
int  keeppos,
unsigned  outputIdx = 0 
) [virtual]

Connects an input to particular node by name in the network.

Reimplemented from OP_Node.

Reimplemented in OBJ_BlendSticky, and OBJ_SubNet.

void OBJ_Node::setIsPreTransformIdentity ( int  yesno  )  [inline]

Definition at line 598 of file OBJ_Node.h.

void OBJ_Node::setKEEPPOS ( int  v  )  [inline]

Definition at line 1147 of file OBJ_Node.h.

void OBJ_Node::setLookAtObject ( OBJ_Node node  ) 

void OBJ_Node::setParentingErrorFlag ( int  o  )  [inline]

Definition at line 680 of file OBJ_Node.h.

OP_ERROR OBJ_Node::setParentObject ( OBJ_Node node  )  [inline]

Definition at line 1067 of file OBJ_Node.h.

bool OBJ_Node::setParmTransform ( OP_Context context,
const UT_DMatrix4 xform,
bool  create_keys = false,
bool  fail_on_locked_parms = false 
)

bool OBJ_Node::setParmTransformFromWorld ( OP_Context context,
const UT_DMatrix4 world_xform,
bool  create_keys = false,
bool  fail_on_locked_parms = false 
)

void OBJ_Node::setPathObject ( OBJ_Node node  ) 

virtual int OBJ_Node::setPickable ( int  onOff  )  [virtual]

Reimplemented from OP_Node.

Examples:
HOM/ObjNode_setSelectable.C.

virtual void OBJ_Node::setPivotFromHandle ( double  t,
const UT_Vector3 pivot,
bool  create_keys = false,
int  key_idx = -1,
bool  check_modified = true 
) [virtual]

void OBJ_Node::setPreTransform ( const UT_DMatrix4 xform  ) 

This sets the pretransform to the given matrix. This will modify the object's effective world transform unless the given pre-transform is identity.

void OBJ_Node::setPX ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1139 of file OBJ_Node.h.

void OBJ_Node::setPY ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1140 of file OBJ_Node.h.

void OBJ_Node::setPZ ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1141 of file OBJ_Node.h.

void OBJ_Node::setRigidParmTransform ( OP_Context context,
const UT_DMatrix4 xform,
bool  create_keys = false 
)

void OBJ_Node::setRigidParmTransformFromWorld ( OP_Context context,
const UT_DMatrix4 world_xform,
bool  create_keys = false 
)

virtual void OBJ_Node::setRotateFromHandle ( double  t,
const UT_Vector3 r,
bool  create_keys = false,
int  key_idx = -1,
bool  check_modified = true 
) [virtual]

Reimplemented in OBJ_Bone.

void OBJ_Node::setROTORDER ( int  v  )  [inline]

Definition at line 1146 of file OBJ_Node.h.

void OBJ_Node::setRX ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1133 of file OBJ_Node.h.

void OBJ_Node::setRY ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1134 of file OBJ_Node.h.

void OBJ_Node::setRZ ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1135 of file OBJ_Node.h.

void OBJ_Node::setSCALE ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1142 of file OBJ_Node.h.

virtual void OBJ_Node::setScaleFromHandle ( double  t,
const UT_Vector3 s,
bool  create_keys = false,
int  key_idx = -1,
bool  check_modified = true 
) [virtual]

Reimplemented in OBJ_Bone.

void OBJ_Node::setSX ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1136 of file OBJ_Node.h.

void OBJ_Node::setSY ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1137 of file OBJ_Node.h.

void OBJ_Node::setSZ ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1138 of file OBJ_Node.h.

virtual void OBJ_Node::setTranslateFromHandle ( double  t,
const UT_Vector3 trans,
bool  create_keys = false,
int  key_idx = -1,
bool  check_modified = true 
) [virtual]

void OBJ_Node::setTRANSORDER ( int  v  )  [inline]

Definition at line 1145 of file OBJ_Node.h.

void OBJ_Node::setTX ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1130 of file OBJ_Node.h.

void OBJ_Node::setTY ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1131 of file OBJ_Node.h.

void OBJ_Node::setTZ ( double  t,
float  v,
int  h = 0 
) [inline]

Definition at line 1132 of file OBJ_Node.h.

virtual bool OBJ_Node::setVisible ( int  onoff  )  [virtual]

Reimplemented from OP_Node.

void OBJ_Node::setXformOrderFromHandle ( double  t,
int  value,
bool  create_keys = false,
bool  check_modified = true 
)

fpreal OBJ_Node::SHADERATE ( fpreal  t,
fpreal  defval = 1 
)

fpreal OBJ_Node::SHADOWRATE ( fpreal  t,
fpreal  def = 1 
)

void OBJ_Node::splitCOP2Path ( const char *  path,
UT_String net,
UT_String nodepath 
)

virtual bool OBJ_Node::supportedDropShop ( int  shop_type  )  [protected, virtual]

void OBJ_Node::T ( float *  v,
double  t 
) [inline]

Definition at line 1153 of file OBJ_Node.h.

int OBJ_Node::TDISPLAY (  )  const [inline]

Definition at line 1249 of file OBJ_Node.h.

virtual int OBJ_Node::testDragDrop ( DD_Source src  )  [protected, virtual]

Reimplemented from OP_Node.

virtual void OBJ_Node::transferLocalToPreTransform ( double  gtime  )  [virtual]

This transfers the object's transform parameters (L) to the pre-transform. This does not modify the effective world transform.

Reimplemented in OBJ_Bone.

virtual void OBJ_Node::transferLocalToPreTransformRotates ( double  gtime  )  [virtual]

Transfers only the rotate portion of the matrix to pre-transform.

Reimplemented in OBJ_Bone.

virtual void OBJ_Node::transferLocalToPreTransformScales ( double  gtime  )  [virtual]

Transfers only the scales portion of the matrix to pre-transform.

virtual void OBJ_Node::transferLocalToPreTransformTranslates ( double  gtime  )  [virtual]

Transfers only the translates portion of the matrix to pre-transform.

virtual void OBJ_Node::transferPreToLocalTransform ( double  gtime,
bool  follow_chan_refs = false 
) [virtual]

This extracts the object's pre-transform into its transform parameters. If the extraction involved shears, then only the non-sheared portion is extracted. This does not modify the effective world transform.

Reimplemented in OBJ_Bone.

int OBJ_Node::TRANSMITBOUNCE ( fpreal  t,
int  default_value 
)

int OBJ_Node::TRS ( void   ) 

int OBJ_Node::USE_DCOLOR (  )  [inline]

Definition at line 1203 of file OBJ_Node.h.

virtual int OBJ_Node::VPORT_DISPLAYASSUBDIV (  )  [inline, virtual]

Reimplemented in OBJ_Geometry.

Definition at line 1185 of file OBJ_Node.h.

virtual int OBJ_Node::VPORT_SHADEOPEN (  )  [inline, virtual]

Reimplemented in OBJ_Geometry.

Definition at line 1184 of file OBJ_Node.h.

int OBJ_Node::XYZ ( void   ) 


Member Data Documentation

const char* OBJ_Node::boundingBoxToken [static]

Definition at line 778 of file OBJ_Node.h.

const char* OBJ_Node::boundingSphereToken [static]

Definition at line 779 of file OBJ_Node.h.

const char* OBJ_Node::displaySopToken [static]

Definition at line 776 of file OBJ_Node.h.

const char* OBJ_Node::input1ObjectToken [static]

Definition at line 780 of file OBJ_Node.h.

const char* OBJ_Node::input2ObjectToken [static]

Definition at line 781 of file OBJ_Node.h.

const char* OBJ_Node::input3ObjectToken [static]

Definition at line 782 of file OBJ_Node.h.

const char* OBJ_Node::input4ObjectToken [static]

Definition at line 783 of file OBJ_Node.h.

Examples:
OBJ/OBJ_WorldAlign.C.

Definition at line 1127 of file OBJ_Node.h.

Examples:
OBJ/OBJ_WorldAlign.C.

Definition at line 1126 of file OBJ_Node.h.

Definition at line 222 of file OBJ_Node.h.

const char* OBJ_Node::renderSopToken [static]

Definition at line 777 of file OBJ_Node.h.


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

Generated on Mon Jan 28 00:29:43 2013 for HDK by  doxygen 1.5.9