vtkPlotHistogram2D Class Reference

#include <vtkPlotHistogram2D.h>

Inheritance diagram for vtkPlotHistogram2D:

Inheritance graph
[legend]
Collaboration diagram for vtkPlotHistogram2D:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 33 of file vtkPlotHistogram2D.h.


Public Types

typedef vtkPlot Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void Update ()
virtual bool Paint (vtkContext2D *painter)
vtkImageDataGetInputImageData ()
void SetTransferFunction (vtkScalarsToColors *transfer)
vtkScalarsToColorsGetTransferFunction ()
virtual void GetBounds (double bounds[4])
virtual void SetPosition (const vtkRectf &pos)
virtual vtkRectf GetPosition ()
virtual void SetInput (vtkImageData *data, vtkIdType z=0)
virtual void SetInput (vtkTable *)
virtual void SetInput (vtkTable *, const vtkStdString &, const vtkStdString &)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPlotHistogram2DSafeDownCast (vtkObject *o)
static vtkPlotHistogram2DNew ()

Protected Member Functions

 vtkPlotHistogram2D ()
 ~vtkPlotHistogram2D ()
void GenerateHistogram ()

Protected Attributes

vtkSmartPointer< vtkImageDataInput
vtkSmartPointer< vtkImageDataOutput
vtkSmartPointer
< vtkScalarsToColors
TransferFunction
vtkRectf Position

Member Typedef Documentation

Reimplemented from vtkPlot.

Definition at line 36 of file vtkPlotHistogram2D.h.


Constructor & Destructor Documentation

vtkPlotHistogram2D::vtkPlotHistogram2D (  )  [protected]

vtkPlotHistogram2D::~vtkPlotHistogram2D (  )  [protected]


Member Function Documentation

virtual const char* vtkPlotHistogram2D::GetClassName (  )  [virtual]

Reimplemented from vtkPlot.

static int vtkPlotHistogram2D::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 vtkPlot.

virtual int vtkPlotHistogram2D::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 vtkPlot.

static vtkPlotHistogram2D* vtkPlotHistogram2D::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkPlot.

virtual void vtkPlotHistogram2D::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 vtkPlot.

static vtkPlotHistogram2D* vtkPlotHistogram2D::New (  )  [static]

Creates a new object.

Reimplemented from vtkObject.

virtual void vtkPlotHistogram2D::Update (  )  [virtual]

Perform any updates to the item that may be necessary before rendering. The scene should take care of calling this on all items before their Paint function is invoked.

Reimplemented from vtkAbstractContextItem.

virtual bool vtkPlotHistogram2D::Paint ( vtkContext2D painter  )  [virtual]

Paint event for the item, called whenever it needs to be drawn.

Reimplemented from vtkAbstractContextItem.

virtual void vtkPlotHistogram2D::SetInput ( vtkImageData data,
vtkIdType  z = 0 
) [virtual]

Set the input, we are expecting a vtkImageData with just one component, this would normally be a float or a double. It will be passed to the other functions as a double to generate a color.

virtual void vtkPlotHistogram2D::SetInput ( vtkTable  )  [inline, virtual]

Set the input, we are expecting a vtkImageData with just one component, this would normally be a float or a double. It will be passed to the other functions as a double to generate a color.

Reimplemented from vtkPlot.

Definition at line 55 of file vtkPlotHistogram2D.h.

virtual void vtkPlotHistogram2D::SetInput ( vtkTable ,
const vtkStdString ,
const vtkStdString  
) [inline, virtual]

Set the input, we are expecting a vtkImageData with just one component, this would normally be a float or a double. It will be passed to the other functions as a double to generate a color.

Reimplemented from vtkPlot.

Definition at line 56 of file vtkPlotHistogram2D.h.

vtkImageData* vtkPlotHistogram2D::GetInputImageData (  ) 

Get the input table used by the plot.

void vtkPlotHistogram2D::SetTransferFunction ( vtkScalarsToColors transfer  ) 

Set the color transfer funtion that will be used to generate the 2D histogram.

vtkScalarsToColors* vtkPlotHistogram2D::GetTransferFunction (  ) 

Get the color transfer function that is used to generate the histogram.

virtual void vtkPlotHistogram2D::GetBounds ( double  bounds[4]  )  [virtual]

Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).

Reimplemented from vtkPlot.

virtual void vtkPlotHistogram2D::SetPosition ( const vtkRectf pos  )  [virtual]

virtual vtkRectf vtkPlotHistogram2D::GetPosition (  )  [virtual]

void vtkPlotHistogram2D::GenerateHistogram (  )  [protected]

Where all the magic happens...


Member Data Documentation

Definition at line 83 of file vtkPlotHistogram2D.h.

Definition at line 84 of file vtkPlotHistogram2D.h.

Definition at line 85 of file vtkPlotHistogram2D.h.

Definition at line 86 of file vtkPlotHistogram2D.h.


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

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