LibreOffice Module chart2 (master) 1
|
#include <ThreeDHelper.hxx>
Static Public Member Functions | |
static css::drawing::CameraGeometry | getDefaultCameraGeometry (bool bPie=false) |
Returns the default camera geometry that is set in the Diagram CTOR. More... | |
static void | adaptRadAnglesForRightAngledAxes (double &rfXAngleRad, double &rfYAngleRad) |
static double | getXDegreeAngleLimitForRightAngledAxes () |
static double | getYDegreeAngleLimitForRightAngledAxes () |
static double | getValueClippedToRange (double fValue, const double &fPositivLimit) |
static void | convertElevationRotationDegToXYZAngleRad (sal_Int32 nElevationDeg, sal_Int32 nRotationDeg, double &rfXAngleRad, double &rfYAngleRad, double &rfZAngleRad) |
static SAL_DLLPRIVATE void | convertXYZAngleRadToElevationRotationDeg (sal_Int32 &rnElevationDeg, sal_Int32 &rnRotationDeg, double fXRad, double fYRad, double fZRad) |
static SAL_DLLPRIVATE void | ensureCameraDistanceRange (double &rfCameraDistance) |
static SAL_DLLPRIVATE void | getCameraDistanceRange (double &rfMinimumDistance, double &rfMaximumDistance) |
static double | CameraDistanceToPerspective (double fCameraDistance) |
static double | PerspectiveToCameraDistance (double fPerspective) |
static CuboidPlanePosition | getAutomaticCuboidPlanePositionForStandardLeftWall (const rtl::Reference< ::chart::Diagram > &xDiagram) |
static CuboidPlanePosition | getAutomaticCuboidPlanePositionForStandardBackWall (const rtl::Reference< ::chart::Diagram > &xDiagram) |
static CuboidPlanePosition | getAutomaticCuboidPlanePositionForStandardBottom (const rtl::Reference< ::chart::Diagram > &xDiagram) |
static void | getRoundedEdgesAndObjectLines (const rtl::Reference< ::chart::Diagram > &xDiagram, sal_Int32 &rnRoundedEdges, sal_Int32 &rnObjectLines) |
static void | setRoundedEdgesAndObjectLines (const rtl::Reference< ::chart::Diagram > &xDiagram, sal_Int32 nRoundedEdges, sal_Int32 nObjectLines) |
Definition at line 50 of file ThreeDHelper.hxx.
|
static |
Definition at line 604 of file ThreeDHelper.cxx.
References basegfx::deg2rad(), getValueClippedToRange(), getXDegreeAngleLimitForRightAngledAxes(), and getYDegreeAngleLimitForRightAngledAxes().
Referenced by chart::DragMethod_RotateDiagram::CreateOverlayGeometry(), chart::DragMethod_RotateDiagram::DragMethod_RotateDiagram(), chart::DragMethod_RotateDiagram::EndSdrDrag(), getAutomaticCuboidPlanePositionForStandardBackWall(), getAutomaticCuboidPlanePositionForStandardBottom(), and getAutomaticCuboidPlanePositionForStandardLeftWall().
|
static |
Definition at line 627 of file ThreeDHelper.cxx.
References a, and getCameraDistanceRange().
Referenced by chart::Diagram::getFastPropertyValue().
|
static |
Definition at line 111 of file ThreeDHelper.cxx.
References basegfx::deg2rad(), E, NormAngle360(), R, x, y, and z.
Referenced by chart::DragMethod_RotateDiagram::CreateOverlayGeometry(), and chart::Diagram::setRotation().
|
static |
Definition at line 293 of file ThreeDHelper.cxx.
References E, basegfx::fround(), R, basegfx::rad2deg(), x, y, and z.
Referenced by chart::Diagram::getRotation().
|
static |
Definition at line 617 of file ThreeDHelper.cxx.
References getCameraDistanceRange().
Referenced by chart::Diagram::getCameraDistance().
|
static |
Definition at line 794 of file ThreeDHelper.cxx.
References adaptRadAnglesForRightAngledAxes(), chart::CuboidPlanePosition_Back, chart::CuboidPlanePosition_Front, and chart::lcl_isRightAngledAxesSetAndSupported().
Referenced by chart::ChartView::impl_createDiagramAndContent().
|
static |
Definition at line 809 of file ThreeDHelper.cxx.
References adaptRadAnglesForRightAngledAxes(), chart::CuboidPlanePosition_Bottom, chart::CuboidPlanePosition_Top, and chart::lcl_isRightAngledAxesSetAndSupported().
Referenced by chart::ChartView::impl_createDiagramAndContent().
|
static |
Definition at line 779 of file ThreeDHelper.cxx.
References adaptRadAnglesForRightAngledAxes(), chart::CuboidPlanePosition_Left, chart::CuboidPlanePosition_Right, and chart::lcl_isRightAngledAxesSetAndSupported().
Referenced by chart::ChartView::impl_createDiagramAndContent().
|
static |
Definition at line 611 of file ThreeDHelper.cxx.
References FIXED_SIZE_FOR_3D_CHART_VOLUME.
Referenced by CameraDistanceToPerspective(), ensureCameraDistanceRange(), and PerspectiveToCameraDistance().
|
static |
Returns the default camera geometry that is set in the Diagram CTOR.
This is not the property default!
Definition at line 70 of file ThreeDHelper.cxx.
Referenced by chart::Diagram::getCameraDistance(), chart::lcl_getCameraMatrix(), chart::Diagram::setCameraDistance(), and chart::Diagram::setDefaultRotation().
|
static |
Definition at line 655 of file ThreeDHelper.cxx.
References chart::DataSeriesHelper::hasAttributedDataPointDifferentValue(), and TOOLS_WARN_EXCEPTION.
Referenced by chart::Diagram::detectScheme().
|
static |
Definition at line 595 of file ThreeDHelper.cxx.
Referenced by adaptRadAnglesForRightAngledAxes(), and chart::IMPL_LINK_NOARG().
|
inlinestatic |
Definition at line 63 of file ThreeDHelper.hxx.
Referenced by adaptRadAnglesForRightAngledAxes(), and chart::IMPL_LINK_NOARG().
|
inlinestatic |
Definition at line 64 of file ThreeDHelper.hxx.
Referenced by adaptRadAnglesForRightAngledAxes(), and chart::IMPL_LINK_NOARG().
|
static |
Definition at line 641 of file ThreeDHelper.cxx.
References a, and getCameraDistanceRange().
Referenced by chart::Diagram::setFastPropertyValue_NoBroadcast().
|
static |
Definition at line 753 of file ThreeDHelper.cxx.
References chart::DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints().
Referenced by chart::ThreeD_SceneAppearance_TabPage::applyRoundedEdgeAndObjectLinesToModel(), and chart::Diagram::setScheme().