#include <vtkColorTransferFunctionItem.h>
Definition at line 27 of file vtkColorTransferFunctionItem.h.
Public Types | |
typedef vtkScalarsToColorsItem | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | GetBounds (double bounds[4]) |
void | SetColorTransferFunction (vtkColorTransferFunction *t) |
virtual vtkColorTransferFunction * | GetColorTransferFunction () |
Static Public Member Functions | |
static vtkColorTransferFunctionItem * | New () |
static int | IsTypeOf (const char *type) |
static vtkColorTransferFunctionItem * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkColorTransferFunctionItem () | |
virtual | ~vtkColorTransferFunctionItem () |
virtual void | ComputeTexture () |
Protected Attributes | |
vtkColorTransferFunction * | ColorTransferFunction |
Reimplemented from vtkScalarsToColorsItem.
Reimplemented in vtkCompositeTransferFunctionItem.
Definition at line 31 of file vtkColorTransferFunctionItem.h.
vtkColorTransferFunctionItem::vtkColorTransferFunctionItem | ( | ) | [protected] |
virtual vtkColorTransferFunctionItem::~vtkColorTransferFunctionItem | ( | ) | [protected, virtual] |
static vtkColorTransferFunctionItem* vtkColorTransferFunctionItem::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
Reimplemented in vtkCompositeTransferFunctionItem.
virtual const char* vtkColorTransferFunctionItem::GetClassName | ( | ) | [virtual] |
static int vtkColorTransferFunctionItem::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkScalarsToColorsItem.
Reimplemented in vtkCompositeTransferFunctionItem.
virtual int vtkColorTransferFunctionItem::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkScalarsToColorsItem.
Reimplemented in vtkCompositeTransferFunctionItem.
static vtkColorTransferFunctionItem* vtkColorTransferFunctionItem::SafeDownCast | ( | vtkObject * | o | ) | [static] |
virtual void vtkColorTransferFunctionItem::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkScalarsToColorsItem.
Reimplemented in vtkCompositeTransferFunctionItem.
virtual void vtkColorTransferFunctionItem::GetBounds | ( | double | bounds[4] | ) | [virtual] |
Bounds of the item, by default (0, 1, 0, 1) but it mainly depends on the range of the ScalarsToColors function. Need to be reimplemented by subclasses if the range is != [0,1]
Reimplemented from vtkScalarsToColorsItem.
Reimplemented in vtkCompositeTransferFunctionItem.
void vtkColorTransferFunctionItem::SetColorTransferFunction | ( | vtkColorTransferFunction * | t | ) |
virtual vtkColorTransferFunction* vtkColorTransferFunctionItem::GetColorTransferFunction | ( | ) | [virtual] |
virtual void vtkColorTransferFunctionItem::ComputeTexture | ( | ) | [protected, virtual] |
Need to be reimplemented by subclasses, ComputeTexture() is called at paint time if the texture is not up to date compared to vtkScalarsToColorsItem Return false if no texture is generated.
Implements vtkScalarsToColorsItem.
Reimplemented in vtkCompositeTransferFunctionItem.
Definition at line 46 of file vtkColorTransferFunctionItem.h.