vtkPiecewiseFunctionItem Class Reference

#include <vtkPiecewiseFunctionItem.h>

Inheritance diagram for vtkPiecewiseFunctionItem:

Inheritance graph
[legend]
Collaboration diagram for vtkPiecewiseFunctionItem:

Collaboration graph
[legend]

List of all members.


Detailed Description

vtkPiecewiseFunctionItem internall uses vtkPlot::Color, white by default

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 vtkPiecewiseFunctionGetPiecewiseFunction ()

Static Public Member Functions

static vtkPiecewiseFunctionItemNew ()
static int IsTypeOf (const char *type)
static vtkPiecewiseFunctionItemSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPiecewiseFunctionItem ()
virtual ~vtkPiecewiseFunctionItem ()
virtual void ComputeTexture ()

Protected Attributes

vtkPiecewiseFunctionPiecewiseFunction

Member Typedef Documentation

Reimplemented from vtkScalarsToColorsItem.

Definition at line 29 of file vtkPiecewiseFunctionItem.h.


Constructor & Destructor Documentation

vtkPiecewiseFunctionItem::vtkPiecewiseFunctionItem (  )  [protected]

virtual vtkPiecewiseFunctionItem::~vtkPiecewiseFunctionItem (  )  [protected, virtual]


Member Function Documentation

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.


Member Data Documentation

Definition at line 47 of file vtkPiecewiseFunctionItem.h.


The documentation for this class was generated from the following file:

Generated on Wed Aug 24 11:54:54 2011 for VTK by  doxygen 1.5.6