Signals | Public Member Functions | Protected Attributes

vtkQtLineChartSeriesOptions Class Reference

The vtkQtLineChartSeriesOptions class stores the options for a line chart series. More...

#include <vtkQtLineChartSeriesOptions.h>

Inheritance diagram for vtkQtLineChartSeriesOptions:
Inheritance graph
[legend]
Collaboration diagram for vtkQtLineChartSeriesOptions:
Collaboration graph
[legend]

List of all members.

Signals

void axesCornerChanged (int corner, int previous)
 Emitted when the series axes corner changes.
void pointVisibilityChanged (bool visible)
 Emitted when the series point visibility changes.
void pointMarkerChanged ()
 Emitted when the point marker style or size has changed.

Public Member Functions

 vtkQtLineChartSeriesOptions (QObject *parent=0)
 Creates a line chart series options object.
virtual ~vtkQtLineChartSeriesOptions ()
virtual void setStyle (int style, vtkQtChartStyleGenerator *generator)
 Sets the style generator index for the series.
vtkQtChartLayer::AxesCorner getAxesCorner () const
 Gets the axes corner for the series.
void setAxesCorner (vtkQtChartLayer::AxesCorner axes)
 Sets the axes corner for the series.
bool arePointsVisible () const
 Gets whether or not the series points should be visible.
void setPointsVisible (bool visible)
 Sets whether or not the series points should be visible.
vtkQtPointMarker::MarkerStyle getMarkerStyle () const
 Gets the series marker style.
void setMarkerStyle (vtkQtPointMarker::MarkerStyle style)
 Sets the series marker style.
const QSizeF & getMarkerSize () const
 Gets the marker size for the series.
void setMarkerSize (const QSizeF &size)
 Sets the marker size for the series.

Protected Attributes

vtkQtChartLayer::AxesCorner AxesCorner
 Stores the axes corner.
vtkQtPointMarker::MarkerStyle PointStyle
 Stores the marker style.
QSizeF * PointSize
 Stores the marker size.
bool ShowPoints
 True if points are shown.

Detailed Description

The vtkQtLineChartSeriesOptions class stores the options for a line chart series.

Definition at line 39 of file vtkQtLineChartSeriesOptions.h.


Constructor & Destructor Documentation

vtkQtLineChartSeriesOptions::vtkQtLineChartSeriesOptions ( QObject *  parent = 0 )

Creates a line chart series options object.

Parameters:
parentThe parent object.
virtual vtkQtLineChartSeriesOptions::~vtkQtLineChartSeriesOptions (  ) [virtual]

Member Function Documentation

bool vtkQtLineChartSeriesOptions::arePointsVisible (  ) const [inline]

Gets whether or not the series points should be visible.

Returns:
True if the series points should be visible.

Definition at line 76 of file vtkQtLineChartSeriesOptions.h.

{return this->ShowPoints;}
void vtkQtLineChartSeriesOptions::axesCornerChanged ( int  corner,
int  previous 
) [signal]

Emitted when the series axes corner changes.

Parameters:
cornerThe new axes corner.
previousThe previous axes corner.
vtkQtChartLayer::AxesCorner vtkQtLineChartSeriesOptions::getAxesCorner (  ) const

Gets the axes corner for the series.

Returns:
The axes corner for the series.
const QSizeF& vtkQtLineChartSeriesOptions::getMarkerSize (  ) const

Gets the marker size for the series.

Returns:
A reference to the series marker size.
vtkQtPointMarker::MarkerStyle vtkQtLineChartSeriesOptions::getMarkerStyle (  ) const

Gets the series marker style.

Returns:
The series marker style.
void vtkQtLineChartSeriesOptions::pointMarkerChanged (  ) [signal]

Emitted when the point marker style or size has changed.

void vtkQtLineChartSeriesOptions::pointVisibilityChanged ( bool  visible ) [signal]

Emitted when the series point visibility changes.

Parameters:
visibleTrue if the series points should be visible.
void vtkQtLineChartSeriesOptions::setAxesCorner ( vtkQtChartLayer::AxesCorner  axes )

Sets the axes corner for the series.

Parameters:
axesThe new axes corner for the series.
void vtkQtLineChartSeriesOptions::setMarkerSize ( const QSizeF &  size )

Sets the marker size for the series.

Parameters:
sizeThe new series marker size.
void vtkQtLineChartSeriesOptions::setMarkerStyle ( vtkQtPointMarker::MarkerStyle  style )

Sets the series marker style.

Parameters:
styleThe new series marker style.
void vtkQtLineChartSeriesOptions::setPointsVisible ( bool  visible )

Sets whether or not the series points should be visible.

Parameters:
visibleTrue if the series points should be visible.
virtual void vtkQtLineChartSeriesOptions::setStyle ( int  style,
vtkQtChartStyleGenerator generator 
) [virtual]

Sets the style generator index for the series.

This method uses the style generator to assign the initial pen for the series.

Parameters:
styleThe style index for the generator.
generatorThe style generator to use.

Reimplemented from vtkQtChartSeriesOptions.


Member Data Documentation

Stores the axes corner.

Definition at line 121 of file vtkQtLineChartSeriesOptions.h.

Stores the marker size.

Definition at line 123 of file vtkQtLineChartSeriesOptions.h.

Stores the marker style.

Definition at line 122 of file vtkQtLineChartSeriesOptions.h.

True if points are shown.

Definition at line 124 of file vtkQtLineChartSeriesOptions.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines