|
VTK
|
#include <vtkChartHistogram2D.h>
Public Types | |
| typedef vtkChartXY | Superclass |
Public Types inherited from vtkChartXY | |
| typedef vtkChart | Superclass |
Public Types inherited from vtkChart | |
| typedef vtkContextItem | Superclass |
| enum | { LINE, POINTS, BAR, STACKED } |
| enum | { PAN = 0, ZOOM, SELECT, SELECT_RECTANGLE = SELECT, SELECT_POLYGON, NOTIFY } |
| enum | EventIds { UpdateRange = 1002 } |
| enum | { SELECTION_ROWS, SELECTION_PLOTS } |
| enum | { FILL_SCENE, FILL_RECT, AXES_TO_RECT } |
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) |
Public Member Functions inherited from vtkChartXY | |
| vtkChartXY * | NewInstance () const |
| virtual bool | Paint (vtkContext2D *painter) |
| virtual vtkPlot * | AddPlot (int type) |
| virtual vtkIdType | AddPlot (vtkPlot *plot) |
| virtual bool | RemovePlot (vtkIdType index) |
| virtual void | ClearPlots () |
| virtual vtkIdType | GetNumberOfPlots () |
| int | GetPlotCorner (vtkPlot *plot) |
| void | SetPlotCorner (vtkPlot *plot, int corner) |
| virtual vtkAxis * | GetAxis (int axisIndex) |
| virtual void | SetShowLegend (bool visible) |
| virtual vtkChartLegend * | GetLegend () |
| virtual void | SetTooltip (vtkTooltipItem *tooltip) |
| virtual vtkTooltipItem * | GetTooltip () |
| virtual vtkIdType | GetNumberOfAxes () |
| virtual void | RecalculateBounds () |
| virtual void | SetSelectionMethod (int method) |
| virtual bool | MouseEnterEvent (const vtkContextMouseEvent &mouse) |
| virtual bool | MouseMoveEvent (const vtkContextMouseEvent &mouse) |
| virtual bool | MouseLeaveEvent (const vtkContextMouseEvent &mouse) |
| virtual bool | MouseButtonPressEvent (const vtkContextMouseEvent &mouse) |
| virtual bool | MouseButtonReleaseEvent (const vtkContextMouseEvent &mouse) |
| virtual bool | MouseWheelEvent (const vtkContextMouseEvent &mouse, int delta) |
| virtual void | SetDrawAxesAtOrigin (bool) |
| virtual bool | GetDrawAxesAtOrigin () |
| virtual void | DrawAxesAtOriginOn () |
| virtual void | DrawAxesAtOriginOff () |
| virtual void | SetAutoAxes (bool) |
| virtual bool | GetAutoAxes () |
| virtual void | AutoAxesOn () |
| virtual void | AutoAxesOff () |
| virtual void | SetHiddenAxisBorder (int) |
| virtual int | GetHiddenAxisBorder () |
| virtual void | SetForceAxesToBounds (bool) |
| virtual bool | GetForceAxesToBounds () |
| virtual void | ForceAxesToBoundsOn () |
| virtual void | ForceAxesToBoundsOff () |
| virtual void | SetBarWidthFraction (float) |
| virtual float | GetBarWidthFraction () |
| virtual void | SetTooltipInfo (const vtkContextMouseEvent &, const vtkVector2f &, vtkIdType, vtkPlot *, vtkIdType segmentIndex=-1) |
| virtual bool | KeyPressEvent (const vtkContextKeyEvent &key) |
Public Member Functions inherited from vtkChart | |
| vtkChart * | NewInstance () const |
| virtual bool | RemovePlotInstance (vtkPlot *plot) |
| virtual void | SetAnnotationLink (vtkAnnotationLink *link) |
| void | SetBorders (int left, int bottom, int right, int top) |
| void | SetSize (const vtkRectf &rect) |
| vtkRectf | GetSize () |
| virtual void | SetActionToButton (int action, int button) |
| virtual int | GetActionToButton (int action) |
| virtual void | SetClickActionToButton (int action, int button) |
| virtual int | GetClickActionToButton (int action) |
| virtual int | GetSelectionMethod () |
| virtual vtkAnnotationLink * | GetAnnotationLink () |
| virtual void | SetGeometry (int, int) |
| void | SetGeometry (int[2]) |
| virtual int * | GetGeometry () |
| virtual void | GetGeometry (int &, int &) |
| virtual void | GetGeometry (int[2]) |
| virtual void | SetPoint1 (int, int) |
| void | SetPoint1 (int[2]) |
| virtual int * | GetPoint1 () |
| virtual void | GetPoint1 (int &, int &) |
| virtual void | GetPoint1 (int[2]) |
| virtual void | SetPoint2 (int, int) |
| void | SetPoint2 (int[2]) |
| virtual int * | GetPoint2 () |
| virtual void | GetPoint2 (int &, int &) |
| virtual void | GetPoint2 (int[2]) |
| virtual bool | GetShowLegend () |
| virtual void | SetTitle (const vtkStdString &title) |
| virtual vtkStdString | GetTitle () |
| virtual vtkTextProperty * | GetTitleProperties () |
| void | SetBottomBorder (int border) |
| void | SetTopBorder (int border) |
| void | SetLeftBorder (int border) |
| void | SetRightBorder (int border) |
| virtual void | SetLayoutStrategy (int) |
| virtual int | GetLayoutStrategy () |
| virtual void | SetAutoSize (bool isAutoSized) |
| virtual bool | GetAutoSize () |
| virtual void | SetRenderEmpty (bool) |
| virtual bool | GetRenderEmpty () |
| void | SetBackgroundBrush (vtkBrush *brush) |
| vtkBrush * | GetBackgroundBrush () |
| virtual void | SetSelectionMode (int) |
| virtual int | GetSelectionMode () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkChartHistogram2D * | SafeDownCast (vtkObjectBase *o) |
| static vtkChartHistogram2D * | New () |
Static Public Member Functions inherited from vtkChartXY | |
| static int | IsTypeOf (const char *type) |
| static vtkChartXY * | SafeDownCast (vtkObjectBase *o) |
| static vtkChartXY * | New () |
Static Public Member Functions inherited from vtkChart | |
| static int | IsTypeOf (const char *type) |
| static vtkChart * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkChartHistogram2D () | |
| ~vtkChartHistogram2D () | |
| virtual bool | UpdateLayout (vtkContext2D *painter) |
Protected Member Functions inherited from vtkChartXY | |
| vtkChartXY () | |
| ~vtkChartXY () | |
| void | RecalculatePlotTransforms () |
| void | RecalculatePlotBounds () |
| virtual int | GetLegendBorder (vtkContext2D *painter, int axisPosition) |
| virtual void | SetLegendPosition (const vtkRectf &rect) |
Protected Member Functions inherited from vtkChart | |
| vtkChart () | |
| ~vtkChart () | |
| void | AttachAxisRangeListener (vtkAxis *) |
| void | AxisRangeForwarderCallback (vtkObject *, unsigned long, void *) |
| bool | CalculatePlotTransform (vtkAxis *x, vtkAxis *y, vtkTransform2D *transform) |
Protected Attributes | |
| vtkSmartPointer < vtkPlotHistogram2D > | Histogram |
| vtkTimeStamp | BuildTime |
| Private * | Storage |
Protected Attributes inherited from vtkChartXY | |
| vtkSmartPointer< vtkChartLegend > | Legend |
| vtkSmartPointer< vtkTooltipItem > | Tooltip |
| bool | PlotTransformValid |
| vtkRectf | MouseBox |
| bool | DrawBox |
| vtkContextPolygon | SelectionPolygon |
| bool | DrawSelectionPolygon |
| bool | DrawNearestPoint |
| bool | DrawAxesAtOrigin |
| bool | AutoAxes |
| int | HiddenAxisBorder |
| float | BarWidthFraction |
| bool | LayoutChanged |
| bool | ForceAxesToBounds |
Protected Attributes inherited from vtkChart | |
| vtkAnnotationLink * | AnnotationLink |
| int | Geometry [2] |
| int | Point1 [2] |
| int | Point2 [2] |
| bool | ShowLegend |
| vtkStdString | Title |
| vtkTextProperty * | TitleProperties |
| vtkRectf | Size |
| int | LayoutStrategy |
| bool | RenderEmpty |
| vtkSmartPointer< vtkBrush > | BackgroundBrush |
| int | SelectionMode |
| int | SelectionMethod |
| MouseActions | Actions |
| MouseClickActions | ActionsClick |
Definition at line 35 of file vtkChartHistogram2D.h.
Definition at line 38 of file vtkChartHistogram2D.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkChartXY.
|
static |
|
protectedvirtual |
Reimplemented from vtkChartXY.
| vtkChartHistogram2D* vtkChartHistogram2D::NewInstance | ( | ) | const |
|
virtual |
Reimplemented from vtkChartXY.
|
static |
Creates a 2D histogram chart
|
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 |
|
virtual |
|
virtual |
Return true if the supplied x, y coordinate is inside the item.
Reimplemented from vtkChartXY.
Get the plot at the specified index, returns null if the index is invalid.
Reimplemented from vtkChartXY.
|
protectedvirtual |
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.
|
protected |
Definition at line 63 of file vtkChartHistogram2D.h.
|
protected |
The point cache is marked dirty until it has been initialized.
Definition at line 66 of file vtkChartHistogram2D.h.
|
protected |
Definition at line 68 of file vtkChartHistogram2D.h.
1.8.6