DD::Image::CurveDescription Struct Reference

Public Types

enum  { eNormal, eReadOnly }
 
typedef void(* BuildCallback) (void *curve)
 Ony for internal use, callback used to build the curve.
 

Public Attributes

const char * name
 name of curve (should be short). NULL ends the table
 
std::string defaultValue
 string to parse to get the default curve
 
BuildCallback buildCallback
 Ony for internal use, callback used to build the curve.
 
int flags
 bitmask with above values in it
 
const char * tooltip
 

Detailed Description

Table entry describing one of the curves. You must create a static table of these and use it in the constructor of your LookupCurves object. Warning: the pointer to the table is copied into Nuke and it must remain in existence even if the LookupCurves object is destroyed.



©2019 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk