|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkLogLookupTable * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkLookupTable * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
int | Allocate (int sz=256, int ext=256) |
| Allocate a color table of specified size.
|
|
void | Build () override |
| Generate lookup table from hue, saturation, value, alpha min/max values.
|
|
virtual void | ForceBuild () |
| Force the lookup table to regenerate from hue, saturation, value, and alpha min/max values.
|
|
void | BuildSpecialColors () |
| Copies the "special" colors into the given table.
|
|
unsigned char * | GetNanColorAsUnsignedChars () |
| Return the NanColor as a pointer to 4 unsigned chars.
|
|
const unsigned char * | MapValue (double v) override |
| Map one value through the lookup table, returning an RBGA[4] color.
|
|
void | GetColor (double v, double rgb[3]) override |
| Map one value through the lookup table and return the color as an RGB[3] array of doubles between 0 and 1.
|
|
double | GetOpacity (double v) override |
| Map one value through the lookup table and return the alpha value (the opacity) as a double between 0 and 1.
|
|
virtual vtkIdType | GetIndex (double v) |
| Return the table index associated with a particular value.
|
|
virtual void | SetTableValue (vtkIdType indx, const double rgba[4]) |
| Directly load color into lookup table.
|
|
virtual void | SetTableValue (vtkIdType indx, double r, double g, double b, double a=1.0) |
| Directly load color into lookup table.
|
|
double * | GetTableValue (vtkIdType indx) |
| Return an RGBA color value for the given index into the lookup table.
|
|
void | GetTableValue (vtkIdType indx, double rgba[4]) |
| Return an RGBA color value for the given index into the lookup table.
|
|
unsigned char * | GetPointer (vtkIdType id) |
| Get pointer to color table data.
|
|
unsigned char * | WritePointer (vtkIdType id, int number) |
| Get pointer to data.
|
|
void | MapScalarsThroughTable2 (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat) override |
| Map a set of scalars through the lookup table.
|
|
void | DeepCopy (vtkScalarsToColors *obj) override |
| Copy the contents from another LookupTable.
|
|
vtkTypeBool | UsingLogScale () override |
| This should return 1 if the subclass is using log scale for mapping scalars to colors.
|
|
vtkIdType | GetNumberOfAvailableColors () override |
| Get the number of available colors for mapping to.
|
|
void | GetIndexedColor (vtkIdType idx, double rgba[4]) override |
| Return a color given an integer index.
|
|
vtkTypeBool | IsOpaque () override |
| Return true if all of the values defining the mapping have an opacity equal to 1.
|
|
vtkTypeBool | IsOpaque (vtkAbstractArray *scalars, int colorMode, int component) override |
| Return true if all of the values defining the mapping have an opacity equal to 1.
|
|
vtkTypeBool | IsOpaque (vtkAbstractArray *scalars, int colorMode, int component, vtkUnsignedCharArray *ghosts, unsigned char ghostsToSkip=0xff) override |
| Return true if all of the values defining the mapping have an opacity equal to 1.
|
|
virtual void | SetRamp (int) |
| Set the shape of the table ramp to either S-curve, linear, or sqrt.
|
|
void | SetRampToLinear () |
| Set the shape of the table ramp to either S-curve, linear, or sqrt.
|
|
void | SetRampToSCurve () |
| Set the shape of the table ramp to either S-curve, linear, or sqrt.
|
|
void | SetRampToSQRT () |
| Set the shape of the table ramp to either S-curve, linear, or sqrt.
|
|
virtual int | GetRamp () |
| Set the shape of the table ramp to either S-curve, linear, or sqrt.
|
|
void | SetScale (int scale) |
| Set the type of scale to use, linear or logarithmic.
|
|
void | SetScaleToLinear () |
| Set the type of scale to use, linear or logarithmic.
|
|
void | SetScaleToLog10 () |
| Set the type of scale to use, linear or logarithmic.
|
|
virtual int | GetScale () |
| Set the type of scale to use, linear or logarithmic.
|
|
virtual void | SetTableRange (const double r[2]) |
| Set/Get the minimum/maximum scalar values for scalar mapping.
|
|
virtual void | SetTableRange (double min, double max) |
| Set/Get the minimum/maximum scalar values for scalar mapping.
|
|
virtual double * | GetTableRange () |
| Set/Get the minimum/maximum scalar values for scalar mapping.
|
|
virtual void | GetTableRange (double data[2]) |
| Set/Get the minimum/maximum scalar values for scalar mapping.
|
|
virtual void | SetHueRange (double, double) |
| Set the range in hue (using automatic generation).
|
|
void | SetHueRange (double[2]) |
| Set the range in hue (using automatic generation).
|
|
virtual double * | GetHueRange () |
| Set the range in hue (using automatic generation).
|
|
virtual void | GetHueRange (double &, double &) |
| Set the range in hue (using automatic generation).
|
|
virtual void | GetHueRange (double[2]) |
| Set the range in hue (using automatic generation).
|
|
virtual void | SetSaturationRange (double, double) |
| Set the range in saturation (using automatic generation).
|
|
void | SetSaturationRange (double[2]) |
| Set the range in saturation (using automatic generation).
|
|
virtual double * | GetSaturationRange () |
| Set the range in saturation (using automatic generation).
|
|
virtual void | GetSaturationRange (double &, double &) |
| Set the range in saturation (using automatic generation).
|
|
virtual void | GetSaturationRange (double[2]) |
| Set the range in saturation (using automatic generation).
|
|
virtual void | SetValueRange (double, double) |
| Set the range in value (using automatic generation).
|
|
void | SetValueRange (double[2]) |
| Set the range in value (using automatic generation).
|
|
virtual double * | GetValueRange () |
| Set the range in value (using automatic generation).
|
|
virtual void | GetValueRange (double &, double &) |
| Set the range in value (using automatic generation).
|
|
virtual void | GetValueRange (double[2]) |
| Set the range in value (using automatic generation).
|
|
virtual void | SetAlphaRange (double, double) |
| Set the range in alpha (using automatic generation).
|
|
void | SetAlphaRange (double[2]) |
| Set the range in alpha (using automatic generation).
|
|
virtual double * | GetAlphaRange () |
| Set the range in alpha (using automatic generation).
|
|
virtual void | GetAlphaRange (double &, double &) |
| Set the range in alpha (using automatic generation).
|
|
virtual void | GetAlphaRange (double[2]) |
| Set the range in alpha (using automatic generation).
|
|
virtual void | SetNanColor (double, double, double, double) |
| Set the color to use when a NaN (not a number) is encountered.
|
|
virtual void | SetNanColor (double[4]) |
| Set the color to use when a NaN (not a number) is encountered.
|
|
virtual double * | GetNanColor () |
| Set the color to use when a NaN (not a number) is encountered.
|
|
virtual void | GetNanColor (double &, double &, double &, double &) |
| Set the color to use when a NaN (not a number) is encountered.
|
|
virtual void | GetNanColor (double[4]) |
| Set the color to use when a NaN (not a number) is encountered.
|
|
virtual void | SetBelowRangeColor (double, double, double, double) |
| Set the color to use when a value below the range is encountered.
|
|
virtual void | SetBelowRangeColor (double[4]) |
| Set the color to use when a value below the range is encountered.
|
|
virtual double * | GetBelowRangeColor () |
| Set the color to use when a value below the range is encountered.
|
|
virtual void | GetBelowRangeColor (double &, double &, double &, double &) |
| Set the color to use when a value below the range is encountered.
|
|
virtual void | GetBelowRangeColor (double[4]) |
| Set the color to use when a value below the range is encountered.
|
|
virtual void | SetUseBelowRangeColor (vtkTypeBool) |
| Set whether the below range color should be used.
|
|
virtual vtkTypeBool | GetUseBelowRangeColor () |
| Set whether the below range color should be used.
|
|
virtual void | UseBelowRangeColorOn () |
| Set whether the below range color should be used.
|
|
virtual void | UseBelowRangeColorOff () |
| Set whether the below range color should be used.
|
|
virtual void | SetAboveRangeColor (double, double, double, double) |
| Set the color to use when a value above the range is encountered.
|
|
virtual void | SetAboveRangeColor (double[4]) |
| Set the color to use when a value above the range is encountered.
|
|
virtual double * | GetAboveRangeColor () |
| Set the color to use when a value above the range is encountered.
|
|
virtual void | GetAboveRangeColor (double &, double &, double &, double &) |
| Set the color to use when a value above the range is encountered.
|
|
virtual void | GetAboveRangeColor (double[4]) |
| Set the color to use when a value above the range is encountered.
|
|
virtual void | SetUseAboveRangeColor (vtkTypeBool) |
| Set whether the above range color should be used.
|
|
virtual vtkTypeBool | GetUseAboveRangeColor () |
| Set whether the above range color should be used.
|
|
virtual void | UseAboveRangeColorOn () |
| Set whether the above range color should be used.
|
|
virtual void | UseAboveRangeColorOff () |
| Set whether the above range color should be used.
|
|
void | SetNumberOfTableValues (vtkIdType number) |
| Specify the number of values (i.e., colors) in the lookup table.
|
|
vtkIdType | GetNumberOfTableValues () |
| Specify the number of values (i.e., colors) in the lookup table.
|
|
double * | GetRange () override |
| Sets/Gets the range of scalars which will be mapped.
|
|
void | SetRange (double min, double max) override |
| Sets/Gets the range of scalars which will be mapped.
|
|
void | SetRange (const double rng[2]) override |
| Sets/Gets the range of scalars which will be mapped.
|
|
virtual void | SetNumberOfColors (vtkIdType) |
| Set the number of colors in the lookup table.
|
|
virtual vtkIdType | GetNumberOfColors () |
| Set the number of colors in the lookup table.
|
|
void | SetTable (vtkUnsignedCharArray *) |
| Set/Get the internal table array that is used to map the scalars to colors.
|
|
virtual vtkUnsignedCharArray * | GetTable () |
| Set/Get the internal table array that is used to map the scalars to colors.
|
|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
vtkScalarsToColors * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual void | Build () |
| Perform any processing required (if any) before processing scalars.
|
|
virtual const unsigned char * | MapValue (double v) |
| Map one value through the lookup table and return a color defined as an RGBA unsigned char tuple (4 bytes).
|
|
virtual void | GetColor (double v, double rgb[3]) |
| Map one value through the lookup table and store the color as an RGB array of doubles between 0 and 1 in the rgb argument.
|
|
double * | GetColor (double v) |
| Map one value through the lookup table and return the color as an RGB array of doubles between 0 and 1.
|
|
virtual double | GetOpacity (double v) |
| Map one value through the lookup table and return the alpha value (the opacity) as a double between 0 and 1.
|
|
double | GetLuminance (double x) |
| Map one value through the lookup table and return the luminance 0.3*red + 0.59*green + 0.11*blue as a double between 0 and 1.
|
|
void | MapVectorsThroughTable (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat, int vectorComponent, int vectorSize) |
| Map vectors through the lookup table.
|
|
void | MapVectorsThroughTable (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat) |
|
void | MapScalarsThroughTable (vtkDataArray *scalars, unsigned char *output, int outputFormat) |
| Map a set of scalars through the lookup table in a single operation.
|
|
void | MapScalarsThroughTable (vtkDataArray *scalars, unsigned char *output) |
|
void | MapScalarsThroughTable (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat) |
|
virtual void | MapScalarsThroughTable2 (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat) |
| An internal method typically not used in applications.
|
|
virtual void | DeepCopy (vtkScalarsToColors *o) |
| Copy the contents from another object.
|
|
virtual vtkTypeBool | UsingLogScale () |
| This should return 1 if the subclass is using log scale for mapping scalars to colors.
|
|
virtual vtkIdType | GetNumberOfAvailableColors () |
| Get the number of available colors for mapping to.
|
|
virtual vtkIdType | SetAnnotation (vtkVariant value, vtkStdString annotation) |
| Add a new entry (or change an existing entry) to the list of annotated values.
|
|
virtual vtkIdType | SetAnnotation (vtkStdString value, vtkStdString annotation) |
| This variant of SetAnnotation accepts the value as a string so ParaView can treat annotations as string vector arrays.
|
|
vtkIdType | GetNumberOfAnnotatedValues () |
| Return the annotated value at a particular index in the list of annotations.
|
|
vtkVariant | GetAnnotatedValue (vtkIdType idx) |
| Return the annotated value at a particular index in the list of annotations.
|
|
vtkStdString | GetAnnotation (vtkIdType idx) |
| Return the annotation at a particular index in the list of annotations.
|
|
virtual void | GetAnnotationColor (const vtkVariant &val, double rgba[4]) |
| Obtain the color associated with a particular annotated value (or NanColor if unmatched).
|
|
vtkIdType | GetAnnotatedValueIndex (vtkVariant val) |
| Return the index of the given value in the list of annotated values (or -1 if not present).
|
|
vtkIdType | GetAnnotatedValueIndexInternal (const vtkVariant &val) |
| Look up an index into the array of annotations given a value.
|
|
virtual void | GetIndexedColor (vtkIdType i, double rgba[4]) |
| Get the "indexed color" assigned to an index.
|
|
virtual bool | RemoveAnnotation (vtkVariant value) |
| Remove an existing entry from the list of annotated values.
|
|
virtual void | ResetAnnotations () |
| Remove all existing values and their annotations.
|
|
virtual void | SetAlpha (double alpha) |
| Specify an additional opacity (alpha) value to blend with.
|
|
virtual double | GetAlpha () |
| Specify an additional opacity (alpha) value to blend with.
|
|
virtual vtkUnsignedCharArray * | MapScalars (vtkDataArray *scalars, int colorMode, int component, int outputFormat=VTK_RGBA) |
| Internal methods that map a data array into an unsigned char array.
|
|
virtual vtkUnsignedCharArray * | MapScalars (vtkAbstractArray *scalars, int colorMode, int component, int outputFormat=VTK_RGBA) |
| Internal methods that map a data array into an unsigned char array.
|
|
virtual void | SetVectorMode (int) |
| Change mode that maps vectors by magnitude vs.
|
|
virtual int | GetVectorMode () |
| Change mode that maps vectors by magnitude vs.
|
|
void | SetVectorModeToMagnitude () |
| Change mode that maps vectors by magnitude vs.
|
|
void | SetVectorModeToComponent () |
| Change mode that maps vectors by magnitude vs.
|
|
void | SetVectorModeToRGBColors () |
| Change mode that maps vectors by magnitude vs.
|
|
virtual void | SetVectorComponent (int) |
| If the mapper does not select which component of a vector to map to colors, you can specify it here.
|
|
virtual int | GetVectorComponent () |
| If the mapper does not select which component of a vector to map to colors, you can specify it here.
|
|
virtual void | SetVectorSize (int) |
| When mapping vectors, consider only the number of components selected by VectorSize to be part of the vector, and ignore any other components.
|
|
virtual int | GetVectorSize () |
| When mapping vectors, consider only the number of components selected by VectorSize to be part of the vector, and ignore any other components.
|
|
virtual void | SetAnnotations (vtkAbstractArray *values, vtkStringArray *annotations) |
| Set a list of discrete values, either as a categorical set of values (when IndexedLookup is true) or as a set of annotations to add to a scalar array (when IndexedLookup is false).
|
|
virtual vtkAbstractArray * | GetAnnotatedValues () |
| Set a list of discrete values, either as a categorical set of values (when IndexedLookup is true) or as a set of annotations to add to a scalar array (when IndexedLookup is false).
|
|
virtual vtkStringArray * | GetAnnotations () |
| Set a list of discrete values, either as a categorical set of values (when IndexedLookup is true) or as a set of annotations to add to a scalar array (when IndexedLookup is false).
|
|
virtual void | SetIndexedLookup (vtkTypeBool) |
| Set/get whether the lookup table is for categorical or ordinal data.
|
|
virtual vtkTypeBool | GetIndexedLookup () |
| Set/get whether the lookup table is for categorical or ordinal data.
|
|
virtual void | IndexedLookupOn () |
| Set/get whether the lookup table is for categorical or ordinal data.
|
|
virtual void | IndexedLookupOff () |
| Set/get whether the lookup table is for categorical or ordinal data.
|
|
template<> |
unsigned char | ColorToUChar (double t) |
| Specializations of vtkScalarsToColors::ColorToUChar Converts from a color in a floating point type in range 0.0-1.0 to a uchar in range 0-255.
|
|
template<> |
unsigned char | ColorToUChar (float t) |
| Specializations of vtkScalarsToColors::ColorToUChar Converts from a color in a floating point type in range 0.0-1.0 to a uchar in range 0-255.
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
| Turn debugging output on.
|
|
virtual void | DebugOff () |
| Turn debugging output off.
|
|
bool | GetDebug () |
| Get the value of the debug flag.
|
|
void | SetDebug (bool debugFlag) |
| Set the value of the debug flag.
|
|
virtual void | Modified () |
| Update the modification time for this object.
|
|
virtual vtkMTimeType | GetMTime () |
| Return this object's modified time.
|
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
vtkTypeBool | HasObserver (unsigned long event) |
|
vtkTypeBool | HasObserver (const char *event) |
|
vtkTypeBool | InvokeEvent (unsigned long event) |
|
vtkTypeBool | InvokeEvent (const char *event) |
|
std::string | GetObjectDescription () const override |
| The object description printed in messages and PrintSelf output.
|
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkCommand * | GetCommand (unsigned long tag) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObserver (vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObservers (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method.
|
|
vtkTypeBool | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
vtkTypeBool | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
virtual void | SetObjectName (const std::string &objectName) |
| Set/get the name of this object for reporting purposes.
|
|
virtual std::string | GetObjectName () const |
| Set/get the name of this object for reporting purposes.
|
|
const char * | GetClassName () const |
| Return the class name as a string.
|
|
virtual std::string | GetObjectDescription () const |
| The object description printed in messages and PrintSelf output.
|
|
virtual vtkTypeBool | IsA (const char *name) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
| Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
|
|
virtual void | Delete () |
| Delete a VTK object.
|
|
virtual void | FastDelete () |
| Delete a reference to this object.
|
|
void | InitializeObjectBase () |
|
void | Print (ostream &os) |
| Print an object to an ostream.
|
|
void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object).
|
|
virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object).
|
|
int | GetReferenceCount () |
| Return the current reference count of this object.
|
|
void | SetReferenceCount (int) |
| Sets the reference count.
|
|
bool | GetIsInMemkind () const |
| A local state flag that remembers whether this object lives in the normal or extended memory space.
|
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual bool | UsesGarbageCollector () const |
| Indicate whether the class uses vtkGarbageCollector or not.
|
|