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

#include <b3dpolypolygon.hxx>

Collaboration diagram for basegfx::B3DPolyPolygon:
[legend]

Public Types

typedef o3tl::cow_wrapper< ImplB3DPolyPolygon, o3tl::ThreadSafeRefCountingPolicyImplType
 

Public Member Functions

 B3DPolyPolygon ()
 
 B3DPolyPolygon (const B3DPolyPolygon &rPolyPolygon)
 
 B3DPolyPolygon (B3DPolyPolygon &&rPolygon)
 
 B3DPolyPolygon (const B3DPolygon &rPolygon)
 
 ~B3DPolyPolygon ()
 
B3DPolyPolygonoperator= (const B3DPolyPolygon &rPolyPolygon)
 
B3DPolyPolygonoperator= (B3DPolyPolygon &&rPolyPolygon)
 
bool operator== (const B3DPolyPolygon &rPolyPolygon) const
 
bool operator!= (const B3DPolyPolygon &rPolyPolygon) const
 
sal_uInt32 count () const
 
B3DPolygon const & getB3DPolygon (sal_uInt32 nIndex) const
 
void setB3DPolygon (sal_uInt32 nIndex, const B3DPolygon &rPolygon)
 
bool areBColorsUsed () const
 
void clearBColors ()
 
void transformNormals (const B3DHomMatrix &rMatrix)
 
bool areNormalsUsed () const
 
void clearNormals ()
 
void transformTextureCoordinates (const B2DHomMatrix &rMatrix)
 
bool areTextureCoordinatesUsed () const
 
void clearTextureCoordinates ()
 
void append (const B3DPolygon &rPolygon, sal_uInt32 nCount=1)
 
void append (const B3DPolyPolygon &rPolyPolygon)
 
void remove (sal_uInt32 nIndex, sal_uInt32 nCount=1)
 
void clear ()
 
void flip ()
 
bool hasDoublePoints () const
 
void removeDoublePoints ()
 
void transform (const basegfx::B3DHomMatrix &rMatrix)
 
const B3DPolygonbegin () const
 
const B3DPolygonend () const
 
B3DPolygonbegin ()
 
B3DPolygonend ()
 

Private Attributes

ImplType mpPolyPolygon
 

Detailed Description

Definition at line 37 of file b3dpolypolygon.hxx.

Member Typedef Documentation

◆ ImplType

Definition at line 40 of file b3dpolypolygon.hxx.

Constructor & Destructor Documentation

◆ B3DPolyPolygon() [1/4]

basegfx::B3DPolyPolygon::B3DPolyPolygon ( )

Definition at line 198 of file b3dpolypolygon.cxx.

◆ B3DPolyPolygon() [2/4]

basegfx::B3DPolyPolygon::B3DPolyPolygon ( const B3DPolyPolygon rPolyPolygon)
default

◆ B3DPolyPolygon() [3/4]

basegfx::B3DPolyPolygon::B3DPolyPolygon ( B3DPolyPolygon &&  rPolygon)
default

◆ B3DPolyPolygon() [4/4]

basegfx::B3DPolyPolygon::B3DPolyPolygon ( const B3DPolygon rPolygon)
explicit

Definition at line 207 of file b3dpolypolygon.cxx.

◆ ~B3DPolyPolygon()

basegfx::B3DPolyPolygon::~B3DPolyPolygon ( )
default

Member Function Documentation

◆ append() [1/2]

void basegfx::B3DPolyPolygon::append ( const B3DPolygon rPolygon,
sal_uInt32  nCount = 1 
)

◆ append() [2/2]

void basegfx::B3DPolyPolygon::append ( const B3DPolyPolygon rPolyPolygon)

Definition at line 326 of file b3dpolypolygon.cxx.

References count(), and mpPolyPolygon.

◆ areBColorsUsed()

bool basegfx::B3DPolyPolygon::areBColorsUsed ( ) const

Definition at line 251 of file b3dpolypolygon.cxx.

References a, and mpPolyPolygon.

Referenced by clearBColors().

◆ areNormalsUsed()

bool basegfx::B3DPolyPolygon::areNormalsUsed ( ) const

Definition at line 276 of file b3dpolypolygon.cxx.

References a, and mpPolyPolygon.

Referenced by clearNormals().

◆ areTextureCoordinatesUsed()

bool basegfx::B3DPolyPolygon::areTextureCoordinatesUsed ( ) const

Definition at line 301 of file b3dpolypolygon.cxx.

References a, and mpPolyPolygon.

Referenced by clearTextureCoordinates().

◆ begin() [1/2]

