LibreOffice Module drawinglayer (master) 1
|
TexturePrimitive3D class. More...
#include <textureprimitive3d.hxx>
Public Member Functions | |
TexturePrimitive3D (const Primitive3DContainer &rChildren, const basegfx::B2DVector &rTextureSize, bool bModulate, bool bFilter) | |
constructor More... | |
const basegfx::B2DVector & | getTextureSize () const |
data read access More... | |
bool | getModulate () const |
bool | getFilter () const |
virtual bool | operator== (const BasePrimitive3D &rPrimitive) const override |
compare operator More... | |
Public Member Functions inherited from drawinglayer::primitive3d::GroupPrimitive3D | |
GroupPrimitive3D (Primitive3DContainer aChildren) | |
constructor More... | |
const Primitive3DContainer & | getChildren () const |
data read access More... | |
virtual bool | operator== (const BasePrimitive3D &rPrimitive) const override |
compare operator More... | |
virtual Primitive3DContainer | get3DDecomposition (const geometry::ViewInformation3D &rViewInformation) const override |
local decomposition. Implementation will just return children More... | |
Public Member Functions inherited from drawinglayer::primitive3d::BasePrimitive3D | |
BasePrimitive3D () | |
virtual | ~BasePrimitive3D () override |
virtual bool | operator== (const BasePrimitive3D &rPrimitive) const |
the ==operator is mainly needed to allow testing newly-created high level primitives against their last incarnation which buffers/holds the decompositions. More... | |
bool | operator!= (const BasePrimitive3D &rPrimitive) const |
virtual basegfx::B3DRange | getB3DRange (const geometry::ViewInformation3D &rViewInformation) const |
This method is for places where using the C++ implementation directly is possible. More... | |
virtual sal_uInt32 | getPrimitive3DID () const =0 |
provide unique ID for fast identifying of known primitive implementations in renderers. More... | |
virtual Primitive3DContainer | get3DDecomposition (const geometry::ViewInformation3D &rViewInformation) const |
The default implementation returns an empty sequence. More... | |
virtual css::uno::Sequence< ::css::uno::Reference< ::css::graphic::XPrimitive3D > > SAL_CALL | getDecomposition (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) override |
The getDecomposition implementation for UNO API will use getDecomposition from this implementation. More... | |
virtual css::geometry::RealRectangle3D SAL_CALL | getRange (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) override |
the getRange default implementation will use getDecomposition to create the range information from merging getRange results from the single local decomposition primitives. More... | |
Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc > | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
virtual | ~WeakComponentImplHelperBase () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual void | disposing (std::unique_lock< std::mutex > &) |
Public Member Functions inherited from comphelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Private Attributes | |
basegfx::B2DVector | maTextureSize |
texture geometry definition More... | |
bool | mbModulate: 1 |
flag if texture shall be modulated with white interpolated color More... | |
bool | mbFilter: 1 |
flag if texture shall be filtered More... | |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Attributes inherited from comphelper::WeakComponentImplHelperBase | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
Protected Attributes inherited from comphelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed |
TexturePrimitive3D class.
This 3D grouping primitive is used to define a texture for 3d geometry by embedding it. It is used as base class for extended texture definitions
Definition at line 36 of file textureprimitive3d.hxx.
drawinglayer::primitive3d::TexturePrimitive3D::TexturePrimitive3D | ( | const Primitive3DContainer & | rChildren, |
const basegfx::B2DVector & | rTextureSize, | ||
bool | bModulate, | ||
bool | bFilter | ||
) |
constructor
Definition at line 32 of file textureprimitive3d.cxx.
|
inline |
Definition at line 59 of file textureprimitive3d.hxx.
References mbFilter.
Referenced by drawinglayer::processor3d::DefaultProcessor3D::impRenderBitmapTexturePrimitive3D(), drawinglayer::processor3d::DefaultProcessor3D::impRenderGradientTexturePrimitive3D(), drawinglayer::processor3d::DefaultProcessor3D::impRenderHatchTexturePrimitive3D(), and operator==().
|
inline |
Definition at line 58 of file textureprimitive3d.hxx.
References mbModulate.
Referenced by drawinglayer::processor3d::DefaultProcessor3D::impRenderBitmapTexturePrimitive3D(), drawinglayer::processor3d::DefaultProcessor3D::impRenderGradientTexturePrimitive3D(), drawinglayer::processor3d::DefaultProcessor3D::impRenderHatchTexturePrimitive3D(), and operator==().
|
inline |
data read access
Definition at line 57 of file textureprimitive3d.hxx.
References maTextureSize.
Referenced by drawinglayer::texture::GeoTexSvxMultiHatch::GeoTexSvxMultiHatch(), drawinglayer::primitive3d::UnifiedTransparenceTexturePrimitive3D::get3DDecomposition(), drawinglayer::processor3d::DefaultProcessor3D::impRenderBitmapTexturePrimitive3D(), drawinglayer::processor3d::DefaultProcessor3D::impRenderGradientTexturePrimitive3D(), and drawinglayer::processor3d::DefaultProcessor3D::impRenderHatchTexturePrimitive3D().
|
overridevirtual |
compare operator
Reimplemented from drawinglayer::primitive3d::GroupPrimitive3D.
Reimplemented in drawinglayer::primitive3d::HatchTexturePrimitive3D, drawinglayer::primitive3d::UnifiedTransparenceTexturePrimitive3D, drawinglayer::primitive3d::GradientTexturePrimitive3D, drawinglayer::primitive3d::BitmapTexturePrimitive3D, and drawinglayer::primitive3d::TransparenceTexturePrimitive3D.
Definition at line 43 of file textureprimitive3d.cxx.
References getFilter(), and getModulate().
|
private |
texture geometry definition
Definition at line 40 of file textureprimitive3d.hxx.
Referenced by getTextureSize().
|
private |
flag if texture shall be filtered
Definition at line 46 of file textureprimitive3d.hxx.
Referenced by getFilter().
|
private |
flag if texture shall be modulated with white interpolated color
Definition at line 43 of file textureprimitive3d.hxx.
Referenced by getModulate().