Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkPVDiscretizableColorTransferFunction Class Reference

custom version of vtkDiscretizableColorTransferFunction that adds some functionality. More...

#include <vtkPVDiscretizableColorTransferFunction.h>

Inheritance diagram for vtkPVDiscretizableColorTransferFunction:
Inheritance graph
[legend]
Collaboration diagram for vtkPVDiscretizableColorTransferFunction:
Collaboration graph
[legend]

Public Types

typedef vtkDiscretizableColorTransferFunction Superclass
 
- Public Types inherited from vtkDiscretizableColorTransferFunction
typedef vtkColorTransferFunction Superclass
 
- Public Types inherited from vtkColorTransferFunction
typedef vtkScalarsToColors Superclass
 
- Public Types inherited from vtkScalarsToColors
enum  VectorModes
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void ResetActiveAnnotatedValues ()
 
void SetActiveAnnotatedValue (std::string value)
 
void SetNumberOfIndexedColorsInFullSet (int n)
 
int GetNumberOfIndexedColorsInFullSet ()
 
void SetIndexedColorInFullSet (unsigned int index, double r, double g, double b)
 
void GetIndexedColorInFullSet (unsigned int index, double rgb[3])
 
void SetNumberOfIndexedOpacitiesInFullSet (int n)
 
int GetNumberOfIndexedOpacitiesInFullSet ()
 
void SetIndexedOpacityInFullSet (unsigned int index, double alpha)
 
void GetIndexedOpacityInFullSet (unsigned int index, double *alpha)
 
void Build () override
 Override to set only the active annotations. More...
 
virtual void SetAnnotationsInFullSet (vtkAbstractArray *values, vtkStringArray *annotations)
 Parallel API to API for annotated values to set/get the full list of annotations. More...
 
virtual vtkAbstractArrayGetAnnotatedValuesInFullSet ()
 Parallel API to API for annotated values to set/get the full list of annotations. More...
 
virtual vtkStringArrayGetAnnotationsInFullSet ()
 Parallel API to API for annotated values to set/get the full list of annotations. More...
 
virtual vtkIdType SetAnnotationInFullSet (vtkVariant value, std::string annotation)
 Parallel API to API for annotated values to set/get the full list of annotations. More...
 
virtual vtkIdType SetAnnotationInFullSet (std::string value, std::string annotation)
 Parallel API to API for annotated values to set/get the full list of annotations. More...
 
virtual void ResetAnnotationsInFullSet ()
 Parallel API to API for annotated values to set/get the full list of annotations. More...
 
virtual void SetUseActiveValues (bool)
 Set whether to use restrict annotations to only the values designated as active. More...
 
virtual bool GetUseActiveValues ()
 Set whether to use restrict annotations to only the values designated as active. More...
 
virtual void UseActiveValuesOn ()
 Set whether to use restrict annotations to only the values designated as active. More...
 
virtual void UseActiveValuesOff ()
 Set whether to use restrict annotations to only the values designated as active. More...
 
virtual void SetTransferFunction2D (vtkPVTransferFunction2D *f)
 Set/get the 2D transfer function. More...
 
virtual vtkPVTransferFunction2DGetTransferFunction2D () const
 Set/get the 2D transfer function. More...
 
- Public Member Functions inherited from vtkDiscretizableColorTransferFunction
vtkDiscretizableColorTransferFunctionNewInstance () const
 
int IsOpaque ()
 
virtual void GetIndexedColor (vtkIdType i, double rgba[4])
 
virtual unsigned char * MapValue (double v)
 
virtual void GetColor (double v, double rgb[3])
 
virtual double GetOpacity (double v)
 
doubleGetRGBPoints ()
 
virtual void SetAlpha (double alpha)
 
virtual vtkIdType GetNumberOfAvailableColors ()
 
virtual vtkMTimeType GetMTime ()
 
void SetIndexedColor (unsigned int index, const double rgb[3])
 
void SetIndexedColor (unsigned int index, double r, double g, double b)
 
void SetNumberOfIndexedColors (unsigned int count)
 
