LibreOffice Module chart2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::VPolarGrid Class Reference

#include <VPolarGrid.hxx>

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

Public Member Functions

 VPolarGrid (sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount, std::vector< rtl::Reference< ::chart::GridProperties > > aGridPropertiesList)
 
virtual ~VPolarGrid () override
 
virtual void createShapes () override
 
void setIncrements (std::vector< ExplicitIncrementData > &&rIncrements)
 
- Public Member Functions inherited from chart::VAxisOrGridBase
 VAxisOrGridBase (sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount)
 
virtual ~VAxisOrGridBase () override
 
virtual void setTransformationSceneToScreen (const css::drawing::HomogenMatrix &rMatrix) override
 
virtual void setExplicitScaleAndIncrement (const ExplicitScaleData &rScale, const ExplicitIncrementData &rIncrement)
 
void set3DWallPositions (CuboidPlanePosition eLeftWallPos, CuboidPlanePosition eBackWallPos, CuboidPlanePosition eBottomPos)
 
virtual TickFactorycreateTickFactory ()
 
- Public Member Functions inherited from chart::PlotterBase
 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 void createLinePointSequence_ForAngleAxis (css::drawing::PointSequenceSequence &rPoints, TickInfoArraysType &rAllTickInfos, const ExplicitIncrementData &rIncrement, const ExplicitScaleData &rScale, PolarPlottingPositionHelper const *pPosHelper, double fLogicRadius, double fLogicZ)
 
- Static Public Member Functions inherited from chart::PlotterBase
static bool isValidPosition (const css::drawing::Position3D &rPos)
 

Private Member Functions

void getAllTickInfos (sal_Int32 nDimensionIndex, TickInfoArraysType &rAllTickInfos) const
 
void create2DRadiusGrid (const rtl::Reference< SvxShapeGroupAnyD > &xLogicTarget, TickInfoArraysType &rRadiusTickInfos, TickInfoArraysType &rAngleTickInfos, const std::vector< VLineProperties > &rLinePropertiesList)
 

Private Attributes

std::vector< rtl::Reference< ::chart::GridProperties > > m_aGridPropertiesList
 
std::unique_ptr< PolarPlottingPositionHelperm_pPosHelper
 
std::vector< ExplicitIncrementDatam_aIncrements
 

Additional Inherited Members

- Protected Member Functions inherited from chart::PlotterBase
rtl::Reference< SvxShapeGroupAnyDcreateGroupShape (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const OUString &rName=OUString())
 
- Protected Attributes inherited from chart::VAxisOrGridBase
ExplicitScaleData m_aScale
 
ExplicitIncrementData m_aIncrement
 
sal_Int32 m_nDimensionIndex
 
::basegfx::B3DHomMatrix m_aMatrixScreenToScene
 
CuboidPlanePosition m_eLeftWallPos
 
CuboidPlanePosition m_eBackWallPos
 
CuboidPlanePosition m_eBottomPos
 
- Protected Attributes inherited from chart::PlotterBase
rtl::Reference< SvxShapeGroupAnyDm_xLogicTarget
 
rtl::Reference< SvxShapeGroupAnyDm_xFinalTarget
 
OUString m_aCID
 
const sal_Int32 m_nDimension
 
PlottingPositionHelperm_pPosHelper
 

Detailed Description

Definition at line 33 of file VPolarGrid.hxx.

Constructor & Destructor Documentation

◆ VPolarGrid()

chart::VPolarGrid::VPolarGrid ( sal_Int32  nDimensionIndex,
sal_Int32  nDimensionCount,
std::vector< rtl::Reference< ::chart::GridProperties > >  aGridPropertiesList 
)

Definition at line 41 of file VPolarGrid.cxx.

References m_pPosHelper, and chart::PlotterBase::m_pPosHelper.

◆ ~VPolarGrid()

chart::VPolarGrid::~VPolarGrid ( )
overridevirtual

Definition at line 50 of file VPolarGrid.cxx.

Member Function Documentation

◆ create2DRadiusGrid()

void chart::VPolarGrid::create2DRadiusGrid ( const rtl::Reference< SvxShapeGroupAnyD > &  xLogicTarget,
TickInfoArraysType rRadiusTickInfos,
TickInfoArraysType rAngleTickInfos,
const std::vector< VLineProperties > &  rLinePropertiesList 
)
private

◆ createLinePointSequence_ForAngleAxis()

void chart::VPolarGrid::createLinePointSequence_ForAngleAxis ( css::drawing::PointSequenceSequence &  rPoints,
TickInfoArraysType rAllTickInfos,
const ExplicitIncrementData rIncrement,
const ExplicitScaleData rScale,
PolarPlottingPositionHelper const *  pPosHelper,
double  fLogicRadius,
double  fLogicZ 
)
static

◆ createShapes()

void chart::VPolarGrid::createShapes ( )
overridevirtual

◆ getAllTickInfos()

void chart::VPolarGrid::getAllTickInfos ( sal_Int32  nDimensionIndex,
TickInfoArraysType rAllTickInfos 
) const
private

Definition at line 59 of file VPolarGrid.cxx.

References chart::TickFactory::getAllTicks(), m_aIncrements, and m_pPosHelper.

Referenced by createShapes().

◆ setIncrements()

void chart::VPolarGrid::setIncrements ( std::vector< ExplicitIncrementData > &&  rIncrements)

Definition at line 54 of file VPolarGrid.cxx.

References m_aIncrements.

Referenced by chart::VPolarCoordinateSystem::createGridShapes().

Member Data Documentation

◆ m_aGridPropertiesList

std::vector< rtl::Reference< ::chart::GridProperties > > chart::VPolarGrid::m_aGridPropertiesList
private

Definition at line 57 of file VPolarGrid.hxx.

Referenced by createShapes().

◆ m_aIncrements

std::vector< ExplicitIncrementData > chart::VPolarGrid::m_aIncrements
private

Definition at line 59 of file VPolarGrid.hxx.

Referenced by create2DRadiusGrid(), getAllTickInfos(), and setIncrements().

◆ m_pPosHelper

std::unique_ptr<PolarPlottingPositionHelper> chart::VPolarGrid::m_pPosHelper
private

Definition at line 58 of file VPolarGrid.hxx.

Referenced by create2DRadiusGrid(), getAllTickInfos(), and VPolarGrid().


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