LibreOffice Module drawinglayer (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ZBufferRasterConverter3D Class Reference
Inheritance diagram for ZBufferRasterConverter3D:
[legend]
Collaboration diagram for ZBufferRasterConverter3D:
[legend]

Public Member Functions

 ZBufferRasterConverter3D (basegfx::BZPixelRaster &rBuffer, const drawinglayer::processor3d::ZBufferProcessor3D &rProcessor)
 
void setCurrentMaterial (const drawinglayer::attribute::MaterialAttribute3D &rMaterial)
 

Private Member Functions

void getTextureCoor (basegfx::B2DPoint &rTarget) const
 
void incrementLineSpanInterpolators (double fStep)
 
double decideColorAndOpacity (basegfx::BColor &rColor) const
 
void setupLineSpanInterpolators (const basegfx::RasterConversionLineEntry3D &rA, const basegfx::RasterConversionLineEntry3D &rB)
 
virtual void processLineSpan (const basegfx::RasterConversionLineEntry3D &rA, const basegfx::RasterConversionLineEntry3D &rB, sal_Int32 nLine, sal_uInt32 nSpanCount) override
 

Private Attributes

const drawinglayer::processor3d::DefaultProcessor3DmrProcessor
 
basegfx::BZPixelRastermrBuffer
 
basegfx::ip_single maIntZ
 
basegfx::ip_triple maIntColor
 
basegfx::ip_triple maIntNormal
 
basegfx::ip_double maIntTexture
 
basegfx::ip_triple maIntInvTexture
 
const drawinglayer::attribute::MaterialAttribute3DmpCurrentMaterial
 
bool mbModifyColor: 1
 
bool mbUseTex: 1
 
bool mbHasTexCoor: 1
 
bool mbHasInvTexCoor: 1
 
bool mbUseNrm: 1
 
bool mbUseCol: 1
 

Detailed Description

Definition at line 36 of file zbufferprocessor3d.cxx.

Constructor & Destructor Documentation

◆ ZBufferRasterConverter3D()

ZBufferRasterConverter3D::ZBufferRasterConverter3D ( basegfx::BZPixelRaster rBuffer,
const drawinglayer::processor3d::ZBufferProcessor3D rProcessor 
)
inline

Definition at line 251 of file zbufferprocessor3d.cxx.

References rProcessor.

Member Function Documentation

◆ decideColorAndOpacity()

double ZBufferRasterConverter3D::decideColorAndOpacity ( basegfx::BColor rColor) const
inlineprivate

◆ getTextureCoor()

void ZBufferRasterConverter3D::getTextureCoor ( basegfx::B2DPoint rTarget) const
inlineprivate

◆ incrementLineSpanInterpolators()

void ZBufferRasterConverter3D::incrementLineSpanInterpolators ( double  fStep)
inlineprivate

◆ processLineSpan()

void ZBufferRasterConverter3D::processLineSpan ( const basegfx::RasterConversionLineEntry3D rA,
const basegfx::RasterConversionLineEntry3D rB,
sal_Int32  nLine,
sal_uInt32  nSpanCount 
)
overrideprivatevirtual

◆ setCurrentMaterial()

void ZBufferRasterConverter3D::setCurrentMaterial ( const drawinglayer::attribute::MaterialAttribute3D rMaterial)
inline

Definition at line 263 of file zbufferprocessor3d.cxx.

References mpCurrentMaterial.

◆ setupLineSpanInterpolators()

void ZBufferRasterConverter3D::setupLineSpanInterpolators ( const basegfx::RasterConversionLineEntry3D rA,
const basegfx::RasterConversionLineEntry3D rB 
)
inlineprivate

Member Data Documentation

◆ maIntColor

basegfx::ip_triple ZBufferRasterConverter3D::maIntColor
private

◆ maIntInvTexture

basegfx::ip_triple ZBufferRasterConverter3D::maIntInvTexture
private

◆ maIntNormal

basegfx::ip_triple ZBufferRasterConverter3D::maIntNormal
private

◆ maIntTexture

basegfx::ip_double ZBufferRasterConverter3D::maIntTexture
private

◆ maIntZ

basegfx::ip_single ZBufferRasterConverter3D::maIntZ
private

◆ mbHasInvTexCoor

bool ZBufferRasterConverter3D::mbHasInvTexCoor
private

◆ mbHasTexCoor

bool ZBufferRasterConverter3D::mbHasTexCoor
private

◆ mbModifyColor

bool ZBufferRasterConverter3D::mbModifyColor
private

Definition at line 53 of file zbufferprocessor3d.cxx.

Referenced by decideColorAndOpacity(), and setupLineSpanInterpolators().

◆ mbUseCol

bool ZBufferRasterConverter3D::mbUseCol
private

◆ mbUseNrm

bool ZBufferRasterConverter3D::mbUseNrm
private

◆ mbUseTex

bool ZBufferRasterConverter3D::mbUseTex
private

◆ mpCurrentMaterial

const drawinglayer::attribute::MaterialAttribute3D* ZBufferRasterConverter3D::mpCurrentMaterial
private

Definition at line 50 of file zbufferprocessor3d.cxx.

Referenced by decideColorAndOpacity(), and setCurrentMaterial().

◆ mrBuffer

basegfx::BZPixelRaster& ZBufferRasterConverter3D::mrBuffer
private

Definition at line 40 of file zbufferprocessor3d.cxx.

Referenced by processLineSpan().

◆ mrProcessor

const drawinglayer::processor3d::DefaultProcessor3D& ZBufferRasterConverter3D::mrProcessor
private

Definition at line 39 of file zbufferprocessor3d.cxx.

Referenced by decideColorAndOpacity(), and setupLineSpanInterpolators().


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