MOT_Director Class Reference

#include <MOT_Director.h>

Inheritance diagram for MOT_Director:

OP_Director OP_Network OP_OTLManagerSink OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner

List of all members.

Public Member Functions

 MOT_Director (const char *appname, bool alloptypes=true)
virtual ~MOT_Director ()
virtual OP_NodegetChild (const char *name, int *hint=0) const
virtual OP_NodegetChild (int index) const
virtual void clearNetwork (int clear_aliases)
MGR_NodegetObjectManager ()
MGR_NodegetCopManager ()
MGR_NodegetRenderManager ()
MGR_NodegetParticleManager ()
MGR_NodegetChopNetManager ()
MGR_NodegetShopManager ()
MGR_NodegetVopManager ()
const UT_StringgetFileName () const
void setFileName (const char *nm)
void bumpFileName ()
void setSaveTime ()
bool moveFileNameToNumberedBackup (UT_String &errorstring, bool autosave)
void resetForNewFile ()
virtual void findInternalScriptOperators (const char *indexPath, OP_OTLDefinitionArray &defs)
virtual OP_NodelinkInternalScriptOperator (const char *definitionOp, OP_Operator *op)
virtual void getInternalScriptDefinition (OP_Node *definitionOp, UT_String &definition)
virtual OP_ERROR saveNodeSpareParms (OP_Parameters *node, bool compiled, ostream &os) const
virtual bool loadNodeSpareParms (OP_Parameters *node, UT_IStream &is, UT_String &errors) const
virtual bool addNodeSpareParm (OP_Parameters *node, PRM_Template *parmtemplate) const
virtual bool removeNodeSpareParm (OP_Parameters *node, const char *parmname, UT_StringArray *errs=NULL, UT_StringArray *warn=NULL) const
virtual void changeNodeSpareParms (OP_Parameters *node, PI_EditScriptedParms &parms, UT_String &errors) const
virtual void saveNodeSpareParmCommands (OP_Parameters *node, ostream &os, const char *nodename, bool saveempty) const
virtual void deleteNodeSpareParmLayout (OP_Parameters *node) const
virtual void deleteAllNodeSpareParms (OP_Parameters *node) const
virtual PRM_ScriptPageallocateSpareScriptPage (OP_Operator *op)
virtual void saveNodeCompiledCode (OP_Node *node, ostream &os)
virtual bool loadNodeCompiledCode (OP_Node *node, UT_IStream &is)
virtual void saveNodeCompiledDs (OP_Node *node, ostream &os)
virtual bool loadNodeCompiledDs (OP_Node *node, UT_IStream &is)
virtual void opUpdateAllExports ()
bool loadOrMergeHipFile (const char *file_name, bool merge, const char *pattern, bool overwrite, UT_String &warnings_or_errors)
void getCollisionsIfMerged (const char *file_name, OP_NodeList &node_collisions, UT_PtrArray< OP_NetworkBox * > &netbox_collisions, UT_PtrArray< OP_PostIt * > &pnote_collisions, const char *pattern, UT_String &errors)
void saveHipFile (const char *file_name, bool channels_only, UT_String &errors)
bool isBusy (UT_String &msgs)
void setMainWindow (UI_Window *window)

Static Public Member Functions

static void installFullCVEX ()
 Install geometric functions into CVEX.
static OP_NodecreateNewOp (const OP_Network *net, const char *opname, const char *node_name=NULL)
static const char * hasSubNetworks (OP_Network *net)
static OP_NetworkbuildSubNetwork (OP_Network *net, UT_String &err, OP_NodeList *from_nodes=NULL, UT_PtrArray< OP_PostIt * > *from_postits=NULL, const char *preferred_subnet_name=NULL)
static void extractSubNetwork (OP_Network *subnet, UT_String &err)

Protected Member Functions

virtual void clearHandleSettings (OP_Operator *op)


Detailed Description

Examples:

standalone/standalone.C, and standalone/traverse.C.

Definition at line 30 of file MOT_Director.h.


Constructor & Destructor Documentation

MOT_Director::MOT_Director ( const char *  appname,
bool  alloptypes = true 
)

virtual MOT_Director::~MOT_Director (  )  [virtual]


Member Function Documentation

virtual bool MOT_Director::addNodeSpareParm ( OP_Parameters node,
PRM_Template parmtemplate 
) const [virtual]

Reimplemented from OP_Director.

virtual PRM_ScriptPage* MOT_Director::allocateSpareScriptPage ( OP_Operator op  )  [virtual]

Reimplemented from OP_Director.

static OP_Network* MOT_Director::buildSubNetwork ( OP_Network net,
UT_String err,
OP_NodeList from_nodes = NULL,
UT_PtrArray< OP_PostIt * > *  from_postits = NULL,
const char *  preferred_subnet_name = NULL 
) [static]

void MOT_Director::bumpFileName (  ) 

virtual void MOT_Director::changeNodeSpareParms ( OP_Parameters node,
PI_EditScriptedParms parms,
UT_String errors 
) const [virtual]

Reimplemented from OP_Director.

virtual void MOT_Director::clearHandleSettings ( OP_Operator op  )  [protected, virtual]

Reimplemented from OP_Director.

virtual void MOT_Director::clearNetwork ( int  clear_aliases  )  [virtual]

Reimplemented from OP_Director.

static OP_Node* MOT_Director::createNewOp ( const OP_Network net,
const char *  opname,
const char *  node_name = NULL 
) [static]