unsigned int GetNumberOfIndexedColors ()
 
virtual void SetDiscretize (int)
 
virtual int GetDiscretize ()
 
virtual void DiscretizeOn ()
 
virtual void DiscretizeOff ()
 
virtual void SetUseLogScale (int useLogScale)
 
virtual int GetUseLogScale ()
 
virtual void SetNumberOfValues (vtkIdType)
 
virtual vtkIdType GetNumberOfValues ()
 
virtual vtkUnsignedCharArrayMapScalars (vtkDataArray *scalars, int colorMode, int component)
 
virtual vtkUnsignedCharArrayMapScalars (vtkAbstractArray *scalars, int colorMode, int component)
 
virtual void SetNanColor (double r, double g, double b)
 
virtual void SetNanColor (double rgb[3])
 
virtual int UsingLogScale ()
 
virtual void SetScalarOpacityFunction (vtkPiecewiseFunction *function)
 
virtual vtkPiecewiseFunctionGetScalarOpacityFunction () const
 
virtual void SetEnableOpacityMapping (bool)
 
virtual bool GetEnableOpacityMapping ()
 
virtual void EnableOpacityMappingOn ()
 
virtual void EnableOpacityMappingOff ()
 
void SetIndexedColor (unsigned int index, const double rgb[3])
 
void SetIndexedColor (unsigned int index, double r, double g, double b)
 
void SetNumberOfIndexedColors (unsigned int count)
 
unsigned int GetNumberOfIndexedColors ()
 
virtual void SetDiscretize (int)
 
virtual int GetDiscretize ()
 
virtual void DiscretizeOn ()
 
virtual void DiscretizeOff ()
 
virtual void SetUseLogScale (int useLogScale)
 
virtual int GetUseLogScale ()
 
virtual void SetNumberOfValues (vtkIdType)
 
virtual vtkIdType GetNumberOfValues ()
 
virtual vtkUnsignedCharArrayMapScalars (vtkDataArray *scalars, int colorMode, int component)
 
virtual vtkUnsignedCharArrayMapScalars (vtkAbstractArray *scalars, int colorMode, int component)
 
virtual void SetNanColor (double r, double g, double b)
 
virtual void SetNanColor (double rgb[3])
 
virtual int UsingLogScale ()
 
virtual void SetScalarOpacityFunction (vtkPiecewiseFunction *function)
 
virtual vtkPiecewiseFunctionGetScalarOpacityFunction () const
 
virtual void SetEnableOpacityMapping (bool)
 
virtual bool GetEnableOpacityMapping ()
 
virtual void EnableOpacityMappingOn ()
 
virtual void EnableOpacityMappingOff ()
 
- Public Member Functions inherited from vtkColorTransferFunction
vtkColorTransferFunctionNewInstance () const
 
void DeepCopy (vtkScalarsToColors *f)
 
void ShallowCopy (vtkColorTransferFunction *f)
 
int GetSize ()
 
void RemoveAllPoints ()
 
int AdjustRange (double range[2])
 
void BuildFunctionFromTable (double x1, double x2, int size, double *table)
 
doubleGetDataPointer ()
 
void FillFromDataPointer (int n, double *ptr)
 
int AddRGBPoint (double x, double r, double g, double b)
 
int AddRGBPoint (double x, double r, double g, double b, double midpoint, double sharpness)
 
int AddHSVPoint (double x, double h, double s, double v)
 
int AddHSVPoint (double x, double h, double s, double v, double midpoint, double sharpness)
 
int RemovePoint (double x)
 
void AddRGBSegment (double x1, double r1, double g1, double b1, double x2, double r2, double g2, double b2)
 
void AddHSVSegment (double x1, double h1, double s1, double v1, double x2, double h2, double s2, double v2)
 
doubleGetColor (double x)
 
double GetRedValue (double x)
 
double GetGreenValue (double x)
 
double GetBlueValue (double x)
 
int GetNodeValue (int index, double val[6])
 
int SetNodeValue (int index, double val[6])
 
virtual doubleGetRange ()
 
virtual void GetRange (double &, double &)
 
