Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::ExtendedOpProperties Class Reference

#include <ExtendedOpProperties.h>

Public Types

using KeyValuePair = std::pair< std::string, std::string >
 

Public Member Functions

 ExtendedOpProperties (int numKeyValuePairs)
 
void extendedPropertiesKnobs (Knob_Callback f, const char *tabName, const char *dividerLabel, const char *tooltip)
 Creates/Stores the extended properties tab.
 
const KeyValuePair & keyValuePair (int index) const
 Returns the key/value pair denoted by a given index.
 
int numKeyValuePairs () const
 Returns the number of key/value pairs.
 

Detailed Description

This class encapsulates the knobs functionality for the extended properties tab. Shared pointer to object of this class should be passed in to any Iops which wish to add an extended properties tab. Calling extendedPropertiesKnobs creates the extended properties tab in the node properties panel. That tab contains a number of String knob pairs that represent key/value pairs. Those pairs can be retrieved by the node using keyValuePair function.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com