53 const bool bNormals(aPolyNormals3D.
count() && aPolyNormals3D.
count() == aPolyPolygon3D.
count());
54 const bool bTexture(aPolyTexture2D.
count() && aPolyTexture2D.
count() == aPolyPolygon3D.
count());
56 if(bNormals || bTexture)
58 for(sal_uInt32
a(0);
a < aPolyPolygon3D.
count();
a++)
74 for(sal_uInt32 b(0); b < aCandidate3D.
count(); b++)
78 sal_uInt32 nNormalCount = aNormals3D.
count();
79 if( b < nNormalCount )
81 else if( nNormalCount > 0 )
86 sal_uInt32 nTextureCount = aTexture2D.
count();
87 if( b < nTextureCount )
89 else if( nTextureCount > 0 )
137 aTextureSize.
setX(0.01);
138 aTextureSize.
setY(0.01);
142 aTextureSize.
setX(fWidth);
143 aTextureSize.
setY(fHeight);
155 aPolyPolygon3D.
flip();
161 std::move(aPolyPolygon3D), aWorldTransform, aTextureSize, aAttribute, aSdr3DObjectAttribute));
162 xRetval = { xReference };
B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const
basegfx::B2DPoint const & getB2DPoint(sal_uInt32 nIndex) const
void setB3DPolygon(sal_uInt32 nIndex, const B3DPolygon &rPolygon)
B3DPolygon const & getB3DPolygon(sal_uInt32 nIndex) const
void setTextureCoordinate(sal_uInt32 nIndex, const B2DPoint &rValue)
B3DPoint const & getB3DPoint(sal_uInt32 nIndex) const
void setNormal(sal_uInt32 nIndex, const B3DVector &rValue)
B2DRange getRange(const B2DPolygon &rCandidate)
attribute::SdrLineFillShadowAttribute3D createNewSdrLineFillShadowAttribute(const SfxItemSet &rSet, bool bSuppressFill)
attribute::Sdr3DObjectAttribute createNewSdr3DObjectAttribute(const SfxItemSet &rSet)
css::uno::Reference< css::graphic::XPrimitive3D > Primitive3DReference