LibreOffice Module chart2 (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
chart::PlotterBase Class Referenceabstract

This class provides methods for setting axis scales and for performing scene to screen transformations. More...

#include <PlotterBase.hxx>

Inheritance diagram for chart::PlotterBase:
[legend]
Collaboration diagram for chart::PlotterBase:
[legend]

Public Member Functions

 PlotterBase (sal_Int32 nDimension)
 
virtual ~PlotterBase ()
 
virtual void initPlotter (const rtl::Reference< SvxShapeGroupAnyD > &xLogicTarget, const rtl::Reference< SvxShapeGroupAnyD > &xFinalTarget, const OUString &rCID)
 
virtual void setScales (std::vector< ExplicitScaleData > &&rScales, bool bSwapXAndYAxis)
 
virtual void setTransformationSceneToScreen (const css::drawing::HomogenMatrix &rMatrix)
 
virtual void createShapes ()=0
 

Static Public Member Functions

static bool isValidPosition (const css::drawing::Position3D &rPos)
 

Protected Member Functions

rtl::Reference< SvxShapeGroupAnyDcreateGroupShape (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const OUString &rName=OUString())
 

Protected Attributes

rtl::Reference< SvxShapeGroupAnyDm_xLogicTarget
 
rtl::Reference< SvxShapeGroupAnyDm_xFinalTarget
 
OUString m_aCID
 
const sal_Int32 m_nDimension
 
PlottingPositionHelperm_pPosHelper
 

Detailed Description

This class provides methods for setting axis scales and for performing scene to screen transformations.

It is used as the base class for all plotter classes.

Definition at line 42 of file PlotterBase.hxx.

Constructor & Destructor Documentation

◆ PlotterBase()

chart::PlotterBase::PlotterBase ( sal_Int32  nDimension)

Definition at line 30 of file PlotterBase.cxx.

◆ ~PlotterBase()

chart::PlotterBase::~PlotterBase ( )
virtual

Definition at line 47 of file PlotterBase.cxx.

Member Function Documentation

◆ createGroupShape()

rtl::Reference< SvxShapeGroupAnyD > chart::PlotterBase::createGroupShape ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const OUString &  rName = OUString() 
)
protected

◆ createShapes()

virtual void chart::PlotterBase::createShapes ( )
pure virtual

◆ initPlotter()

void chart::PlotterBase::initPlotter ( const rtl::Reference< SvxShapeGroupAnyD > &  xLogicTarget,
const rtl::Reference< SvxShapeGroupAnyD > &  xFinalTarget,
const OUString &  rCID 
)
virtual

◆ isValidPosition()

bool chart::PlotterBase::isValidPosition ( const css::drawing::Position3D &  rPos)
static

Definition at line 87 of file PlotterBase.cxx.

◆ setScales()

void chart::PlotterBase::setScales ( std::vector< ExplicitScaleData > &&  rScales,
bool  bSwapXAndYAxis 
)
virtual

◆ setTransformationSceneToScreen()

void chart::PlotterBase::setTransformationSceneToScreen ( const css::drawing::HomogenMatrix &  rMatrix)
virtual

Member Data Documentation

◆ m_aCID

OUString chart::PlotterBase::m_aCID
protected

◆ m_nDimension

const sal_Int32 chart::PlotterBase::m_nDimension
protected

◆ m_pPosHelper

PlottingPositionHelper* chart::PlotterBase::m_pPosHelper
protected

◆ m_xFinalTarget

rtl::Reference< SvxShapeGroupAnyD > chart::PlotterBase::m_xFinalTarget
protected

◆ m_xLogicTarget

rtl::Reference< SvxShapeGroupAnyD > chart::PlotterBase::m_xLogicTarget
protected

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