Classes | Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
vtkXYChartRepresentation::vtkInternals Class Reference

#include <vtkXYChartRepresentationInternals.h>

Collaboration diagram for vtkXYChartRepresentation::vtkInternals:
Collaboration graph
[legend]

Classes

struct  PlotInfo
 
class  PlotsMap
 

Public Types

typedef vtkXYChartRepresentation::MapOfTables MapOfTables
 

Public Member Functions

 vtkInternals ()
 
virtual ~vtkInternals ()
 
void HideAllPlots ()
 
void RemoveAllPlots (vtkChartXY *chartXY)
 
virtual std::vector< std::stringGetSeriesRoles (const std::string &vtkNotUsed(tableName), const std::string &vtkNotUsed(columnName))
 Subclasses can override this method to assign a role for a specific data array in the input dataset. More...
 
virtual vtkPlotNewPlot (vtkXYChartRepresentation *self, const std::string &tableName, const std::string &columnName, const std::string &role)
 
virtual int GetInputArrayIndex (const std::string &vtkNotUsed(tableName), const std::string &vtkNotUsed(columnName), const std::string &vtkNotUsed(role))
 
virtual void UpdatePlots (vtkXYChartRepresentation *self, const MapOfTables &tables)
 
virtual void UpdatePlotProperties (vtkXYChartRepresentation *self)
 
virtual bool Export (vtkXYChartRepresentation *self, vtkCSVExporter *exporter)
 

Public Attributes

std::map< std::string, bool > SeriesVisibilities
 
std::map< std::string, intSeriesOrder
 
std::map< std::string, intLineThicknesses
 
std::map< std::string, intLineStyles
 
std::map< std::string, vtkColor3dColors
 
std::map< std::string, intAxisCorners
 
std::map< std::string, intMarkerStyles
 
std::map< std::string, doubleMarkerSizes
 
std::map< std::string, std::stringLabels
 
std::map< std::string, bool > UseColorMapping
 
std::map< std::string, vtkScalarsToColors * > Lut
 
bool PreviousUseIndexForXAxis
 
std::string PreviousXAxisSeriesName
 

Protected Types

typedef std::map< std::string, PlotInfoPlotsMapItem
 

Protected Member Functions

template<class T >
GetSeriesParameter (vtkXYChartRepresentation *self, const std::string &tableName, const std::string &columnName, const std::string &vtkNotUsed(role), const std::map< std::string, T > &parameter_map, const T default_value=T()) const
 
virtual bool UpdateSinglePlotProperties (vtkXYChartRepresentation *self, const std::string &tableName, const std::string &columnName, const std::string &role, vtkPlot *plot)
 

Protected Attributes

PlotsMap SeriesPlots
 

Detailed Description

Definition at line 39 of file vtkXYChartRepresentationInternals.h.

Member Typedef Documentation

◆ PlotsMapItem

Definition at line 49 of file vtkXYChartRepresentationInternals.h.

◆ MapOfTables

Definition at line 193 of file vtkXYChartRepresentationInternals.h.

Constructor & Destructor Documentation

◆ vtkInternals()

vtkXYChartRepresentation::vtkInternals::vtkInternals ( )
inline

Definition at line 215 of file vtkXYChartRepresentationInternals.h.

◆ ~vtkInternals()

virtual vtkXYChartRepresentation::vtkInternals::~vtkInternals ( )
inlinevirtual

Definition at line 220 of file vtkXYChartRepresentationInternals.h.

Member Function Documentation

◆ GetSeriesParameter()

template<class T >
T vtkXYChartRepresentation::vtkInternals::GetSeriesParameter ( vtkXYChartRepresentation self,
const std::string tableName,
const std::string columnName,
const std::string vtkNotUsedrole,
const std::map< std::string, T > &  parameter_map,
const T  default_value = T() 
) const
inlineprotected

Definition at line 164 of file vtkXYChartRepresentationInternals.h.

◆ HideAllPlots()

void vtkXYChartRepresentation::vtkInternals::HideAllPlots ( )
inline

Definition at line 224 of file vtkXYChartRepresentationInternals.h.

◆ RemoveAllPlots()

void vtkXYChartRepresentation::vtkInternals::RemoveAllPlots ( vtkChartXY chartXY)
inline

Definition at line 228 of file vtkXYChartRepresentationInternals.h.

◆ GetSeriesRoles()

virtual std::vector<std::string> vtkXYChartRepresentation::vtkInternals::GetSeriesRoles ( const std::string vtkNotUsedtableName,
const std::string vtkNotUsedcolumnName 
)
inlinevirtual

Subclasses can override this method to assign a role for a specific data array in the input dataset.

This is useful when multiple plots are to be created for a single series.

