Go to the documentation of this file.
44 #ifndef vtkDiscretizableColorTransferFunction_h
45 #define vtkDiscretizableColorTransferFunction_h
72 { this->SetIndexedColor(
index, rgb[0], rgb[1], rgb[2]); }
181 {
return this->UseLogScale; }
201 virtual
unsigned long GetMTime();
221 bool EnableOpacityMapping;
224 void MapDataArrayToOpacity(
231 template<typename T, typename VectorGetter>
232 void MapVectorToOpacity (
233 VectorGetter getter, T* scalars,
int component,
234 int numberOfComponents,
vtkIdType numberOfTuples,
unsigned char* colors);
236 template<template<class> class VectorGetter>
237 void AllTypesMapVectorToOpacity (
240 int numberOfComponents,
vtkIdType numberOfTuples,
unsigned char* colors);
243 vtkInternals* Internals;
void SetIndexedColor(unsigned int index, double r, double g, double b)
unsigned int GetNumberOfIndexedColors()
GLboolean GLboolean GLboolean b
void SetNumberOfIndexedColors(unsigned int count)
GLuint GLuint GLsizei count
virtual void SetAlpha(double alpha)
virtual int UsingLogScale()
virtual double GetOpacity(double v)
virtual void SetNanColor(double, double, double)
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
#define vtkTypeMacro(thisClass, superclass)
Hold a reference to a vtkObjectBase instance.
virtual void GetColor(double v, double rgb[3])
abstract superclass for arrays of numeric data
static vtkDiscretizableColorTransferFunction * New()
a combination of vtkColorTransferFunction and vtkLookupTable.
Defines a transfer function for mapping a property to an RGB color value.
virtual void SetNanColor(double r, double g, double b)
virtual void SetNanColor(double rgb[3])
virtual vtkUnsignedCharArray * MapScalars(vtkAbstractArray *scalars, int colorMode, int component)
virtual vtkIdType GetNumberOfAvailableColors()
virtual vtkPiecewiseFunction * GetScalarOpacityFunction() const
virtual vtkUnsignedCharArray * MapScalars(vtkDataArray *scalars, int colorMode, int component)
virtual void SetUseLogScale(int useLogScale)
a simple class to control print indentation
virtual unsigned char * MapValue(double v)
#define vtkGetMacro(name, type)
Defines a 1D piecewise function.
Abstract superclass for all arrays.
virtual void SetScalarOpacityFunction(vtkPiecewiseFunction *function)
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
map scalar values into colors via a lookup table
GLclampf GLclampf GLclampf alpha
#define VTK_LEGACY(method)
GLdouble GLdouble GLdouble r
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKRENDERINGCORE_EXPORT
virtual void GetIndexedColor(vtkIdType i, double rgba[4])
void SetIndexedColor(unsigned int index, const double rgb[3])