LibreOffice Module drawinglayer (master) 1
|
Geometry2DExtractingProcessor class. More...
#include <geometry2dextractor.hxx>
Public Member Functions | |
Geometry2DExtractingProcessor (const geometry::ViewInformation3D &rViewInformation, basegfx::B2DHomMatrix aObjectTransformation) | |
const primitive2d::Primitive2DContainer & | getPrimitive2DSequence () const |
const basegfx::B2DHomMatrix & | getObjectTransformation () const |
Public Member Functions inherited from drawinglayer::processor3d::BaseProcessor3D | |
BaseProcessor3D (geometry::ViewInformation3D aViewInformation) | |
virtual | ~BaseProcessor3D () |
void | process (const primitive3d::Primitive3DContainer &rSource) |
const geometry::ViewInformation3D & | getViewInformation3D () const |
Private Member Functions | |
virtual void | processBasePrimitive3D (const primitive3d::BasePrimitive3D &rCandidate) override |
Private Attributes | |
primitive2d::Primitive2DContainer | maPrimitive2DSequence |
result holding vector (2D) More... | |
basegfx::B2DHomMatrix | maObjectTransformation |
object transformation for scene for 2d definition More... | |
basegfx::BColorModifierStack | maBColorModifierStack |
the modifiedColorPrimitive stack More... | |
Additional Inherited Members | |
Protected Member Functions inherited from drawinglayer::processor3d::BaseProcessor3D | |
void | updateViewInformation (const geometry::ViewInformation3D &rViewInformation3D) |
virtual void | processBasePrimitive3D (const primitive3d::BasePrimitive3D &rCandidate) |
Geometry2DExtractingProcessor class.
This processor extracts the 2D geometry (projected geometry) of all fed primitives. It is e.g. used as sub-processor for contour extraction where 3D geometry is only useful as 2D projected geometry.
Definition at line 36 of file geometry2dextractor.hxx.
drawinglayer::processor3d::Geometry2DExtractingProcessor::Geometry2DExtractingProcessor | ( | const geometry::ViewInformation3D & | rViewInformation, |
basegfx::B2DHomMatrix | aObjectTransformation | ||
) |
Definition at line 143 of file geometry2dextractor.cxx.
|
inline |
Definition at line 60 of file geometry2dextractor.hxx.
References maObjectTransformation.
Referenced by processBasePrimitive3D().
|
inline |
Definition at line 59 of file geometry2dextractor.hxx.
References maPrimitive2DSequence.
Referenced by drawinglayer::primitive2d::ScenePrimitive2D::getGeometry2D().
|
overrideprivatevirtual |
Reimplemented from drawinglayer::processor3d::BaseProcessor3D.
Definition at line 41 of file geometry2dextractor.cxx.
References basegfx::B2DPolygon::count(), basegfx::B2DPolyPolygon::count(), basegfx::utils::createB2DPolygonFromB3DPolygon(), basegfx::utils::createB2DPolyPolygonFromB3DPolyPolygon(), drawinglayer::primitive3d::BasePrimitive3D::get3DDecomposition(), drawinglayer::primitive3d::PolygonHairlinePrimitive3D::getB3DPolygon(), drawinglayer::primitive3d::PolyPolygonMaterialPrimitive3D::getB3DPolyPolygon(), drawinglayer::primitive3d::PolygonHairlinePrimitive3D::getBColor(), drawinglayer::primitive3d::GroupPrimitive3D::getChildren(), drawinglayer::attribute::MaterialAttribute3D::getColor(), drawinglayer::primitive3d::ModifiedColorPrimitive3D::getColorModifier(), drawinglayer::geometry::ViewInformation3D::getDeviceToView(), drawinglayer::geometry::ViewInformation3D::getExtendedInformationSequence(), drawinglayer::primitive3d::PolyPolygonMaterialPrimitive3D::getMaterial(), basegfx::BColorModifierStack::getModifiedColor(), getObjectTransformation(), drawinglayer::geometry::ViewInformation3D::getObjectTransformation(), drawinglayer::geometry::ViewInformation3D::getOrientation(), drawinglayer::primitive3d::BasePrimitive3D::getPrimitive3DID(), drawinglayer::geometry::ViewInformation3D::getProjection(), drawinglayer::primitive3d::TransformPrimitive3D::getTransformation(), drawinglayer::processor3d::BaseProcessor3D::getViewInformation3D(), drawinglayer::geometry::ViewInformation3D::getViewTime(), maBColorModifierStack, maPrimitive2DSequence, basegfx::BColorModifierStack::pop(), PRIMITIVE3D_ID_BITMAPTEXTUREPRIMITIVE3D, PRIMITIVE3D_ID_GRADIENTTEXTUREPRIMITIVE3D, PRIMITIVE3D_ID_HATCHTEXTUREPRIMITIVE3D, PRIMITIVE3D_ID_MODIFIEDCOLORPRIMITIVE3D, PRIMITIVE3D_ID_POLYGONHAIRLINEPRIMITIVE3D, PRIMITIVE3D_ID_POLYPOLYGONMATERIALPRIMITIVE3D, PRIMITIVE3D_ID_SHADOWPRIMITIVE3D, PRIMITIVE3D_ID_TRANSFORMPRIMITIVE3D, PRIMITIVE3D_ID_TRANSPARENCETEXTUREPRIMITIVE3D, PRIMITIVE3D_ID_UNIFIEDTRANSPARENCETEXTUREPRIMITIVE3D, drawinglayer::processor3d::BaseProcessor3D::process(), basegfx::BColorModifierStack::push(), basegfx::B2DPolygon::transform(), basegfx::B2DPolyPolygon::transform(), and drawinglayer::processor3d::BaseProcessor3D::updateViewInformation().
|
private |
the modifiedColorPrimitive stack
Definition at line 46 of file geometry2dextractor.hxx.
Referenced by processBasePrimitive3D().
|
private |
object transformation for scene for 2d definition
Definition at line 43 of file geometry2dextractor.hxx.
Referenced by getObjectTransformation().
|
private |
result holding vector (2D)
Definition at line 40 of file geometry2dextractor.hxx.
Referenced by getPrimitive2DSequence(), and processBasePrimitive3D().