HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UNI_Graph.h File Reference
#include "UNI_API.h"
#include "UNI_Include.h"
#include <UT/UT_Array.h>
#include <UT/UT_Color.h>
#include <UT/UT_Function.h>
#include <UT/UT_IntrusivePtr.h>
#include <UT/UT_NonCopyable.h>
#include <UT/UT_Map.h>
#include <UT/UT_Ramp.h>
#include <UT/UT_StringArray.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_StringMap.h>
#include <UT/UT_OptionEntry.h>
#include <UT/UT_UniquePtr.h>
#include <UT/UT_Vector2.h>
#include <iostream>
+ Include dependency graph for UNI_Graph.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UNI_GraphChangeType
 
struct  UNI_GraphDeleter
 Removes the graph from the lookup table and deletes it. More...
 
class  UNI_Graph
 
class  UNI_Graph::ChangeBlock
 

Typedefs

using UNI_SelectableItemID = std::variant< UNI_NodeID, UNI_WireID, UNI_StickyNoteID, UNI_ContainerConnectType >
 
using UNI_GraphPtr = UT_IntrusivePtr< UNI_Graph >
 Intrusive pointer definition. More...
 
using UNI_ConstGraphPtr = UT_IntrusivePtr< const UNI_Graph >
 
using UNI_RampParmValue = std::pair< bool, UT_Ramp >
 
using UNI_ParmValue = std::variant< UNI_InvalidParmValue, UNI_DefaultParmValue, bool, int64, fpreal64, UT_Vector2D, UT_Vector3D, UT_Vector4D, UT_Matrix3D, UT_Matrix4D, UT_StringHolder, UNI_RampParmValue >
 Variant data type that holds all the parm value types allowed in UNI parms. More...
 

Enumerations

enum  UNI_ContainerConnectType { UNI_ContainerConnectType::INPUTS, UNI_ContainerConnectType::OUTPUTS }
 
enum  UNI_InvalidParmValue { UNI_INVALID_PARM_VALUE = 0 }
 Special parm value type indicating an invalid/unset value type. More...
 
enum  UNI_DefaultParmValue { UNI_DEFAULT_PARM_VALUE = 0 }
 

Functions

size_t UNI_API UTformatBuffer (char *buffer, size_t buffer_size, const UNI_GraphChangeType &t)
 

Typedef Documentation

Definition at line 104 of file UNI_Graph.h.

Intrusive pointer definition.

Definition at line 103 of file UNI_Graph.h.

Variant data type that holds all the parm value types allowed in UNI parms.

Definition at line 126 of file UNI_Graph.h.

using UNI_RampParmValue = std::pair<bool, UT_Ramp>

Simple data type that allows passing a ramp along with a specification of whether it is a color ramp or float ramp.

Definition at line 112 of file UNI_Graph.h.

using UNI_SelectableItemID = std::variant<UNI_NodeID, UNI_WireID, UNI_StickyNoteID, UNI_ContainerConnectType>

Definition at line 44 of file UNI_Graph.h.

Enumeration Type Documentation

Enumerator
INPUTS 
OUTPUTS 

Definition at line 35 of file UNI_Graph.h.

Special parm value type indicating the parm should be returned to its default value.

Enumerator
UNI_DEFAULT_PARM_VALUE 

Definition at line 109 of file UNI_Graph.h.

Special parm value type indicating an invalid/unset value type.

Enumerator
UNI_INVALID_PARM_VALUE 

Definition at line 106 of file UNI_Graph.h.

Function Documentation

size_t UNI_API UTformatBuffer ( char *  buffer,
size_t  buffer_size,
const UNI_GraphChangeType t 
)