ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions
Kitware.VTK.vtkChart Class Reference

vtkChart - Factory class for drawing 2D charts More...

Inheritance diagram for Kitware.VTK.vtkChart:
[legend]
Collaboration diagram for Kitware.VTK.vtkChart:
[legend]

List of all members.

Public Types

enum  BAR_WrapperEnum { BAR = 2, LINE = 0, POINTS = 1, STACKED = 3 }
 *Undocumented Block More...
enum  NOTIFY_WrapperEnum { NOTIFY = 3, PAN = 0, SELECT = 2, ZOOM = 1 }
 *Undocumented Block More...

Public Member Functions

 vtkChart (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual vtkPlot AddPlot (int type)
 Add a plot to the chart, defaults to using the name of the y column.
virtual int AddPlot (vtkPlot plot)
 Add a plot to the chart. Return the index of the plot, -1 if it failed.
virtual void ClearPlots ()
 Remove all plots from the chart.
virtual int GetActionToButton (int action)
 Get the mouse button associated with the supplied action. The mouse button enum is from vtkContextMouseEvent, and the action enum is from vtkChart.
virtual vtkAnnotationLink GetAnnotationLink ()
 Get the vtkAnnotationLink for the chart.
virtual bool GetAutoSize ()
 Set/get whether the chart should automatically resize to fill the current render window. Default is true.
virtual vtkAxis GetAxis (int axisIndex)
 Get the axis specified by axisIndex. 0 is x, 1 is y. This should probably be improved either using a string or enum to select the axis.
virtual int GetClickActionToButton (int action)
 Get the mouse button associated with the supplied click action. The mouse button enum is from vtkContextMouseEvent, and the action enum is from vtkChart.
virtual int[] GetGeometry ()
 Set/get the width and the height of the chart.
virtual void GetGeometry (ref int _arg1, ref int _arg2)
 Set/get the width and the height of the chart.
virtual void GetGeometry (IntPtr _arg)
 Set/get the width and the height of the chart.
virtual vtkChartLegend GetLegend ()
 Get the legend for the chart, if available. Can return NULL if there is no legend.
virtual int GetNumberOfAxes ()
 Get the number of axes in the current chart.
virtual int GetNumberOfPlots ()
 Get the number of plots the chart contains.
virtual vtkPlot GetPlot (int index)
 Get the plot at the specified index, returns null if the index is invalid.
virtual int[] GetPoint1 ()
 Set/get the first point in the chart (the bottom left).
virtual void GetPoint1 (ref int _arg1, ref int _arg2)
 Set/get the first point in the chart (the bottom left).
virtual void GetPoint1 (IntPtr _arg)
 Set/get the first point in the chart (the bottom left).
virtual int[] GetPoint2 ()
 Set/get the second point in the chart (the top right).
virtual void GetPoint2 (ref int _arg1, ref int _arg2)
 Set/get the second point in the chart (the top right).
virtual void GetPoint2 (IntPtr _arg)
 Set/get the second point in the chart (the top right).
virtual bool GetRenderEmpty ()
 Set/get whether the chart should still render its axes and decorations even if the chart has no visible plots. Default is false (do not render an empty plot).
virtual bool GetShowLegend ()
 Set/get whether the chart should draw a legend.
virtual vtkTextProperty GetTitleProperties ()
 Get the vtkTextProperty that governs how the chart title is displayed.
override int IsA (string type)
 *Undocumented Block
new vtkChart NewInstance ()
 *Undocumented Block
override bool Paint (vtkContext2D painter)
 Paint event for the chart, called whenever the chart needs to be drawn.
virtual void RecalculateBounds ()
 Request that the chart recalculates the range of its axes. Especially useful in applications after the parameters of plots have been modified.
virtual bool RemovePlot (int index)
 Remove the plot at the specified index, returns true if successful, false if the index was invalid.
virtual bool RemovePlotInstance (vtkPlot plot)
 Remove the given plot. Returns true if successful, false if the plot was not contained in this chart. Note, the base implementation of this method performs a linear search to locate the plot.
virtual void SetActionToButton (int action, int button)
 Assign action types to mouse buttons. Available action types are PAN, ZOOM and SELECT in the chart enum, the default assigns the LEFT_BUTTON to PAN, MIDDLE_BUTTON to ZOOM and RIGHT_BUTTON to SELECT. Valid mouse enums are in the vtkContextMouseEvent class.
virtual void SetAnnotationLink (vtkAnnotationLink link)
 Set the vtkAnnotationLink for the chart.
virtual void SetAutoSize (bool _arg)
 Set/get whether the chart should automatically resize to fill the current render window. Default is true.
void SetBorders (int left, int bottom, int right, int top)
 Set/get the borders of the chart (space in pixels around the chart).
void SetBottomBorder (int border)
 Set/get the borders of the chart (space in pixels around the chart).
virtual void SetClickActionToButton (int action, int button)
 Assign action types to single mouse clicks. Available action types are SELECT and NOTIFY in the chart enum. The default assigns the LEFT_BUTTON to NOTIFY, and the RIGHT_BUTTON to SELECT.
virtual void SetGeometry (int _arg1, int _arg2)
 Set/get the width and the height of the chart.
void SetGeometry (IntPtr _arg)
 Set/get the width and the height of the chart.
void SetLeftBorder (int border)
 Set/get the borders of the chart (space in pixels around the chart).
virtual void SetPoint1 (int _arg1, int _arg2)
 Set/get the first point in the chart (the bottom left).
void SetPoint1 (IntPtr _arg)
 Set/get the first point in the chart (the bottom left).
virtual void SetPoint2 (int _arg1, int _arg2)
 Set/get the second point in the chart (the top right).
void SetPoint2 (IntPtr _arg)
 Set/get the second point in the chart (the top right).
virtual void SetRenderEmpty (bool _arg)
 Set/get whether the chart should still render its axes and decorations even if the chart has no visible plots. Default is false (do not render an empty plot).
void SetRightBorder (int border)
 Set/get the borders of the chart (space in pixels around the chart).
virtual void SetShowLegend (bool visible)
 Set/get whether the chart should draw a legend.
void SetTopBorder (int border)
 Set/get the borders of the chart (space in pixels around the chart).
- Public Member Functions inherited from Kitware.VTK.vtkContextItem
 vtkContextItem (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual double GetOpacity ()
 Get the opacity of the item.
virtual void SetOpacity (double _arg)
 Set the opacity of the item. 1.0 by default.
- Public Member Functions inherited from Kitware.VTK.vtkAbstractContextItem
 vtkAbstractContextItem (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
uint AddItem (vtkAbstractContextItem item)
 Add child items to this item. Increments reference count of item.
void ClearItems ()
 Remove all child items from this item.
vtkAbstractContextItem GetItem (uint index)
 Get the item at the specified index.
uint GetNumberOfItems ()
 Get the number of child items.
vtkAbstractContextItem GetParent ()
 Get the parent item. The parent will be set for all items except top level items in a tree.
vtkContextScene GetScene ()
 Get the vtkContextScene for the item, always set for an item in a scene.
virtual bool GetVisible ()
 Get the visibility of the item (should it be drawn).
bool PaintChildren (vtkContext2D painter)
 Paint the children of the item, should be called whenever the children need to be rendered.
virtual void ReleaseGraphicsResources ()
 Release graphics resources hold by the item. The default implementation is empty.
bool RemoveItem (vtkAbstractContextItem item)
 Remove child item from this item. Decrements reference count of item.
bool RemoveItem (uint index)
 Remove child item from this item. Decrements reference count of item.
virtual void SetParent (vtkAbstractContextItem parent)
 Set the parent item. The parent will be set for all items except top level items in a scene.
virtual void SetScene (vtkContextScene scene)
 Set the vtkContextScene for the item, always set for an item in a scene.
virtual void SetVisible (bool _arg)
 Set the visibility of the item (should it be drawn). Visible by default.
virtual void Update ()
 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.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
virtual uint GetMTime ()
 Return this object's modified time.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void Register (vtkObjectBase o)
 Increase the reference count (mark as used by another object).
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new int IsTypeOf (string type)
 *Undocumented Block
static new vtkChart SafeDownCast (vtkObjectBase o)
 *Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkChart"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkContextItem
- Public Attributes inherited from Kitware.VTK.vtkAbstractContextItem
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "8vtkChart"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkContextItem
- Static Public Attributes inherited from Kitware.VTK.vtkAbstractContextItem
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkChart ()
 Automatically generated type registration mechanics.

Detailed Description

vtkChart - Factory class for drawing 2D charts

Description This defines the interface for a chart.


Member Enumeration Documentation

*Undocumented Block

Enumerator:
BAR 

enum member

LINE 

enum member

POINTS 

enum member

STACKED 

enum member

*Undocumented Block

Enumerator:
NOTIFY 

enum member

PAN 

enum member

SELECT 

enum member

ZOOM 

enum member


Constructor & Destructor Documentation

static Kitware.VTK.vtkChart.vtkChart ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkChart.vtkChart ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.


Member Function Documentation

virtual vtkPlot Kitware.VTK.vtkChart.AddPlot ( int  type)
virtual

Add a plot to the chart, defaults to using the name of the y column.

Reimplemented in Kitware.VTK.vtkChartPie, and Kitware.VTK.vtkChartXY.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkChart.AddPlot ( vtkPlot  plot)
virtual

Add a plot to the chart. Return the index of the plot, -1 if it failed.

Reimplemented in Kitware.VTK.vtkChartPie, and Kitware.VTK.vtkChartXY.

virtual void Kitware.VTK.vtkChart.ClearPlots ( )
virtual

Remove all plots from the chart.

Reimplemented in Kitware.VTK.vtkChartXY.

override void Kitware.VTK.vtkChart.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkContextItem.

Reimplemented in Kitware.VTK.vtkChartHistogram2D, Kitware.VTK.vtkChartParallelCoordinates, Kitware.VTK.vtkChartPie, and Kitware.VTK.vtkChartXY.

virtual int Kitware.VTK.vtkChart.GetActionToButton ( int  action)
virtual

Get the mouse button associated with the supplied action. The mouse button enum is from vtkContextMouseEvent, and the action enum is from vtkChart.

virtual vtkAnnotationLink Kitware.VTK.vtkChart.GetAnnotationLink ( )
virtual

Get the vtkAnnotationLink for the chart.

Here is the call graph for this function:

virtual bool Kitware.VTK.vtkChart.GetAutoSize ( )
virtual

Set/get whether the chart should automatically resize to fill the current render window. Default is true.

virtual vtkAxis Kitware.VTK.vtkChart.GetAxis ( int  axisIndex)
virtual

Get the axis specified by axisIndex. 0 is x, 1 is y. This should probably be improved either using a string or enum to select the axis.

Reimplemented in Kitware.VTK.vtkChartXY, and Kitware.VTK.vtkChartParallelCoordinates.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkChart.GetClickActionToButton ( int  action)
virtual

Get the mouse button associated with the supplied click action. The mouse button enum is from vtkContextMouseEvent, and the action enum is from vtkChart.

virtual int [] Kitware.VTK.vtkChart.GetGeometry ( )
virtual

Set/get the width and the height of the chart.

virtual void Kitware.VTK.vtkChart.GetGeometry ( ref int  _arg1,
ref int  _arg2 
)
virtual

Set/get the width and the height of the chart.

virtual void Kitware.VTK.vtkChart.GetGeometry ( IntPtr  _arg)
virtual

Set/get the width and the height of the chart.

virtual vtkChartLegend Kitware.VTK.vtkChart.GetLegend ( )
virtual

Get the legend for the chart, if available. Can return NULL if there is no legend.

Reimplemented in Kitware.VTK.vtkChartXY, and Kitware.VTK.vtkChartPie.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkChart.GetNumberOfAxes ( )
virtual

Get the number of axes in the current chart.

Reimplemented in Kitware.VTK.vtkChartXY, and Kitware.VTK.vtkChartParallelCoordinates.

virtual int Kitware.VTK.vtkChart.GetNumberOfPlots ( )
virtual

Get the number of plots the chart contains.

Reimplemented in Kitware.VTK.vtkChartXY, Kitware.VTK.vtkChartPie, and Kitware.VTK.vtkChartParallelCoordinates.

virtual vtkPlot Kitware.VTK.vtkChart.GetPlot ( int  index)
virtual

Get the plot at the specified index, returns null if the index is invalid.

Reimplemented in Kitware.VTK.vtkChartXY, Kitware.VTK.vtkChartPie, and Kitware.VTK.vtkChartParallelCoordinates.

Here is the call graph for this function:

virtual int [] Kitware.VTK.vtkChart.GetPoint1 ( )
virtual

Set/get the first point in the chart (the bottom left).

virtual void Kitware.VTK.vtkChart.GetPoint1 ( ref int  _arg1,
ref int  _arg2 
)
virtual

Set/get the first point in the chart (the bottom left).

virtual void Kitware.VTK.vtkChart.GetPoint1 ( IntPtr  _arg)
virtual

Set/get the first point in the chart (the bottom left).

virtual int [] Kitware.VTK.vtkChart.GetPoint2 ( )
virtual

Set/get the second point in the chart (the top right).

virtual void Kitware.VTK.vtkChart.GetPoint2 ( ref int  _arg1,
ref int  _arg2 
)
virtual

Set/get the second point in the chart (the top right).

virtual void Kitware.VTK.vtkChart.GetPoint2 ( IntPtr  _arg)
virtual

Set/get the second point in the chart (the top right).

virtual bool Kitware.VTK.vtkChart.GetRenderEmpty ( )
virtual

Set/get whether the chart should still render its axes and decorations even if the chart has no visible plots. Default is false (do not render an empty plot).

Note that if you wish to render axes for an empty plot you should also set AutoSize to false, as that will hide all axes for an empty plot.

virtual bool Kitware.VTK.vtkChart.GetShowLegend ( )
virtual

Set/get whether the chart should draw a legend.

virtual vtkTextProperty Kitware.VTK.vtkChart.GetTitleProperties ( )
virtual

Get the vtkTextProperty that governs how the chart title is displayed.

Here is the call graph for this function:

override int Kitware.VTK.vtkChart.IsA ( string  type)
virtual
static new int Kitware.VTK.vtkChart.IsTypeOf ( string  type)
static
new vtkChart Kitware.VTK.vtkChart.NewInstance ( )
override bool Kitware.VTK.vtkChart.Paint ( vtkContext2D  painter)
virtual

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

Reimplemented from Kitware.VTK.vtkAbstractContextItem.

Reimplemented in Kitware.VTK.vtkChartXY, Kitware.VTK.vtkChartPie, and Kitware.VTK.vtkChartParallelCoordinates.

virtual void Kitware.VTK.vtkChart.RecalculateBounds ( )
virtual

Request that the chart recalculates the range of its axes. Especially useful in applications after the parameters of plots have been modified.

Reimplemented in Kitware.VTK.vtkChartXY, and Kitware.VTK.vtkChartParallelCoordinates.

virtual bool Kitware.VTK.vtkChart.RemovePlot ( int  index)
virtual

Remove the plot at the specified index, returns true if successful, false if the index was invalid.

Reimplemented in Kitware.VTK.vtkChartXY.

virtual bool Kitware.VTK.vtkChart.RemovePlotInstance ( vtkPlot  plot)
virtual

Remove the given plot. Returns true if successful, false if the plot was not contained in this chart. Note, the base implementation of this method performs a linear search to locate the plot.

static new vtkChart Kitware.VTK.vtkChart.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkContextItem.

Reimplemented in Kitware.VTK.vtkChartXY, Kitware.VTK.vtkChartParallelCoordinates, Kitware.VTK.vtkChartPie, and Kitware.VTK.vtkChartHistogram2D.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkChart.SetActionToButton ( int  action,
int  button 
)
virtual

Assign action types to mouse buttons. Available action types are PAN, ZOOM and SELECT in the chart enum, the default assigns the LEFT_BUTTON to PAN, MIDDLE_BUTTON to ZOOM and RIGHT_BUTTON to SELECT. Valid mouse enums are in the vtkContextMouseEvent class.

Note that only one mouse button can be assigned to each action, an action will have -1 (invalid button) assigned if it had the same button as the one assigned to a different action.

virtual void Kitware.VTK.vtkChart.SetAnnotationLink ( vtkAnnotationLink  link)
virtual

Set the vtkAnnotationLink for the chart.

virtual void Kitware.VTK.vtkChart.SetAutoSize ( bool  _arg)
virtual

Set/get whether the chart should automatically resize to fill the current render window. Default is true.

void Kitware.VTK.vtkChart.SetBorders ( int  left,
int  bottom,
int  right,
int  top 
)

Set/get the borders of the chart (space in pixels around the chart).

void Kitware.VTK.vtkChart.SetBottomBorder ( int  border)

Set/get the borders of the chart (space in pixels around the chart).

virtual void Kitware.VTK.vtkChart.SetClickActionToButton ( int  action,
int  button 
)
virtual

Assign action types to single mouse clicks. Available action types are SELECT and NOTIFY in the chart enum. The default assigns the LEFT_BUTTON to NOTIFY, and the RIGHT_BUTTON to SELECT.

virtual void Kitware.VTK.vtkChart.SetGeometry ( int  _arg1,
int  _arg2 
)
virtual

Set/get the width and the height of the chart.

void Kitware.VTK.vtkChart.SetGeometry ( IntPtr  _arg)

Set/get the width and the height of the chart.

void Kitware.VTK.vtkChart.SetLeftBorder ( int  border)

Set/get the borders of the chart (space in pixels around the chart).

virtual void Kitware.VTK.vtkChart.SetPoint1 ( int  _arg1,
int  _arg2 
)
virtual

Set/get the first point in the chart (the bottom left).

void Kitware.VTK.vtkChart.SetPoint1 ( IntPtr  _arg)

Set/get the first point in the chart (the bottom left).

virtual void Kitware.VTK.vtkChart.SetPoint2 ( int  _arg1,
int  _arg2 
)
virtual

Set/get the second point in the chart (the top right).

void Kitware.VTK.vtkChart.SetPoint2 ( IntPtr  _arg)

Set/get the second point in the chart (the top right).

virtual void Kitware.VTK.vtkChart.SetRenderEmpty ( bool  _arg)
virtual

Set/get whether the chart should still render its axes and decorations even if the chart has no visible plots. Default is false (do not render an empty plot).

Note that if you wish to render axes for an empty plot you should also set AutoSize to false, as that will hide all axes for an empty plot.

void Kitware.VTK.vtkChart.SetRightBorder ( int  border)

Set/get the borders of the chart (space in pixels around the chart).

virtual void Kitware.VTK.vtkChart.SetShowLegend ( bool  visible)
virtual

Set/get whether the chart should draw a legend.

Reimplemented in Kitware.VTK.vtkChartXY, and Kitware.VTK.vtkChartPie.

void Kitware.VTK.vtkChart.SetTopBorder ( int  border)

Set/get the borders of the chart (space in pixels around the chart).


Member Data Documentation

new readonly string Kitware.VTK.vtkChart.MRClassNameKey = "8vtkChart"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkContextItem.

Reimplemented in Kitware.VTK.vtkChartHistogram2D, Kitware.VTK.vtkChartParallelCoordinates, Kitware.VTK.vtkChartPie, and Kitware.VTK.vtkChartXY.

new const string Kitware.VTK.vtkChart.MRFullTypeName = "Kitware.VTK.vtkChart"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkContextItem.

Reimplemented in Kitware.VTK.vtkChartHistogram2D, Kitware.VTK.vtkChartParallelCoordinates, Kitware.VTK.vtkChartPie, and Kitware.VTK.vtkChartXY.


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