ParaView
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::string GetSeriesRole (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 vtkPlot * NewPlot (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, int > LineThicknesses
 
std::map< std::string, int > LineStyles
 
std::map< std::string, vtkColor3d > Colors
 
std::map< std::string, int > AxisCorners
 
std::map< std::string, int > MarkerStyles
 
std::map< std::string, std::string > Labels
 
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 38 of file vtkXYChartRepresentationInternals.h.

Member Typedef Documentation

◆ PlotsMapItem

typedef std::map<std::string, PlotInfo> vtkXYChartRepresentation::vtkInternals::PlotsMapItem
protected

Definition at line 48 of file vtkXYChartRepresentationInternals.h.

◆ MapOfTables

Definition at line 192 of file vtkXYChartRepresentationInternals.h.

Constructor & Destructor Documentation

◆ vtkInternals()

vtkXYChartRepresentation::vtkInternals::vtkInternals ( )
inline

Definition at line 212 of file vtkXYChartRepresentationInternals.h.

◆ ~vtkInternals()

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

Definition at line 217 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 163 of file vtkXYChartRepresentationInternals.h.

◆ HideAllPlots()

void vtkXYChartRepresentation::vtkInternals::HideAllPlots ( )
inline

Definition at line 221 of file vtkXYChartRepresentationInternals.h.

◆ RemoveAllPlots()

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

Definition at line 225 of file vtkXYChartRepresentationInternals.h.

◆ GetSeriesRole()

virtual std::string vtkXYChartRepresentation::vtkInternals::GetSeriesRole ( 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 233 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 239 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 254 of file vtkXYChartRepresentationInternals.h.

◆ UpdatePlots()

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

Definition at line 262 of file vtkXYChartRepresentationInternals.h.

◆ UpdatePlotProperties()

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

Definition at line 302 of file vtkXYChartRepresentationInternals.h.

◆ Export()

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

Definition at line 349 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 381 of file vtkXYChartRepresentationInternals.h.

Member Data Documentation

◆ SeriesPlots

PlotsMap vtkXYChartRepresentation::vtkInternals::SeriesPlots
protected

Definition at line 153 of file vtkXYChartRepresentationInternals.h.

◆ SeriesVisibilities

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

Definition at line 196 of file vtkXYChartRepresentationInternals.h.

◆ LineThicknesses

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

Definition at line 197 of file vtkXYChartRepresentationInternals.h.

◆ LineStyles

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

Definition at line 198 of file vtkXYChartRepresentationInternals.h.

◆ Colors

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

Definition at line 199 of file vtkXYChartRepresentationInternals.h.

◆ AxisCorners

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

Definition at line 200 of file vtkXYChartRepresentationInternals.h.

◆ MarkerStyles

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

Definition at line 201 of file vtkXYChartRepresentationInternals.h.

◆ Labels

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

Definition at line 202 of file vtkXYChartRepresentationInternals.h.

◆ UseColorMapping

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

Definition at line 203 of file vtkXYChartRepresentationInternals.h.

◆ Lut

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

Definition at line 204 of file vtkXYChartRepresentationInternals.h.

◆ PreviousUseIndexForXAxis

bool vtkXYChartRepresentation::vtkInternals::PreviousUseIndexForXAxis

Definition at line 209 of file vtkXYChartRepresentationInternals.h.

◆ PreviousXAxisSeriesName

std::string vtkXYChartRepresentation::vtkInternals::PreviousXAxisSeriesName

Definition at line 210 of file vtkXYChartRepresentationInternals.h.


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