20#include <osl/diagnose.h>
62 void setB3DPolygon(sal_uInt32 nIndex, const ::basegfx::B3DPolygon& rPolygon)
67 void insert(sal_uInt32 nIndex, const ::basegfx::B3DPolygon& rPolygon, sal_uInt32 nCount)
79 void insert(sal_uInt32 nIndex, const ::basegfx::B3DPolyPolygon& rPolyPolygon)
88 void remove(sal_uInt32 nIndex, sal_uInt32 nCount)
93 PolygonVector::iterator aStart(
maPolygons.begin());
95 const PolygonVector::iterator aEnd(aStart +
nCount);
115 aPolygon.removeDoublePoints();
121 aPolygon.transform(rMatrix);
127 aPolygon.clearBColors();
133 aPolygon.transformNormals(rMatrix);
139 aPolygon.clearNormals();
145 aPolygon.transformTextureCoordinates(rMatrix);
151 aPolygon.clearTextureCoordinates();
199 mpPolyPolygon(getDefaultPolyPolygon())
228 return !(*
this == rPolyPolygon);
238 OSL_ENSURE(nIndex < mpPolyPolygon->
count(),
"B3DPolyPolygon access outside range (!)");
328 if(rPolyPolygon.
count())
void clearTextureCoordinates()
void insert(sal_uInt32 nIndex, const ::basegfx::B3DPolyPolygon &rPolyPolygon)
void setB3DPolygon(sal_uInt32 nIndex, const ::basegfx::B3DPolygon &rPolygon)
void removeDoublePoints()
void insert(sal_uInt32 nIndex, const ::basegfx::B3DPolygon &rPolygon, sal_uInt32 nCount)
void transform(const ::basegfx::B3DHomMatrix &rMatrix)
basegfx::B3DPolygon * begin()
void transformNormals(const ::basegfx::B3DHomMatrix &rMatrix)
void remove(sal_uInt32 nIndex, sal_uInt32 nCount)
const ::basegfx::B3DPolygon & getB3DPolygon(sal_uInt32 nIndex) const
const basegfx::B3DPolygon * begin() const
const basegfx::B3DPolygon * end() const
std::vector< ::basegfx::B3DPolygon > PolygonVector
basegfx::B3DPolygon * end()
bool operator==(const ImplB3DPolyPolygon &rPolygonList) const
void transformTextureCoordinates(const ::basegfx::B2DHomMatrix &rMatrix)
ImplB3DPolyPolygon(const ::basegfx::B3DPolygon &rToBeCopied)
const B3DPolygon * begin() const
bool hasDoublePoints() const
void transformNormals(const B3DHomMatrix &rMatrix)
o3tl::cow_wrapper< ImplB3DPolyPolygon, o3tl::ThreadSafeRefCountingPolicy > ImplType
bool operator!=(const B3DPolyPolygon &rPolyPolygon) const
bool areTextureCoordinatesUsed() const
void remove(sal_uInt32 nIndex, sal_uInt32 nCount=1)
const B3DPolygon * end() const
void transformTextureCoordinates(const B2DHomMatrix &rMatrix)
B3DPolyPolygon & operator=(const B3DPolyPolygon &rPolyPolygon)
void setB3DPolygon(sal_uInt32 nIndex, const B3DPolygon &rPolygon)
void transform(const basegfx::B3DHomMatrix &rMatrix)
void append(const B3DPolygon &rPolygon, sal_uInt32 nCount=1)
bool areBColorsUsed() const
bool areNormalsUsed() const
void removeDoublePoints()
void clearTextureCoordinates()
B3DPolygon const & getB3DPolygon(sal_uInt32 nIndex) const
bool operator==(const B3DPolyPolygon &rPolyPolygon) const
bool same_object(const cow_wrapper &rOther) const
std::deque< AttacherIndex_Impl > aIndex