ImplB3DPolygon Class Reference

Collaboration diagram for ImplB3DPolygon:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ImplB3DPolygon ()
 ImplB3DPolygon (const ImplB3DPolygon &rToBeCopied)
 ImplB3DPolygon (const ImplB3DPolygon &rToBeCopied, sal_uInt32 nIndex, sal_uInt32 nCount)
 ~ImplB3DPolygon ()
sal_uInt32 count () const
bool isClosed () const
void setClosed (bool bNew)
bool impBColorsAreEqual (const ImplB3DPolygon &rCandidate) const
bool impNormalsAreEqual (const ImplB3DPolygon &rCandidate) const
bool impTextureCoordinatesAreEqual (const ImplB3DPolygon &rCandidate) const
bool operator== (const ImplB3DPolygon &rCandidate) const
const ::basegfx::B3DPointgetPoint (sal_uInt32 nIndex) const
void setPoint (sal_uInt32 nIndex, const ::basegfx::B3DPoint &rValue)
void insert (sal_uInt32 nIndex, const ::basegfx::B3DPoint &rPoint, sal_uInt32 nCount)
const ::basegfx::BColorgetBColor (sal_uInt32 nIndex) const
void setBColor (sal_uInt32 nIndex, const ::basegfx::BColor &rValue)
bool areBColorsUsed () const
void clearBColors ()
const ::basegfx::B3DVectorgetNormal () const
const ::basegfx::B3DVectorgetNormal (sal_uInt32 nIndex) const
void setNormal (sal_uInt32 nIndex, const ::basegfx::B3DVector &rValue)
void transformNormals (const ::basegfx::B3DHomMatrix &rMatrix)
bool areNormalsUsed () const
void clearNormals ()
const ::basegfx::B2DPointgetTextureCoordinate (sal_uInt32 nIndex) const
void setTextureCoordinate (sal_uInt32 nIndex, const ::basegfx::B2DPoint &rValue)
bool areTextureCoordinatesUsed () const
void clearTextureCoordinates ()
void transformTextureCoordinates (const ::basegfx::B2DHomMatrix &rMatrix)
void insert (sal_uInt32 nIndex, const ImplB3DPolygon &rSource)
void remove (sal_uInt32 nIndex, sal_uInt32 nCount)
void flip ()
bool hasDoublePoints () const
void removeDoublePointsAtBeginEnd ()
void removeDoublePointsWholeTrack ()
void transform (const ::basegfx::B3DHomMatrix &rMatrix)

Protected Member Functions

void invalidatePlaneNormal ()

Private Attributes

CoordinateDataArray3D maPoints
BColorArraympBColors
NormalsArray3DmpNormals
TextureCoordinate2DmpTextureCoordiantes
::basegfx::B3DVector maPlaneNormal
unsigned mbIsClosed: 1
unsigned mbPlaneNormalValid: 1


Detailed Description

Definition at line 778 of file b3dpolygon.cxx.


Constructor & Destructor Documentation

ImplB3DPolygon::ImplB3DPolygon (  )  [inline]

Definition at line 818 of file b3dpolygon.cxx.

ImplB3DPolygon::ImplB3DPolygon ( const ImplB3DPolygon rToBeCopied  )  [inline]

ImplB3DPolygon::ImplB3DPolygon ( const ImplB3DPolygon rToBeCopied,
sal_uInt32  nIndex,
sal_uInt32  nCount 
) [inline]

ImplB3DPolygon::~ImplB3DPolygon (  )  [inline]

Definition at line 900 of file b3dpolygon.cxx.

References mpBColors, mpNormals, and mpTextureCoordiantes.


Member Function Documentation

void ImplB3DPolygon::invalidatePlaneNormal (  )  [inline, protected]

Definition at line 807 of file b3dpolygon.cxx.

References mbPlaneNormalValid.

Referenced by insert(), remove(), setPoint(), and transform().

sal_uInt32 ImplB3DPolygon::count (  )  const [inline]

Definition at line 921 of file b3dpolygon.cxx.

References CoordinateDataArray3D::count(), and maPoints.

bool ImplB3DPolygon::isClosed (  )  const [inline]

Definition at line 926 of file b3dpolygon.cxx.

References mbIsClosed.

void ImplB3DPolygon::setClosed ( bool  bNew  )  [inline]

Definition at line 931 of file b3dpolygon.cxx.

References mbIsClosed.

bool ImplB3DPolygon::impBColorsAreEqual ( const ImplB3DPolygon rCandidate  )  const [inline]

Definition at line 939 of file b3dpolygon.cxx.

References BColorArray::isUsed(), and mpBColors.

Referenced by operator==().

bool ImplB3DPolygon::impNormalsAreEqual ( const ImplB3DPolygon rCandidate  )  const [inline]

Definition at line 967 of file b3dpolygon.cxx.

References NormalsArray3D::isUsed(), and mpNormals.

Referenced by operator==().