virtual void GetRange (double[2])
 
void GetTable (double x1, double x2, int n, double *table)
 
void GetTable (double x1, double x2, int n, float *table)
 
const unsigned char * GetTable (double x1, double x2, int n)
 
virtual void SetClamping (int)
 
virtual int GetClamping ()
 
virtual void ClampingOn ()
 
virtual void ClampingOff ()
 
virtual void SetColorSpace (int)
 
void SetColorSpaceToRGB ()
 
void SetColorSpaceToHSV ()
 
void SetColorSpaceToLab ()
 
void SetColorSpaceToDiverging ()
 
virtual int GetColorSpace ()
 
virtual void SetHSVWrap (int)
 
virtual int GetHSVWrap ()
 
virtual void HSVWrapOn ()
 
virtual void HSVWrapOff ()
 
virtual void SetScale (int)
 
void SetScaleToLinear ()
 
void SetScaleToLog10 ()
 
virtual int GetScale ()
 
virtual doubleGetNanColor ()
 
virtual void GetNanColor (double &, double &, double &)
 
virtual void GetNanColor (double[3])
 
virtual void SetBelowRangeColor (double, double, double)
 
virtual void SetBelowRangeColor (double[3])
 
virtual doubleGetBelowRangeColor ()
 
virtual void GetBelowRangeColor (double &, double &, double &)
 
virtual void GetBelowRangeColor (double[3])
 
virtual void SetUseBelowRangeColor (int)
 
virtual int GetUseBelowRangeColor ()
 
virtual void UseBelowRangeColorOn ()
 
virtual void UseBelowRangeColorOff ()
 
virtual void SetAboveRangeColor (double, double, double)
 
virtual void SetAboveRangeColor (double[3])
 
virtual doubleGetAboveRangeColor ()
 
virtual void GetAboveRangeColor (double &, double &, double &)
 
virtual void GetAboveRangeColor (double[3])
 
virtual void SetUseAboveRangeColor (int)
 
virtual int GetUseAboveRangeColor ()
 
virtual void UseAboveRangeColorOn ()
 
virtual void UseAboveRangeColorOff ()
 
virtual void MapScalarsThroughTable2 (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputIncrement)
 
virtual void SetAllowDuplicateScalars (int)
 
virtual int GetAllowDuplicateScalars ()
 
virtual void AllowDuplicateScalarsOn ()
 
virtual void AllowDuplicateScalarsOff ()
 
int AddRGBPoint (double x, double r, double g, double b)
 
int AddRGBPoint (double x, double r, double g, double b, double midpoint, double sharpness)
 
int AddHSVPoint (double x, double h, double s, double v)
 
int AddHSVPoint (double x, double h, double s, double v, double midpoint, double sharpness)
 
int RemovePoint (double x)
 
void AddRGBSegment (double x1, double r1, double g1, double b1, double x2, double r2, double g2, double b2)
 
void AddHSVSegment (double x1, double h1, double s1, double v1, double x2, double h2, double s2, double v2)
 
doubleGetColor (double x)
 
double GetRedValue (double x)
 
double GetGreenValue (double x)
 
double GetBlueValue (double x)
 
int GetNodeValue (int index, double val[6])
 
int SetNodeValue (int index, double val[6])
 
virtual doubleGetRange ()
 
virtual void GetRange (double &, double &)
 
virtual void GetRange (double[2])
 
void GetTable (double x1, double x2, int n, double *table)
 
void GetTable (double x1, double x2, int n, float *table)
 
const unsigned char * GetTable (double x1, double x2, int n)
 
virtual void SetClamping (int)
 
virtual int GetClamping ()
 
virtual void ClampingOn ()
 
virtual void ClampingOff ()
 
virtual void SetColorSpace (int)
 
void SetColorSpaceToRGB ()
 
void SetColorSpaceToHSV ()
 
void SetColorSpaceToLab ()
 
void SetColorSpaceToDiverging ()
 
virtual int GetColorSpace ()
 
virtual void SetHSVWrap (int)
 
virtual int GetHSVWrap ()
 