virtual void MOT_Director::deleteAllNodeSpareParms ( OP_Parameters node  )  const [virtual]

Reimplemented from OP_Director.

virtual void MOT_Director::deleteNodeSpareParmLayout ( OP_Parameters node  )  const [virtual]

Reimplemented from OP_Director.

static void MOT_Director::extractSubNetwork ( OP_Network subnet,
UT_String err 
) [static]

virtual void MOT_Director::findInternalScriptOperators ( const char *  indexPath,
OP_OTLDefinitionArray defs 
) [virtual]

Reimplemented from OP_Director.

virtual OP_Node* MOT_Director::getChild ( int  index  )  const [virtual]

Reimplemented from OP_Network.

virtual OP_Node* MOT_Director::getChild ( const char *  name,
int *  hint = 0 
) const [virtual]

Reimplemented from OP_Network.

MGR_Node* MOT_Director::getChopNetManager (  )  [inline]

Definition at line 45 of file MOT_Director.h.

void MOT_Director::getCollisionsIfMerged ( const char *  file_name,
OP_NodeList node_collisions,
UT_PtrArray< OP_NetworkBox * > &  netbox_collisions,
UT_PtrArray< OP_PostIt * > &  pnote_collisions,
const char *  pattern,
UT_String errors 
)

MGR_Node* MOT_Director::getCopManager (  )  [inline]

Definition at line 42 of file MOT_Director.h.

const UT_String& MOT_Director::getFileName (  )  const [inline]

Definition at line 49 of file MOT_Director.h.

virtual void MOT_Director::getInternalScriptDefinition ( OP_Node definitionOp,
UT_String definition 
) [virtual]

Reimplemented from OP_Director.

MGR_Node* MOT_Director::getObjectManager (  )  [inline]

Definition at line 41 of file MOT_Director.h.

MGR_Node* MOT_Director::getParticleManager (  )  [inline]

Definition at line 44 of file MOT_Director.h.

MGR_Node* MOT_Director::getRenderManager (  )  [inline]

Definition at line 43 of file MOT_Director.h.

MGR_Node* MOT_Director::getShopManager (  )  [inline]

Definition at line 46 of file MOT_Director.h.

MGR_Node* MOT_Director::getVopManager (  )  [inline]

Definition at line 47 of file MOT_Director.h.

static const char* MOT_Director::hasSubNetworks ( OP_Network net  )  [static]

static void MOT_Director::installFullCVEX (  )  [static]

Install geometric functions into CVEX.

When writing HDK code that uses CVEX, geometry functions will be available when the HDK code is used inside mantra or houdini. However, HDK stand-alone applications run CVEX in a more lean-and-mean mode where functions like getbounds(), volumesample() or metastart() aren't available.

Calling this static method (before invoking any CVEX functions) will ensure that the geometry functions are installed properly.

Note:
You do not have to call this if you create a MOT_Director
Examples:
CVEX/cvexsample.C, and CVEX/simple.C.

bool MOT_Director::isBusy ( UT_String msgs  ) 

virtual OP_Node* MOT_Director::linkInternalScriptOperator ( const char *  definitionOp,
OP_Operator op 
) [virtual]

Reimplemented from OP_Director.

virtual bool MOT_Director::loadNodeCompiledCode ( OP_Node node,
UT_IStream is 
) [virtual]

Reimplemented from OP_Director.

virtual bool MOT_Director::loadNodeCompiledDs ( OP_Node node,
UT_IStream is 
) [virtual]

Reimplemented from OP_Director.

virtual bool MOT_Director::loadNodeSpareParms ( OP_Parameters node,
UT_IStream is,
UT_String errors 
) const [virtual]

Reimplemented from OP_Director.

bool MOT_Director::loadOrMergeHipFile ( const char *  file_name,
bool  merge,
const char *  pattern,
bool  overwrite,
UT_String warnings_or_errors 
)

bool MOT_Director::moveFileNameToNumberedBackup ( UT_String errorstring,
bool  autosave 
)

virtual void MOT_Director::opUpdateAllExports (  )  [virtual]

Reimplemented from OP_Director.

virtual bool MOT_Director::removeNodeSpareParm ( OP_Parameters node,
const char *  parmname,
UT_StringArray errs = NULL,
UT_StringArray warn = NULL 
) const [virtual]

Reimplemented from OP_Director.

void MOT_Director::resetForNewFile (  ) 

void MOT_Director::saveHipFile ( const char *  file_name,
bool  channels_only,
UT_String errors 
)

virtual void MOT_Director::saveNodeCompiledCode ( OP_Node node,
ostream &  os 
) [virtual]

Reimplemented from OP_Director.

virtual void MOT_Director::saveNodeCompiledDs ( OP_Node node,
ostream &  os 
) [virtual]

Reimplemented from OP_Director.

virtual void MOT_Director::saveNodeSpareParmCommands ( OP_Parameters node,
ostream &  os,
const char *  nodename,
bool  saveempty 
) const [virtual]

Reimplemented from OP_Director.

virtual OP_ERROR MOT_Director::saveNodeSpareParms ( OP_Parameters node,
bool  compiled,
ostream &  os 
) const [virtual]

Reimplemented from OP_Director.

void MOT_Director::setFileName ( const char *  nm  ) 

void MOT_Director::setMainWindow ( UI_Window *  window  )  [inline]

Sets the window so that we can set the title with a new filename

Definition at line 195 of file MOT_Director.h.

void MOT_Director::setSaveTime (  ) 


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

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