26 #ifndef vtkPVDiscretizableColorTransferFunction_h 27 #define vtkPVDiscretizableColorTransferFunction_h 29 #include "vtkDiscretizableColorTransferFunction.h" 31 #include "vtkPVVTKExtensionsRenderingModule.h" 33 class vtkAbstractArray;
35 class vtkVariantArray;
38 :
public vtkDiscretizableColorTransferFunction
43 void PrintSelf(ostream& os, vtkIndent indent);
50 virtual void SetAnnotationsInFullSet(vtkAbstractArray* values, vtkStringArray* annotations);
51 vtkGetObjectMacro(AnnotatedValuesInFullSet, vtkAbstractArray);
52 vtkGetObjectMacro(AnnotationsInFullSet, vtkStringArray);
53 virtual vtkIdType SetAnnotationInFullSet(vtkVariant value, vtkStdString annotation);
54 virtual vtkIdType SetAnnotationInFullSet(vtkStdString value, vtkStdString annotation);
55 virtual void ResetAnnotationsInFullSet();
58 void ResetActiveAnnotatedValues();
59 void SetActiveAnnotatedValue(vtkStdString value);
61 void SetNumberOfIndexedColorsInFullSet(
int n);
62 int GetNumberOfIndexedColorsInFullSet();
63 void SetIndexedColorInFullSet(
unsigned int index,
double r,
double g,
double b);
64 void GetIndexedColorInFullSet(
unsigned int index,
double rgb[3]);
71 vtkSetMacro(UseActiveValues,
bool);
72 vtkGetMacro(UseActiveValues,
bool);
73 vtkBooleanMacro(UseActiveValues,
bool);
91 vtkAbstractArray* AnnotatedValuesInFullSet;
92 vtkStringArray* AnnotationsInFullSet;
94 vtkDoubleArray* IndexedColorsInFullSet;
97 vtkVariantArray* ActiveAnnotatedValues;
100 bool UseActiveValues;
103 vtkTimeStamp BuildTime;
custom version of vtkDiscretizableColorTransferFunction that adds some functionality.