virtual void HSVWrapOn ()
 
virtual void HSVWrapOff ()
 
virtual void SetScale (int)
 
void SetScaleToLinear ()
 
void SetScaleToLog10 ()
 
virtual int GetScale ()
 
virtual doubleGetNanColor ()
 
virtual void GetNanColor (double &, double &, double &)
 
virtual void GetNanColor (double[3])
 
virtual void SetBelowRangeColor (double, double, double)
 
virtual void SetBelowRangeColor (double[3])
 
virtual doubleGetBelowRangeColor ()
 
virtual void GetBelowRangeColor (double &, double &, double &)
 
virtual void GetBelowRangeColor (double[3])
 
virtual void SetUseBelowRangeColor (int)
 
virtual int GetUseBelowRangeColor ()
 
virtual void UseBelowRangeColorOn ()
 
virtual void UseBelowRangeColorOff ()
 
virtual void SetAboveRangeColor (double, double, double)
 
virtual void SetAboveRangeColor (double[3])
 
virtual doubleGetAboveRangeColor ()
 
virtual void GetAboveRangeColor (double &, double &, double &)
 
virtual void GetAboveRangeColor (double[3])
 
virtual void SetUseAboveRangeColor (int)
 
virtual int GetUseAboveRangeColor ()
 
virtual void UseAboveRangeColorOn ()
 
virtual void UseAboveRangeColorOff ()
 
virtual void MapScalarsThroughTable2 (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputIncrement)
 
virtual void SetAllowDuplicateScalars (int)
 
virtual int GetAllowDuplicateScalars ()
 
virtual void AllowDuplicateScalarsOn ()
 
virtual void AllowDuplicateScalarsOff ()
 
- Public Member Functions inherited from vtkScalarsToColors
vtkScalarsToColorsNewInstance () const
 
virtual vtkIdType SetAnnotation (vtkVariant value, vtkStdString annotation)
 
virtual vtkIdType SetAnnotation (vtkStdString value, vtkStdString annotation)
 
vtkIdType GetNumberOfAnnotatedValues ()
 
vtkVariant GetAnnotatedValue (vtkIdType idx)
 
vtkStdString GetAnnotation (vtkIdType idx)
 
virtual void GetAnnotationColor (const vtkVariant &val, double rgba[4])
 
vtkIdType GetAnnotatedValueIndex (vtkVariant val)
 
vtkIdType GetAnnotatedValueIndexInternal (vtkVariant &val)
 
virtual bool RemoveAnnotation (vtkVariant value)
 
virtual void ResetAnnotations ()
 
void SetRange (double rng[2])
 
doubleGetColor (double v)
 
double GetLuminance (double x)
 
virtual double GetAlpha ()
 
virtual void SetVectorMode (int)
 
virtual int GetVectorMode ()
 
void SetVectorModeToMagnitude ()
 
void SetVectorModeToComponent ()
 
void SetVectorModeToRGBColors ()
 
virtual void SetVectorComponent (int)
 
virtual int GetVectorComponent ()
 
virtual void SetVectorSize (int)
 
virtual int GetVectorSize ()
 
void MapVectorsThroughTable (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat, int vectorComponent, int vectorSize)
 
void MapVectorsThroughTable (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat)
 
void MapScalarsThroughTable (vtkDataArray *scalars, unsigned char *output, int outputFormat)
 
void MapScalarsThroughTable (vtkDataArray *scalars, unsigned char *output)
 
void MapScalarsThroughTable (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat)
 
virtual void SetAnnotations (vtkAbstractArray *values, vtkStringArray *annotations)
 
virtual vtkAbstractArrayGetAnnotatedValues ()
 
virtual vtkStringArrayGetAnnotations ()
 
virtual void SetIndexedLookup (int)
 
virtual int GetIndexedLookup ()
 
virtual void IndexedLookupOn ()
 
virtual void IndexedLookupOff ()
 
unsigned char ColorToUChar (double t)
 
unsigned char ColorToUChar (float t)
 
unsigned char ColorToUChar (double t)
 
unsigned char ColorToUChar (float t)
 
void SetRange (double rng[2])
 
doubleGetColor (double v)
 
double GetLuminance (double x)
 
virtual double GetAlpha ()
 
virtual void SetVectorMode (int)
 
virtual int GetVectorMode ()
 
void SetVectorModeToMagnitude ()
 
void SetVectorModeToComponent ()
 
void SetVectorModeToRGBColors ()
 
virtual void SetVectorComponent (int)
 
virtual int GetVectorComponent ()
 
virtual void SetVectorSize (int)
 
virtual int GetVectorSize ()
 
void MapVectorsThroughTable (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat, int vectorComponent, int vectorSize)
 
void MapVectorsThroughTable (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat)
 
void MapScalarsThroughTable (vtkDataArray *scalars, unsigned char *output, int outputFormat)
 
void MapScalarsThroughTable (vtkDataArray *scalars, unsigned char *output)
 
void MapScalarsThroughTable (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat)
 
virtual void SetAnnotations (vtkAbstractArray *values, vtkStringArray *annotations)
 
virtual vtkAbstractArrayGetAnnotatedValues ()
 
virtual vtkStringArrayGetAnnotations ()
 
virtual void SetIndexedLookup (int)
 
virtual int GetIndexedLookup ()
 
virtual void IndexedLookupOn ()
 
virtual void IndexedLookupOff ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkPVDiscretizableColorTransferFunctionNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVDiscretizableColorTransferFunctionSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkDiscretizableColorTransferFunction
static vtkDiscretizableColorTransferFunctionNew ()
 
static int IsTypeOf (const char *type)
 
static vtkDiscretizableColorTransferFunctionSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkColorTransferFunction
static vtkColorTransferFunctionNew ()
 
static int IsTypeOf (const char *type)
 
static vtkColorTransferFunctionSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkScalarsToColors
static int IsTypeOf (const char *type)
 
static vtkScalarsToColorsSafeDownCast (vtkObjectBase *o)
 
static vtkScalarsToColorsNew ()
 
static unsigned char ColorToUChar (T t)
 
static void ColorToUChar (T t, unsigned char *dest)
 
static unsigned char ColorToUChar (T t)
 
static void ColorToUChar (T t, unsigned char *dest)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkPVDiscretizableColorTransferFunction ()
 
 ~vtkPVDiscretizableColorTransferFunction () override
 
- Protected Member Functions inherited from vtkDiscretizableColorTransferFunction
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkDiscretizableColorTransferFunction ()
 
 ~vtkDiscretizableColorTransferFunction ()
 
void MapDataArrayToOpacity (vtkDataArray *scalars, int component, vtkUnsignedCharArray *colors)
 
- Protected Member Functions inherited from vtkColorTransferFunction
 vtkColorTransferFunction ()
 
 ~vtkColorTransferFunction ()
 
void SortAndUpdateRange ()
 
bool UpdateRange ()
 
void MovePoint (double oldX, double newX)
 
virtual void SetRange (double, double)
 
void SetRange (double rng[2])
 
virtual void SetRange (double, double)
 
void SetRange (double rng[2])
 
- Protected Member Functions inherited from vtkScalarsToColors
 vtkScalarsToColors ()
 
 ~vtkScalarsToColors ()
 
virtual vtkIdType CheckForAnnotatedValue (vtkVariant value)
 
virtual void UpdateAnnotatedValueMap ()
 
void MapColorsToColors (void *input, unsigned char *output, int inputDataType, int numberOfValues, int numberOfComponents, int vectorSize, int outputFormat)
 
vtkUnsignedCharArrayConvertToRGBA (vtkDataArray *colors, int numComp, int numTuples)
 
void MapVectorsToMagnitude (void *input, double *output, int inputDataType, int numberOfValues, int numberOfComponents, int vectorSize)
 
void MapColorsToColors (void *input, unsigned char *output, int inputDataType, int numberOfValues, int numberOfComponents, int vectorSize, int outputFormat)
 
vtkUnsignedCharArrayConvertToRGBA (vtkDataArray *colors, int numComp, int numTuples)
 
