LibreOffice Module drawinglayer (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
drawinglayer::attribute::SdrLightingAttribute Class Reference

#include <sdrlightingattribute3d.hxx>

Collaboration diagram for drawinglayer::attribute::SdrLightingAttribute:
[legend]

Public Types

typedef o3tl::cow_wrapper< ImpSdrLightingAttributeImplType
 

Public Member Functions

 SdrLightingAttribute (const basegfx::BColor &rAmbientLight, std::vector< Sdr3DLightAttribute > &&rLightVector)
 constructors/assignmentoperator/destructor More...
 
 SdrLightingAttribute ()
 
 SdrLightingAttribute (const SdrLightingAttribute &rCandidate)
 
 SdrLightingAttribute (SdrLightingAttribute &&rCandidate)
 
SdrLightingAttributeoperator= (const SdrLightingAttribute &rCandidate)
 
SdrLightingAttributeoperator= (SdrLightingAttribute &&rCandidate)
 
 ~SdrLightingAttribute ()
 
bool isDefault () const
 
bool operator== (const SdrLightingAttribute &rCandidate) const
 
const basegfx::BColorgetAmbientLightColor () const
 
const ::std::vector< Sdr3DLightAttribute > & getLightVector () const
 
basegfx::BColor solveColorModel (const basegfx::B3DVector &rNormalInEyeCoordinates, const basegfx::BColor &rColor, const basegfx::BColor &rSpecular, const basegfx::BColor &rEmission, sal_uInt16 nSpecularIntensity) const
 

Private Attributes

ImplType mpSdrLightingAttribute
 

Detailed Description

Definition at line 44 of file sdrlightingattribute3d.hxx.

Member Typedef Documentation

◆ ImplType

Definition at line 47 of file sdrlightingattribute3d.hxx.

Constructor & Destructor Documentation

◆ SdrLightingAttribute() [1/4]

drawinglayer::attribute::SdrLightingAttribute::SdrLightingAttribute ( const basegfx::BColor rAmbientLight,
std::vector< Sdr3DLightAttribute > &&  rLightVector 
)

constructors/assignmentoperator/destructor

Definition at line 67 of file sdrlightingattribute3d.cxx.

◆ SdrLightingAttribute() [2/4]

drawinglayer::attribute::SdrLightingAttribute::SdrLightingAttribute ( )

Definition at line 75 of file sdrlightingattribute3d.cxx.

◆ SdrLightingAttribute() [3/4]

drawinglayer::attribute::SdrLightingAttribute::SdrLightingAttribute ( const SdrLightingAttribute rCandidate)
default

◆ SdrLightingAttribute() [4/4]

drawinglayer::attribute::SdrLightingAttribute::SdrLightingAttribute ( SdrLightingAttribute &&  rCandidate)
default

◆ ~SdrLightingAttribute()

drawinglayer::attribute::SdrLightingAttribute::~SdrLightingAttribute ( )
default

References operator==().

Member Function Documentation

◆ getAmbientLightColor()

const basegfx::BColor & drawinglayer::attribute::SdrLightingAttribute::getAmbientLightColor ( ) const

Definition at line 110 of file sdrlightingattribute3d.cxx.

References mpSdrLightingAttribute.

◆ getLightVector()

const std::vector< Sdr3DLightAttribute > & drawinglayer::attribute::SdrLightingAttribute::getLightVector ( ) const

◆ isDefault()

bool drawinglayer::attribute::SdrLightingAttribute::isDefault ( ) const

◆ operator=() [1/2]

SdrLightingAttribute & drawinglayer::attribute::SdrLightingAttribute::operator= ( const SdrLightingAttribute rCandidate)
default

◆ operator=() [2/2]

SdrLightingAttribute & drawinglayer::attribute::SdrLightingAttribute::operator= ( SdrLightingAttribute &&  rCandidate)
default

◆ operator==()

bool drawinglayer::attribute::SdrLightingAttribute::operator== ( const SdrLightingAttribute rCandidate) const

Definition at line 96 of file sdrlightingattribute3d.cxx.

References isDefault(), and mpSdrLightingAttribute.

◆ solveColorModel()

basegfx::BColor drawinglayer::attribute::SdrLightingAttribute::solveColorModel ( const basegfx::B3DVector rNormalInEyeCoordinates,
const basegfx::BColor rColor,
const basegfx::BColor rSpecular,
const basegfx::BColor rEmission,
sal_uInt16  nSpecularIntensity 
) const

Member Data Documentation

◆ mpSdrLightingAttribute

ImplType drawinglayer::attribute::SdrLightingAttribute::mpSdrLightingAttribute
private

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