HDK
|
#include <HOM_DopNode.h>
Public Member Functions | |
HOM_DopNode () | |
HOM_DopNode (const HOM_DopNode &dop_node) | |
~HOM_DopNode () override | |
virtual HOM_Node * | dopNetNode ()=0 |
HOM_DopSimulation * | simulation () override=0 |
virtual std::vector < HOM_ElemPtr< HOM_DopData > > | processedObjects ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_DopData > > | createdObjects ()=0 |
virtual bool | isBypassed ()=0 |
virtual void | bypass (bool on)=0 |
virtual bool | isDisplayFlagSet ()=0 |
virtual void | setDisplayFlag (bool on)=0 |
virtual bool | isTemplateFlagSet ()=0 |
virtual void | setTemplateFlag (bool on)=0 |
virtual HOM_Node * | displayNode ()=0 |
virtual HOM_Node * | renderNode ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_DopData > > | objectsToProcess ()=0 |
virtual HOM_DopData * | pythonSolverData ()=0 |
Public Member Functions inherited from HOM_OpNode | |
HOM_OpNode () | |
HOM_OpNode (const HOM_OpNode &node) | |
~HOM_OpNode () override | |
virtual std::vector< std::string > | _getArgumentAutoComplete (const char *method_name, const char *arguments, bool meta_info_only=false)=0 |
int | __hash__ () override=0 |
std::string | __repr__ () override=0 |
virtual int | opTypeIdAsInt ()=0 |
virtual int | objTypeAsInt ()=0 |
virtual std::string | creatorState ()=0 |
virtual void | setCreatorState (const char *state)=0 |
virtual bool | isBuiltExplicitly ()=0 |
virtual void | setBuiltExplicitly (bool built_explicitly)=0 |
virtual HOM_EnumValue * | expressionLanguage ()=0 |
virtual void | setExpressionLanguage (HOM_EnumValue &language)=0 |
virtual HOM_Parm * | parm (const char *parm_path)=0 |
virtual HOM_ParmTuple * | parmTuple (const char *parm_path)=0 |
virtual std::vector < HOM_ElemPtr< HOM_Parm > > | globParms (const char *pattern, bool ignore_case=false, bool search_label=false, bool single_pattern=false)=0 |
virtual std::vector < HOM_ElemPtr< HOM_Parm > > | parms ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Parm > > | parmsReferencingThis ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_ParmTuple > > | parmTuples ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Parm > > | spareParms ()=0 |
virtual void | removeSpareParms ()=0 |
virtual void | syncNodeVersionIfNeeded (const std::string &from_version)=0 |
virtual void | setParmTemplateGroup (HOM_ParmTemplateGroup &parm_template_group, bool rename_conflicting_parms=false)=0 |
virtual std::vector < HOM_ElemPtr< HOM_ParmTuple > > | parmTuplesInFolder (const std::vector< std::string > &folder_names)=0 |
virtual std::vector < HOM_ElemPtr< HOM_Parm > > | parmsInFolder (const std::vector< std::string > &folder_names)=0 |
virtual HOM_ParmTemplateGroup * | parmTemplateGroup ()=0 |
virtual std::vector< std::string > | localVariables ()=0 |
virtual std::vector< std::string > | localAttributes ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | references (bool include_children=true)=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | dependents (bool include_children=true)=0 |
virtual std::vector< std::pair < HOM_ElemPtr< HOM_Parm > , std::string > > | fileReferences (bool recurse=true, const char *project_dir_variable="HIP", bool include_all_refs=true)=0 |
virtual bool | isTimeDependent ()=0 |
virtual void | allowEditingOfContents (bool propagate=false)=0 |
virtual void | matchCurrentDefinition ()=0 |
virtual bool | matchesCurrentDefinition ()=0 |
virtual void | syncDelayedDefinition ()=0 |
virtual bool | isDelayedDefinition ()=0 |
virtual std::map< HOM_ElemPtr < HOM_Parm >, std::string > | parmAliases (bool recurse=false)=0 |
virtual void | clearParmAliases ()=0 |
SWIGOUT (%kwargs createCompiledDigitalAsset) | |
virtual void | createCompiledDigitalAsset (const char *name=NULL, const char *hda_file_name=NULL, const char *description=NULL)=0 |
virtual bool | isInsideLockedHDA ()=0 |
virtual bool | isEditableInsideLockedHDA ()=0 |
virtual bool | isLockedHDA ()=0 |
virtual bool | isCompiled ()=0 |
virtual bool | isMaterialManager ()=0 |
virtual int | outputForViewFlag ()=0 |
virtual void | setOutputForViewFlag (int output)=0 |
virtual HOM_HDAModule * | hdaModule ()=0 |
virtual HOM_HDAViewerStateModule * | hdaViewerStateModule ()=0 |
virtual HOM_HDAViewerHandleModule * | hdaViewerHandleModule ()=0 |
virtual HOM_HDAModule * | hm () |
SWIGOUT (%kwargs createDigitalAsset) | |
virtual HOM_Node * | createDigitalAsset (const char *name=NULL, const char *hda_file_name=NULL, const char *description=NULL, int min_num_inputs=0, int max_num_inputs=0, bool compress_contents=false, const char *comment=NULL, const char *version=NULL, bool save_as_embedded=false, bool ignore_external_references=false, bool compile_asset=false, bool change_node_type=true, bool create_backup=true, const char *install_path=NULL)=0 |
SWIGOUT (%kwargs changeNodeType) | |
virtual HOM_Node * | changeNodeType (const char *new_node_type, bool keep_name=true, bool keep_parms=true, bool keep_network_contents=true, bool force_change_on_node_type_match=false)=0 |
virtual void | selectNextVisibleWorkItem ()=0 |
virtual void | selectPreviousVisibleWorkItem ()=0 |
virtual void | deselectWorkItem ()=0 |
virtual void | setCurrentTOPPage (int page)=0 |
virtual bool | canGenerateCookCode (bool check_parent=false, bool check_auto_shader=true)=0 |
virtual HOM_Node * | cookCodeGeneratorNode ()=0 |
virtual std::string | cookCodeLanguage ()=0 |
virtual bool | supportsMultiCookCodeContexts ()=0 |
virtual void | saveCookCodeToFile (const char *file_name, bool skip_header=false, const char *context_name=NULL)=0 |
void | saveCodeToFile (const char *file_name, bool skip_header=false, const char *context_name=NULL) |
virtual void | saveCompiledCookCodeToFile (const char *file_name, const char *context_name=NULL)=0 |
void | saveToCompiledVexFile (const char *file_name, const char *context_name=NULL) |
virtual void | cook (bool force=false, const std::vector< double > frame_range=std::vector< double >())=0 |
virtual void | _cookNoInterruptInternal (bool force=false, const std::vector< double > frame_range=std::vector< double >())=0 |
virtual bool | needsToCook ()=0 |
Determine if this node to cook at the current evaluation time. More... | |
virtual bool | needsToCook (double time)=0 |
Determine if this node to cook at the given time. More... | |
virtual int | cookCount ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | cookPathNodes ()=0 |
virtual HOM_NodeInfoTree | infoTree (bool verbose=false, bool debug=false, int output_index=0, bool force_cook=false)=0 |
virtual void | updateParmStates ()=0 |
virtual void | runInitScripts ()=0 |
virtual std::string | deleteScript ()=0 |
virtual void | setDeleteScript (const std::string &script_text, HOM_EnumValue &language=HOM_scriptLanguage::Python)=0 |
virtual HOM_NodeGroup * | addNodeGroup (const char *name=NULL)=0 |
virtual std::vector < HOM_ElemPtr< HOM_NodeGroup > > | nodeGroups ()=0 |
virtual HOM_NodeGroup * | nodeGroup (const char *name)=0 |
virtual std::string | motionEffectsNetworkPath ()=0 |
virtual HOM_Node * | findOrCreateMotionEffectsNetwork (bool create=true)=0 |
virtual void | createOrMoveVisualizer (int output_index)=0 |
virtual void | saveItemsToFile (const std::vector< HOM_NetworkMovableItem * > &items, const char *file_name, bool save_hda_fallbacks=false)=0 |
virtual void | loadItemsFromFile (const char *file_name, bool ignore_load_warnings=false)=0 |
virtual void | addOpaqueEventCallback (const std::vector< HOM_EnumValue * > &event_types, void *py_callback)=0 |
virtual void | addOpaqueParmCallback (void *py_callback, const std::vector< std::string > &names)=0 |
virtual void | removeOpaqueEventCallback (const std::vector< HOM_EnumValue * > &event_types, void *py_callback)=0 |
virtual void | removeAllEventCallbacks ()=0 |
virtual std::vector< std::pair < std::vector< HOM_EnumValue * > , void * > > | opaqueEventCallbacks ()=0 |
virtual int | getUniqueId ()=0 |
virtual double | stampValue (const char *name, double default_value)=0 |
virtual std::string | stampValue (const char *name, const char *default_value)=0 |
virtual std::string | asCode (bool brief=false, bool recurse=false, bool save_channels_only=false, bool save_creation_commands=true, bool save_keys_in_frames=false, bool save_outgoing_wires=false, bool save_parm_values_only=false, bool save_spare_parms=true, bool save_box_membership=true, const char *function_name=NULL)=0 |
virtual std::vector< std::string > | dataBlockKeys (const char *blocktype=nullptr)=0 |
virtual std::string | dataBlockType (const char *key)=0 |
virtual HOM_BinaryString | dataBlock (const char *key)=0 |
virtual void | setDataBlock (const char *key, HOM_BinaryString data, const char *block_type=nullptr)=0 |
virtual void | removeDataBlock (const char *key)=0 |
virtual void | setOpaqueCachedUserData (const char *name, void *opaque_py_object)=0 |
virtual void * | opaqueCachedUserData (const char *name)=0 |
virtual void | destroyCachedUserData (const char *name, bool must_exist=true)=0 |
virtual void | clearCachedUserDataDict ()=0 |
virtual std::map< std::string, PY_OpaqueObject > | cachedUserDataDict ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | findNodesThatProcessedObject (HOM_DopObject &dop_object)=0 |
virtual HOM_BinaryString | _parmClipData (double start, double end, bool binary=true, bool use_blosc_compression=true, double sample_rate=0, bool scoped_only=false)=0 |
virtual void | _setParmClipData (HOM_BinaryString data, bool binary=true, bool blosc_compressed=true, double sample_rate=0, double start=HOM_MIN_NEGATIVE_DOUBLE)=0 |
virtual void | _saveParmClip (std::string file_name, double start, double end, double sample_rate=0, bool scoped_only=false)=0 |
virtual void | _loadParmClip (std::string file_name, double sample_rate=0, double start=HOM_MIN_NEGATIVE_DOUBLE)=0 |
virtual int | __creationTime ()=0 |
virtual int | __modificationTime ()=0 |
virtual void * | _asVoidPointer ()=0 |
virtual void | addError (const char *message=0, const HOM_EnumValue &severity=HOM_severityType::Error)=0 |
virtual void | addWarning (const char *message=0)=0 |
virtual void | addMessage (const char *message=0)=0 |
virtual float | lastCookTime ()=0 |
virtual std::map< std::string, hboost::any > | lastCookContextOptions (bool only_used_options=false)=0 |
Public Member Functions inherited from HOM_Node | |
HOM_Node () | |
HOM_Node (const HOM_Node &node) | |
~HOM_Node () override | |
virtual bool | operator== (HOM_PtrOrNull< HOM_Node > node)=0 |
virtual bool | operator!= (HOM_PtrOrNull< HOM_Node > node)=0 |
virtual std::string | __str__ ()=0 |
virtual bool | isNetwork ()=0 |
virtual bool | isEditable ()=0 |
virtual HOM_NodeType * | type ()=0 |
virtual HOM_NodeTypeCategory * | childTypeCategory ()=0 |
virtual bool | isFlagReadable (HOM_EnumValue &flag)=0 |
virtual bool | isFlagWritable (HOM_EnumValue &flag)=0 |
virtual bool | isGenericFlagSet (HOM_EnumValue &flag)=0 |
virtual void | setGenericFlag (HOM_EnumValue &flag, bool value)=0 |
virtual bool | isDisplayDescriptiveNameFlagSet ()=0 |
virtual void | setDisplayDescriptiveNameFlag (bool on)=0 |
virtual std::vector< std::string > | errors ()=0 |
virtual std::vector< std::string > | warnings ()=0 |
virtual std::vector< std::string > | messages ()=0 |
virtual HOM_Node * | node (const char *node_path)=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | nodes (const std::vector< std::string > &node_paths)=0 |
virtual HOM_NetworkMovableItem * | item (const char *item_path)=0 |
virtual std::vector < HOM_ElemPtr < HOM_NetworkMovableItem > > | items (const std::vector< std::string > &item_paths)=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | glob (const char *pattern, bool ignore_case=false)=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | recursiveGlob (const char *pattern, HOM_EnumValue &filter=HOM_nodeTypeFilter::NoFilter, bool include_subnets=true)=0 |
virtual HOM_Node * | createNode (const char *node_type_name, const char *node_name=NULL, bool run_init_scripts=true, bool load_contents=true, bool exact_type_name=false, bool force_valid_node_name=false)=0 |
virtual int | inputIndex (const char *input_name)=0 |
virtual int | outputIndex (const char *output_name)=0 |
virtual void | setInput (int input_index, HOM_NetworkMovableItem *item_to_become_input, int output_index=0)=0 |
virtual void | setNamedInput (const char *input_name, HOM_NetworkMovableItem *item_to_become_input, const char *output_name)=0 |
virtual void | setNamedInput (const char *input_name, HOM_NetworkMovableItem *item_to_become_input, int output_index)=0 |
virtual void | setFirstInput (HOM_NetworkMovableItem *item_to_become_input, int output_index=0)=0 |
virtual void | setNextInput (HOM_NetworkMovableItem *item_to_become_input, int output_index=0, bool unordered_only=false)=0 |
virtual void | insertInput (int input_index, HOM_NetworkMovableItem *item_to_become_input, int output_index=0)=0 |
virtual int | numOrderedInputs ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | inputs ()=0 |
virtual HOM_Node * | input (int input_index)=0 |
virtual HOM_Node * | inputFollowingOutputs (int input_index)=0 |
virtual std::vector < HOM_ElemPtr < HOM_NodeConnection > > | inputConnections ()=0 |
virtual HOM_IterableList < std::vector< HOM_ElemPtr < HOM_NodeConnection > > > * | inputConnectors ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | inputAncestors (bool include_ref_inputs=true, bool follow_subnets=false, bool only_used_inputs=false)=0 |
virtual std::vector< std::string > | inputNames ()=0 |
virtual std::vector< std::string > | inputLabels ()=0 |
virtual std::map< std::string, std::string > | editableInputStrings (int input_index)=0 |
virtual std::string | editableInputString (int input_index, const char *key)=0 |
virtual void | setEditableInputString (int input_index, const char *key, const char *value)=0 |
virtual std::vector< std::string > | outputNames ()=0 |
virtual std::vector< std::string > | outputLabels ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | outputs ()=0 |
virtual std::vector < HOM_ElemPtr < HOM_NodeConnection > > | outputConnections ()=0 |
virtual HOM_IterableList < std::vector< HOM_ElemPtr < HOM_NodeConnection > > > * | outputConnectors ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | children ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | allSubChildren (bool top_down=true, bool recurse_in_locked_nodes=true, bool sync_delayed_definition=false)=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | selectedChildren (bool include_hidden=false, bool include_hidden_support_nodes=false)=0 |
virtual std::vector < HOM_ElemPtr < HOM_NetworkMovableItem > > | allItems ()=0 |
virtual std::vector < HOM_ElemPtr < HOM_NetworkMovableItem > > | allSubItems (bool top_down=true, bool recurse_in_locked_nodes=true, bool sync_delayed_definition=false)=0 |
virtual std::vector < HOM_ElemPtr < HOM_NetworkMovableItem > > | selectedItems (bool include_hidden=false, bool include_hidden_support_nodes=false)=0 |
virtual int | numItems (HOM_EnumValue *item_type=NULL, bool selected_only=false, bool include_hidden=false)=0 |
virtual void | deleteItems (const std::vector< HOM_NetworkMovableItem * > &items=std::vector< HOM_NetworkMovableItem * >(), bool disable_safety_checks=false)=0 |
virtual void | copyItemsToClipboard (const std::vector< HOM_NetworkMovableItem * > &items=std::vector< HOM_NetworkMovableItem * >())=0 |
virtual void | pasteItemsFromClipboard (HOM_Vector2 *position=NULL)=0 |
virtual std::vector < HOM_ElemPtr < HOM_NetworkMovableItem > > | copyItems (const std::vector< HOM_NetworkMovableItem * > &items, bool channel_reference_originals=false, bool relative_references=true, bool connect_outputs_to_multi_inputs=false)=0 |
virtual HOM_Node * | creator ()=0 |
virtual HOM_Vector2 * | moveToGoodPosition (bool relative_to_inputs=true, bool move_inputs=true, bool move_outputs=true, bool move_unconnected=true)=0 |
SWIGOUT (%kwargs layoutChildren) | |
virtual void | layoutChildren (const std::vector< HOM_NetworkMovableItem * > &items=std::vector< HOM_NetworkMovableItem * >(), double horizontal_spacing=-1, double vertical_spacing=-1)=0 |
virtual bool | isCurrent ()=0 |
virtual void | setCurrent (bool on, bool clear_all_selected=false)=0 |
virtual bool | isHidden ()=0 |
virtual void | hide (bool on)=0 |
virtual std::string | comment ()=0 |
virtual void | setComment (const char *comment)=0 |
virtual void | appendComment (const char *comment)=0 |
virtual void | destroy (bool disable_safety_checks=false)=0 |
virtual std::vector < HOM_ElemPtr< HOM_NetworkBox > > | networkBoxes ()=0 |
virtual HOM_IterableList < HOM_NetworkBox > * | iterNetworkBoxes ()=0 |
virtual HOM_NetworkBox * | createNetworkBox (const char *name=NULL)=0 |
virtual HOM_NetworkBox * | copyNetworkBox (HOM_NetworkBox &network_box_to_copy, const char *new_name=NULL, bool channel_reference_original=false)=0 |
virtual HOM_NetworkBox * | findNetworkBox (const char *name)=0 |
virtual std::vector < HOM_ElemPtr< HOM_NetworkBox > > | findNetworkBoxes (const char *pattern)=0 |
virtual std::vector < HOM_ElemPtr< HOM_NetworkDot > > | networkDots ()=0 |
virtual HOM_NetworkDot * | createNetworkDot ()=0 |
virtual bool | canCreateDigitalAsset ()=0 |
virtual HOM_Node * | collapseIntoSubnet (const std::vector< HOM_NetworkMovableItem * > &child_items, const char *subnet_name=NULL, const char *subnet_type=NULL)=0 |
virtual std::vector < HOM_ElemPtr < HOM_NetworkMovableItem > > | extractAndDelete ()=0 |
virtual std::vector < HOM_ElemPtr < HOM_SubnetIndirectInput > > | indirectInputs ()=0 |
virtual std::vector < HOM_ElemPtr< HOM_Node > > | subnetOutputs ()=0 |
virtual bool | isSubNetwork ()=0 |
virtual void | setUserData (const char *name, const std::string &value)=0 |
virtual hboost::any | boostAnyUserData (const char *name)=0 |
virtual void | destroyUserData (const char *name, bool must_exist=true)=0 |
virtual void | clearUserDataDict ()=0 |
virtual std::map< std::string, std::string > | userDataDict ()=0 |
virtual HOM_StickyNote * | createStickyNote (const char *name=NULL)=0 |
virtual std::vector < HOM_ElemPtr< HOM_StickyNote > > | stickyNotes ()=0 |
virtual HOM_IterableList < HOM_StickyNote > * | iterStickyNotes ()=0 |
virtual HOM_StickyNote * | copyStickyNote (HOM_StickyNote &sticky_note_to_copy, const char *new_name=NULL)=0 |
virtual HOM_StickyNote * | findStickyNote (const char *name)=0 |
virtual std::vector < HOM_ElemPtr< HOM_StickyNote > > | findStickyNotes (const char *pattern)=0 |
Public Member Functions inherited from HOM_NetworkMovableItem | |
HOM_NetworkMovableItem (HOM_EnumValue &network_item_type) | |
HOM_NetworkMovableItem (const HOM_NetworkMovableItem &src) | |
~HOM_NetworkMovableItem () override | |
virtual std::string | name ()=0 |
virtual void | setName (const char *name, bool unique_name=false)=0 |
virtual int | digitsInName ()=0 |
virtual std::string | path ()=0 |
virtual std::string | relativePathTo (HOM_NetworkMovableItem &base_item)=0 |
virtual bool | isSelected ()=0 |
virtual void | setSelected (bool on, bool clear_all_selected=false, bool show_asset_if_selected=false)=0 |
virtual HOM_Color | color ()=0 |
virtual void | setColor (HOM_Color &color)=0 |
virtual HOM_Vector2 | size ()=0 |
virtual HOM_Vector2 | position ()=0 |
virtual void | setPosition (const std::vector< double > &position)=0 |
virtual void | move (const std::vector< double > &amount)=0 |
virtual HOM_Node * | parent ()=0 |
virtual HOM_NetworkBox * | parentNetworkBox ()=0 |
virtual int64 | sessionId ()=0 |
Public Member Functions inherited from HOM_NetworkItem | |
HOM_NetworkItem (HOM_EnumValue &network_item_type) | |
HOM_NetworkItem (const HOM_NetworkItem &src) | |
virtual | ~HOM_NetworkItem () |
HOM_EnumValue & | networkItemType () |
Definition at line 24 of file HOM_DopNode.h.
|
inline |
Definition at line 27 of file HOM_DopNode.h.
|
inline |
Definition at line 30 of file HOM_DopNode.h.
|
inlineoverride |
Definition at line 34 of file HOM_DopNode.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
overridepure virtual |
Implements HOM_OpNode.