void MapVectorsToMagnitude (void *input, double *output, int inputDataType, int numberOfValues, int numberOfComponents, int vectorSize)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Additional Inherited Members

- Public Attributes inherited from vtkScalarsToColors
 MAGNITUDE
 
 COMPONENT
 
 RGBCOLORS
 
- Protected Attributes inherited from vtkDiscretizableColorTransferFunction
int Discretize
 
int UseLogScale
 
vtkIdType NumberOfValues
 
vtkLookupTableLookupTable
 
vtkTimeStamp BuildTime
 
bool EnableOpacityMapping
 
vtkSmartPointer< vtkPiecewiseFunctionScalarOpacityFunction
 
- Protected Attributes inherited from vtkColorTransferFunction
vtkColorTransferFunctionInternals * Internal
 
int Clamping
 
int ColorSpace
 
int HSVWrap
 
int Scale
 
double NanColor [3]
 
double BelowRangeColor [3]
 
int UseBelowRangeColor
 
double AboveRangeColor [3]
 
int UseAboveRangeColor
 
doubleFunction
 
double Range [2]
 
unsigned char UnsignedCharRGBAValue [4]
 
int AllowDuplicateScalars
 
vtkTimeStamp BuildTime
 
unsigned char * Table
 
int TableSize
 
- Protected Attributes inherited from vtkScalarsToColors
vtkAbstractArrayAnnotatedValues
 
vtkStringArrayAnnotations
 
vtkInternalAnnotatedValueMap * AnnotatedValueMap
 
int IndexedLookup
 
double Alpha
 
int VectorMode
 
int VectorComponent
 
int VectorSize
 
int UseMagnitude
 
unsigned char RGBABytes [4]
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

custom version of vtkDiscretizableColorTransferFunction that adds some functionality.

This class is the same as vtkDiscretizableColorTransferFunction, but it adds the concept of "active" annotations. These annotations are a subset of the full list of annotations available and are used in place of the full annotation list.

Definition at line 27 of file vtkPVDiscretizableColorTransferFunction.h.

Member Typedef Documentation

◆ Superclass

Definition at line 32 of file vtkPVDiscretizableColorTransferFunction.h.

Constructor & Destructor Documentation

◆ vtkPVDiscretizableColorTransferFunction()

vtkPVDiscretizableColorTransferFunction::vtkPVDiscretizableColorTransferFunction ( )
protected

◆ ~vtkPVDiscretizableColorTransferFunction()

vtkPVDiscretizableColorTransferFunction::~vtkPVDiscretizableColorTransferFunction ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkPVDiscretizableColorTransferFunction* vtkPVDiscretizableColorTransferFunction::New ( )
static

◆ GetClassName()

virtual const char* vtkPVDiscretizableColorTransferFunction::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkPVDiscretizableColorTransferFunction::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkPVDiscretizableColorTransferFunction::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkPVDiscretizableColorTransferFunction* vtkPVDiscretizableColorTransferFunction::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkPVDiscretizableColorTransferFunction::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

◆ SetAnnotationsInFullSet()

virtual void vtkPVDiscretizableColorTransferFunction::SetAnnotationsInFullSet ( vtkAbstractArray values,
vtkStringArray annotations 
)
virtual

Parallel API to API for annotated values to set/get the full list of annotations.

A subset of the full list will be used.

◆ GetAnnotatedValuesInFullSet()

virtual vtkAbstractArray* vtkPVDiscretizableColorTransferFunction::GetAnnotatedValuesInFullSet ( )
virtual

Parallel API to API for annotated values to set/get the full list of annotations.

A subset of the full list will be used.

◆ GetAnnotationsInFullSet()

virtual vtkStringArray* vtkPVDiscretizableColorTransferFunction::GetAnnotationsInFullSet ( )
virtual

Parallel API to API for annotated values to set/get the full list of annotations.

A subset of the full list will be used.

◆ SetAnnotationInFullSet() [1/2]