Definition at line 236 of file vtkXYChartRepresentationInternals.h.

◆ NewPlot()

virtual vtkPlot* vtkXYChartRepresentation::vtkInternals::NewPlot ( vtkXYChartRepresentation self,
const std::string tableName,
const std::string columnName,
const std::string role 
)
inlinevirtual

Definition at line 242 of file vtkXYChartRepresentationInternals.h.

◆ GetInputArrayIndex()

virtual int vtkXYChartRepresentation::vtkInternals::GetInputArrayIndex ( const std::string vtkNotUsedtableName,
const std::string vtkNotUsedcolumnName,
const std::string vtkNotUsedrole 
)
inlinevirtual

Definition at line 257 of file vtkXYChartRepresentationInternals.h.

◆ UpdatePlots()

virtual void vtkXYChartRepresentation::vtkInternals::UpdatePlots ( vtkXYChartRepresentation self,
const MapOfTables tables 
)
inlinevirtual

Definition at line 265 of file vtkXYChartRepresentationInternals.h.

◆ UpdatePlotProperties()

virtual void vtkXYChartRepresentation::vtkInternals::UpdatePlotProperties ( vtkXYChartRepresentation self)
inlinevirtual

Definition at line 331 of file vtkXYChartRepresentationInternals.h.

◆ Export()

virtual bool vtkXYChartRepresentation::vtkInternals::Export ( vtkXYChartRepresentation self,
vtkCSVExporter exporter 
)
inlinevirtual

Definition at line 378 of file vtkXYChartRepresentationInternals.h.

◆ UpdateSinglePlotProperties()

virtual bool vtkXYChartRepresentation::vtkInternals::UpdateSinglePlotProperties ( vtkXYChartRepresentation self,
const std::string tableName,
const std::string columnName,
const std::string role,
vtkPlot plot 
)
inlineprotectedvirtual

Definition at line 410 of file vtkXYChartRepresentationInternals.h.

Member Data Documentation

◆ SeriesPlots

PlotsMap vtkXYChartRepresentation::vtkInternals::SeriesPlots
protected

Definition at line 154 of file vtkXYChartRepresentationInternals.h.

◆ SeriesVisibilities

std::map<std::string, bool> vtkXYChartRepresentation::vtkInternals::SeriesVisibilities

Definition at line 197 of file vtkXYChartRepresentationInternals.h.

◆ SeriesOrder

std::map<std::string, int> vtkXYChartRepresentation::vtkInternals::SeriesOrder

Definition at line 198 of file vtkXYChartRepresentationInternals.h.

◆ LineThicknesses

std::map<std::string, int> vtkXYChartRepresentation::vtkInternals::LineThicknesses

Definition at line 199 of file vtkXYChartRepresentationInternals.h.

◆ LineStyles

std::map<std::string, int> vtkXYChartRepresentation::vtkInternals::LineStyles

Definition at line 200 of file vtkXYChartRepresentationInternals.h.

◆ Colors

std::map<std::string, vtkColor3d> vtkXYChartRepresentation::vtkInternals::Colors

Definition at line 201 of file vtkXYChartRepresentationInternals.h.

◆ AxisCorners

std::map<std::string, int> vtkXYChartRepresentation::vtkInternals::AxisCorners

Definition at line 202 of file vtkXYChartRepresentationInternals.h.

◆ MarkerStyles

std::map<std::string, int> vtkXYChartRepresentation::vtkInternals::MarkerStyles

Definition at line 203 of file vtkXYChartRepresentationInternals.h.

◆ MarkerSizes

std::map<std::string, double> vtkXYChartRepresentation::vtkInternals::MarkerSizes

Definition at line 204 of file vtkXYChartRepresentationInternals.h.

◆ Labels

std::map<std::string, std::string> vtkXYChartRepresentation::vtkInternals::Labels

Definition at line 205 of file vtkXYChartRepresentationInternals.h.

◆ UseColorMapping

std::map<std::string, bool> vtkXYChartRepresentation::vtkInternals::UseColorMapping

Definition at line 206 of file vtkXYChartRepresentationInternals.h.

◆ Lut

std::map<std::string, vtkScalarsToColors*> vtkXYChartRepresentation::vtkInternals::Lut

Definition at line 207 of file vtkXYChartRepresentationInternals.h.

◆ PreviousUseIndexForXAxis

bool vtkXYChartRepresentation::vtkInternals::PreviousUseIndexForXAxis

Definition at line 212 of file vtkXYChartRepresentationInternals.h.

◆ PreviousXAxisSeriesName

std::string vtkXYChartRepresentation::vtkInternals::PreviousXAxisSeriesName

Definition at line 213 of file vtkXYChartRepresentationInternals.h.


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