bool ImplB3DPolygon::impTextureCoordinatesAreEqual ( const ImplB3DPolygon rCandidate  )  const [inline]

Definition at line 995 of file b3dpolygon.cxx.

References TextureCoordinate2D::isUsed(), and mpTextureCoordiantes.

Referenced by operator==().

bool ImplB3DPolygon::operator== ( const ImplB3DPolygon rCandidate  )  const [inline]

const ::basegfx::B3DPoint& ImplB3DPolygon::getPoint ( sal_uInt32  nIndex  )  const [inline]

Definition at line 1045 of file b3dpolygon.cxx.

References CoordinateDataArray3D::getCoordinate(), and maPoints.

void ImplB3DPolygon::setPoint ( sal_uInt32  nIndex,
const ::basegfx::B3DPoint rValue 
) [inline]

void ImplB3DPolygon::insert ( sal_uInt32  nIndex,
const ::basegfx::B3DPoint rPoint,
sal_uInt32  nCount 
) [inline]

const ::basegfx::BColor& ImplB3DPolygon::getBColor ( sal_uInt32  nIndex  )  const [inline]

Definition at line 1081 of file b3dpolygon.cxx.

References BColorArray::getBColor(), and mpBColors.

void ImplB3DPolygon::setBColor ( sal_uInt32  nIndex,
const ::basegfx::BColor rValue 
) [inline]

bool ImplB3DPolygon::areBColorsUsed (  )  const [inline]

Definition at line 1115 of file b3dpolygon.cxx.

References BColorArray::isUsed(), and mpBColors.

void ImplB3DPolygon::clearBColors (  )  [inline]

Definition at line 1120 of file b3dpolygon.cxx.

References mpBColors.

const ::basegfx::B3DVector& ImplB3DPolygon::getNormal (  )  const [inline]

const ::basegfx::B3DVector& ImplB3DPolygon::getNormal ( sal_uInt32  nIndex  )  const [inline]

Definition at line 1140 of file b3dpolygon.cxx.

References NormalsArray3D::getNormal(), and mpNormals.

void ImplB3DPolygon::setNormal ( sal_uInt32  nIndex,
const ::basegfx::B3DVector rValue 
) [inline]

void ImplB3DPolygon::transformNormals ( const ::basegfx::B3DHomMatrix rMatrix  )  [inline]

Definition at line 1174 of file b3dpolygon.cxx.

References mpNormals, and NormalsArray3D::transform().

bool ImplB3DPolygon::areNormalsUsed (  )  const [inline]

Definition at line 1182 of file b3dpolygon.cxx.

References NormalsArray3D::isUsed(), and mpNormals.

void ImplB3DPolygon::clearNormals (  )  [inline]

Definition at line 1187 of file b3dpolygon.cxx.

References mpNormals.

const ::basegfx::B2DPoint& ImplB3DPolygon::getTextureCoordinate ( sal_uInt32  nIndex  )  const [inline]

void ImplB3DPolygon::setTextureCoordinate ( sal_uInt32  nIndex,
const ::basegfx::B2DPoint rValue 
) [inline]

bool ImplB3DPolygon::areTextureCoordinatesUsed (  )  const [inline]

Definition at line 1230 of file b3dpolygon.cxx.

References TextureCoordinate2D::isUsed(), and mpTextureCoordiantes.

void ImplB3DPolygon::clearTextureCoordinates (  )  [inline]

Definition at line 1235 of file b3dpolygon.cxx.

References mpTextureCoordiantes.

void ImplB3DPolygon::transformTextureCoordinates ( const ::basegfx::B2DHomMatrix rMatrix  )  [inline]

Definition at line 1244 of file b3dpolygon.cxx.

References mpTextureCoordiantes, and TextureCoordinate2D::transform().

void ImplB3DPolygon::insert ( sal_uInt32  nIndex,
const ImplB3DPolygon rSource 
) [inline]

void ImplB3DPolygon::remove ( sal_uInt32  nIndex,
sal_uInt32  nCount 
) [inline]

void ImplB3DPolygon::flip (  )  [inline]

bool ImplB3DPolygon::hasDoublePoints (  )  const [inline]

void ImplB3DPolygon::removeDoublePointsAtBeginEnd (  )  [inline]

void ImplB3DPolygon::removeDoublePointsWholeTrack (  )  [inline]

void ImplB3DPolygon::transform ( const ::basegfx::B3DHomMatrix rMatrix  )  [inline]


Member Data Documentation

Definition at line 797 of file b3dpolygon.cxx.

Referenced by flip(), and getNormal().

unsigned ImplB3DPolygon::mbIsClosed [private]

Definition at line 804 of file b3dpolygon.cxx.

Referenced by flip(), getNormal(), and invalidatePlaneNormal().


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

Generated on Thu Apr 29 13:57:09 2010 for ooo-build Module basegfx (ooo/OOO320_m15) by  doxygen 1.5.6