#include <vtkPiecewiseFunctionItem.h>
Definition at line 25 of file vtkPiecewiseFunctionItem.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 | SetPiecewiseFunction (vtkPiecewiseFunction *t) |
virtual vtkPiecewiseFunction * | GetPiecewiseFunction () |
Static Public Member Functions | |
static vtkPiecewiseFunctionItem * | New () |
static int | IsTypeOf (const char *type) |
static vtkPiecewiseFunctionItem * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPiecewiseFunctionItem () | |
virtual | ~vtkPiecewiseFunctionItem () |
virtual void | ComputeTexture () |
Protected Attributes | |
vtkPiecewiseFunction * | PiecewiseFunction |
Reimplemented from vtkScalarsToColorsItem.
Definition at line 29 of file vtkPiecewiseFunctionItem.h.
vtkPiecewiseFunctionItem::vtkPiecewiseFunctionItem | ( | ) | [protected] |
virtual vtkPiecewiseFunctionItem::~vtkPiecewiseFunctionItem | ( | ) | [protected, virtual] |
static vtkPiecewiseFunctionItem* vtkPiecewiseFunctionItem::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkPiecewiseFunctionItem::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkScalarsToColorsItem.
static int vtkPiecewiseFunctionItem::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.
virtual int vtkPiecewiseFunctionItem::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.
static vtkPiecewiseFunctionItem* vtkPiecewiseFunctionItem::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkScalarsToColorsItem.
virtual void vtkPiecewiseFunctionItem::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.
virtual void vtkPiecewiseFunctionItem::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.
void vtkPiecewiseFunctionItem::SetPiecewiseFunction | ( | vtkPiecewiseFunction * | t | ) |
virtual vtkPiecewiseFunction* vtkPiecewiseFunctionItem::GetPiecewiseFunction | ( | ) | [virtual] |
virtual void vtkPiecewiseFunctionItem::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.
Definition at line 47 of file vtkPiecewiseFunctionItem.h.