#include <vtkPlotHistogram2D.h>
Definition at line 33 of file vtkPlotHistogram2D.h.
vtkPlotHistogram2D::vtkPlotHistogram2D | ( | ) | [protected] |
vtkPlotHistogram2D::~vtkPlotHistogram2D | ( | ) | [protected] |
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] |
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...
vtkSmartPointer<vtkImageData> vtkPlotHistogram2D::Input [protected] |
Definition at line 83 of file vtkPlotHistogram2D.h.
vtkSmartPointer<vtkImageData> vtkPlotHistogram2D::Output [protected] |
Definition at line 84 of file vtkPlotHistogram2D.h.
Definition at line 85 of file vtkPlotHistogram2D.h.
vtkRectf vtkPlotHistogram2D::Position [protected] |
Definition at line 86 of file vtkPlotHistogram2D.h.