virtual vtkIdType vtkPVDiscretizableColorTransferFunction::SetAnnotationInFullSet ( vtkVariant  value,
std::string  annotation 
)
virtual

Parallel API to API for annotated values to set/get the full list of annotations.

A subset of the full list will be used.

◆ SetAnnotationInFullSet() [2/2]

virtual vtkIdType vtkPVDiscretizableColorTransferFunction::SetAnnotationInFullSet ( std::string  value,
std::string  annotation 
)
virtual

Parallel API to API for annotated values to set/get the full list of annotations.

A subset of the full list will be used.

◆ ResetAnnotationsInFullSet()

virtual void vtkPVDiscretizableColorTransferFunction::ResetAnnotationsInFullSet ( )
virtual

Parallel API to API for annotated values to set/get the full list of annotations.

A subset of the full list will be used.

◆ ResetActiveAnnotatedValues()

void vtkPVDiscretizableColorTransferFunction::ResetActiveAnnotatedValues ( )

◆ SetActiveAnnotatedValue()

void vtkPVDiscretizableColorTransferFunction::SetActiveAnnotatedValue ( std::string  value)

◆ SetNumberOfIndexedColorsInFullSet()

void vtkPVDiscretizableColorTransferFunction::SetNumberOfIndexedColorsInFullSet ( int  n)

◆ GetNumberOfIndexedColorsInFullSet()

int vtkPVDiscretizableColorTransferFunction::GetNumberOfIndexedColorsInFullSet ( )

◆ SetIndexedColorInFullSet()

void vtkPVDiscretizableColorTransferFunction::SetIndexedColorInFullSet ( unsigned int  index,
double  r,
double  g,
double  b 
)

◆ GetIndexedColorInFullSet()

void vtkPVDiscretizableColorTransferFunction::GetIndexedColorInFullSet ( unsigned int  index,
double  rgb[3] 
)

◆ SetNumberOfIndexedOpacitiesInFullSet()

void vtkPVDiscretizableColorTransferFunction::SetNumberOfIndexedOpacitiesInFullSet ( int  n)

◆ GetNumberOfIndexedOpacitiesInFullSet()

int vtkPVDiscretizableColorTransferFunction::GetNumberOfIndexedOpacitiesInFullSet ( )

◆ SetIndexedOpacityInFullSet()

void vtkPVDiscretizableColorTransferFunction::SetIndexedOpacityInFullSet ( unsigned int  index,
double  alpha 
)

◆ GetIndexedOpacityInFullSet()

void vtkPVDiscretizableColorTransferFunction::GetIndexedOpacityInFullSet ( unsigned int  index,
double alpha 
)

◆ SetUseActiveValues()

virtual void vtkPVDiscretizableColorTransferFunction::SetUseActiveValues ( bool  )
virtual

Set whether to use restrict annotations to only the values designated as active.

Off by default.

◆ GetUseActiveValues()

virtual bool vtkPVDiscretizableColorTransferFunction::GetUseActiveValues ( )
virtual

Set whether to use restrict annotations to only the values designated as active.

Off by default.

◆ UseActiveValuesOn()

virtual void vtkPVDiscretizableColorTransferFunction::UseActiveValuesOn ( )
virtual

Set whether to use restrict annotations to only the values designated as active.

Off by default.

◆ UseActiveValuesOff()

virtual void vtkPVDiscretizableColorTransferFunction::UseActiveValuesOff ( )
virtual

Set whether to use restrict annotations to only the values designated as active.

Off by default.

◆ Build()

void vtkPVDiscretizableColorTransferFunction::Build ( )
overridevirtual

Override to set only the active annotations.

Reimplemented from vtkDiscretizableColorTransferFunction.

◆ SetTransferFunction2D()

virtual void vtkPVDiscretizableColorTransferFunction::SetTransferFunction2D ( vtkPVTransferFunction2D f)
virtual

Set/get the 2D transfer function.

◆ GetTransferFunction2D()

virtual vtkPVTransferFunction2D* vtkPVDiscretizableColorTransferFunction::GetTransferFunction2D ( ) const
virtual

Set/get the 2D transfer function.


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