VTK
|
#include <vtkChartHistogram2D.h>
Public Types | |
typedef vtkChartXY | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkChartHistogram2D * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Update () |
virtual void | SetInputData (vtkImageData *data, vtkIdType z=0) |
virtual void | SetTransferFunction (vtkScalarsToColors *function) |
virtual bool | Hit (const vtkContextMouseEvent &mouse) |
virtual vtkPlot * | GetPlot (vtkIdType index) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkChartHistogram2D * | SafeDownCast (vtkObjectBase *o) |
static vtkChartHistogram2D * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkChartHistogram2D () | |
~vtkChartHistogram2D () | |
virtual bool | UpdateLayout (vtkContext2D *painter) |
Protected Attributes | |
vtkSmartPointer < vtkPlotHistogram2D > | Histogram |
vtkTimeStamp | BuildTime |
Private * | Storage |
Definition at line 35 of file vtkChartHistogram2D.h.
Reimplemented from vtkChartXY.
Definition at line 38 of file vtkChartHistogram2D.h.
vtkChartHistogram2D::vtkChartHistogram2D | ( | ) | [protected] |
vtkChartHistogram2D::~vtkChartHistogram2D | ( | ) | [protected] |
static int vtkChartHistogram2D::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 vtkChartXY.
virtual int vtkChartHistogram2D::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 vtkChartXY.
static vtkChartHistogram2D* vtkChartHistogram2D::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkChartXY.
virtual vtkObjectBase* vtkChartHistogram2D::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkChartXY.
Reimplemented from vtkChartXY.
virtual void vtkChartHistogram2D::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 vtkChartXY.
static vtkChartHistogram2D* vtkChartHistogram2D::New | ( | ) | [static] |
Creates a 2D histogram chart
Reimplemented from vtkChartXY.
virtual void vtkChartHistogram2D::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 vtkChartXY.
virtual void vtkChartHistogram2D::SetInputData | ( | vtkImageData * | data, |
vtkIdType | z = 0 |
||
) | [virtual] |
virtual void vtkChartHistogram2D::SetTransferFunction | ( | vtkScalarsToColors * | function | ) | [virtual] |
virtual bool vtkChartHistogram2D::Hit | ( | const vtkContextMouseEvent & | mouse | ) | [virtual] |
Return true if the supplied x, y coordinate is inside the item.
Reimplemented from vtkChartXY.
virtual vtkPlot* vtkChartHistogram2D::GetPlot | ( | vtkIdType | index | ) | [virtual] |
Get the plot at the specified index, returns null if the index is invalid.
Reimplemented from vtkChartXY.
virtual bool vtkChartHistogram2D::UpdateLayout | ( | vtkContext2D * | painter | ) | [protected, virtual] |
Update the layout of the chart, this may require the vtkContext2D in order to get font metrics etc. Initially this was added to resize the charts according in response to the size of the axes.
Reimplemented from vtkChartXY.
Definition at line 63 of file vtkChartHistogram2D.h.
vtkTimeStamp vtkChartHistogram2D::BuildTime [protected] |
The point cache is marked dirty until it has been initialized.
Definition at line 66 of file vtkChartHistogram2D.h.
Private* vtkChartHistogram2D::Storage [protected] |
Definition at line 68 of file vtkChartHistogram2D.h.