LibreOffice Module drawinglayer (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
drawinglayer::processor3d::Geometry2DExtractingProcessor Class Referencefinal

Geometry2DExtractingProcessor class. More...

#include <geometry2dextractor.hxx>

Inheritance diagram for drawinglayer::processor3d::Geometry2DExtractingProcessor:
[legend]
Collaboration diagram for drawinglayer::processor3d::Geometry2DExtractingProcessor:
[legend]

Public Member Functions

 Geometry2DExtractingProcessor (const geometry::ViewInformation3D &rViewInformation, basegfx::B2DHomMatrix aObjectTransformation)
 
const primitive2d::Primitive2DContainergetPrimitive2DSequence () const
 
const basegfx::B2DHomMatrixgetObjectTransformation () const
 
- Public Member Functions inherited from drawinglayer::processor3d::BaseProcessor3D
 BaseProcessor3D (geometry::ViewInformation3D aViewInformation)
 
virtual ~BaseProcessor3D ()
 
void process (const primitive3d::Primitive3DContainer &rSource)
 
const geometry::ViewInformation3DgetViewInformation3D () 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)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Geometry2DExtractingProcessor()

drawinglayer::processor3d::Geometry2DExtractingProcessor::Geometry2DExtractingProcessor ( const geometry::ViewInformation3D rViewInformation,
basegfx::B2DHomMatrix  aObjectTransformation 
)

Definition at line 143 of file geometry2dextractor.cxx.

Member Function Documentation

◆ getObjectTransformation()

const basegfx::B2DHomMatrix & drawinglayer::processor3d::Geometry2DExtractingProcessor::getObjectTransformation ( ) const
inline

Definition at line 60 of file geometry2dextractor.hxx.

References maObjectTransformation.

Referenced by processBasePrimitive3D().

◆ getPrimitive2DSequence()

const primitive2d::Primitive2DContainer & drawinglayer::processor3d::Geometry2DExtractingProcessor::getPrimitive2DSequence ( ) const
inline

◆ processBasePrimitive3D()

void drawinglayer::processor3d::Geometry2DExtractingProcessor::processBasePrimitive3D ( const primitive3d::BasePrimitive3D rCandidate)
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().

Member Data Documentation

◆ maBColorModifierStack

basegfx::BColorModifierStack drawinglayer::processor3d::Geometry2DExtractingProcessor::maBColorModifierStack
private

the modifiedColorPrimitive stack

Definition at line 46 of file geometry2dextractor.hxx.

Referenced by processBasePrimitive3D().

◆ maObjectTransformation

basegfx::B2DHomMatrix drawinglayer::processor3d::Geometry2DExtractingProcessor::maObjectTransformation
private

object transformation for scene for 2d definition

Definition at line 43 of file geometry2dextractor.hxx.

Referenced by getObjectTransformation().

◆ maPrimitive2DSequence

primitive2d::Primitive2DContainer drawinglayer::processor3d::Geometry2DExtractingProcessor::maPrimitive2DSequence
private

result holding vector (2D)

Definition at line 40 of file geometry2dextractor.hxx.

Referenced by getPrimitive2DSequence(), and processBasePrimitive3D().


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