B3DPolygon * basegfx::B3DPolyPolygon::begin ( )

Definition at line 389 of file b3dpolypolygon.cxx.

References mpPolyPolygon.

◆ begin() [2/2]

const B3DPolygon * basegfx::B3DPolyPolygon::begin ( ) const

Definition at line 379 of file b3dpolypolygon.cxx.

References mpPolyPolygon.

◆ clear()

void basegfx::B3DPolyPolygon::clear ( )

Definition at line 340 of file b3dpolypolygon.cxx.

References mpPolyPolygon.

Referenced by basegfx::utils::applyLineDashing().

◆ clearBColors()

void basegfx::B3DPolyPolygon::clearBColors ( )

Definition at line 264 of file b3dpolypolygon.cxx.

References areBColorsUsed(), and mpPolyPolygon.

◆ clearNormals()

void basegfx::B3DPolyPolygon::clearNormals ( )

Definition at line 289 of file b3dpolypolygon.cxx.

References areNormalsUsed(), and mpPolyPolygon.

◆ clearTextureCoordinates()

void basegfx::B3DPolyPolygon::clearTextureCoordinates ( )

Definition at line 314 of file b3dpolypolygon.cxx.

References areTextureCoordinatesUsed(), and mpPolyPolygon.

◆ count()

sal_uInt32 basegfx::B3DPolyPolygon::count ( ) const

◆ end() [1/2]

B3DPolygon * basegfx::B3DPolyPolygon::end ( )

Definition at line 394 of file b3dpolypolygon.cxx.

References mpPolyPolygon.

◆ end() [2/2]

const B3DPolygon * basegfx::B3DPolyPolygon::end ( ) const

Definition at line 384 of file b3dpolypolygon.cxx.

References mpPolyPolygon.

◆ flip()

void basegfx::B3DPolyPolygon::flip ( )

Definition at line 345 of file b3dpolypolygon.cxx.

References mpPolyPolygon.

◆ getB3DPolygon()

B3DPolygon const & basegfx::B3DPolyPolygon::getB3DPolygon ( sal_uInt32  nIndex) const

◆ hasDoublePoints()

bool basegfx::B3DPolyPolygon::hasDoublePoints ( ) const

Definition at line 350 of file b3dpolypolygon.cxx.

References a, and mpPolyPolygon.

Referenced by removeDoublePoints().

◆ operator!=()

bool basegfx::B3DPolyPolygon::operator!= ( const B3DPolyPolygon rPolyPolygon) const

Definition at line 226 of file b3dpolypolygon.cxx.

◆ operator=() [1/2]

B3DPolyPolygon & basegfx::B3DPolyPolygon::operator= ( B3DPolyPolygon &&  rPolyPolygon)
default

◆ operator=() [2/2]

B3DPolyPolygon & basegfx::B3DPolyPolygon::operator= ( const B3DPolyPolygon rPolyPolygon)
default

◆ operator==()

bool basegfx::B3DPolyPolygon::operator== ( const B3DPolyPolygon rPolyPolygon) const

◆ remove()

void basegfx::B3DPolyPolygon::remove ( sal_uInt32  nIndex,
sal_uInt32  nCount = 1 
)

Definition at line 332 of file b3dpolypolygon.cxx.

References count(), mpPolyPolygon, nCount, and nIndex.

◆ removeDoublePoints()

void basegfx::B3DPolyPolygon::removeDoublePoints ( )

◆ setB3DPolygon()

void basegfx::B3DPolyPolygon::setB3DPolygon ( sal_uInt32  nIndex,
const B3DPolygon rPolygon 
)

Definition at line 243 of file b3dpolypolygon.cxx.

References count(), getB3DPolygon(), mpPolyPolygon, and nIndex.

◆ transform()

void basegfx::B3DPolyPolygon::transform ( const basegfx::B3DHomMatrix rMatrix)

◆ transformNormals()

void basegfx::B3DPolyPolygon::transformNormals ( const B3DHomMatrix rMatrix)

Definition at line 270 of file b3dpolypolygon.cxx.

References basegfx::B3DHomMatrix::isIdentity(), and mpPolyPolygon.

◆ transformTextureCoordinates()

void basegfx::B3DPolyPolygon::transformTextureCoordinates ( const B2DHomMatrix rMatrix)

Definition at line 295 of file b3dpolypolygon.cxx.

References basegfx::B2DHomMatrix::isIdentity(), and mpPolyPolygon.

Member Data Documentation

◆ mpPolyPolygon

ImplType basegfx::B3DPolyPolygon::mpPolyPolygon
private

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