summaryrefslogtreecommitdiff
path: root/drawinglayer/inc/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-10-28 16:56:00 +0100
committerArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-10-28 16:56:00 +0100
commit95ccca996e41c0ff9fa70fb5007f06796a98bc1c (patch)
tree1c1d3b45c90d0e031d6dd74dc076f149e317b820 /drawinglayer/inc/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx
parentafc5047960fa639a4ab215abddecd8747532c2e0 (diff)
#i105323# added documentation to primitives
Diffstat (limited to 'drawinglayer/inc/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx')
-rw-r--r--drawinglayer/inc/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx16
1 files changed, 11 insertions, 5 deletions
diff --git a/drawinglayer/inc/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx b/drawinglayer/inc/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx
index 2e1d7e0b5fe4..2675a1284779 100644
--- a/drawinglayer/inc/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx
@@ -44,7 +44,9 @@ namespace drawinglayer
{
namespace primitive3d
{
- /** HatchTexturePrimitive3D is derived from GroupPrimitive3D, but implements
+ /** HatchTexturePrimitive3D class
+
+ HatchTexturePrimitive3D is derived from GroupPrimitive3D, but implements
a decomposition which is complicated enough for buffering. Since the group
primitive has no default buffering, it is necessary here to add a local
buffering mechanism for the decomposition
@@ -52,7 +54,10 @@ namespace drawinglayer
class HatchTexturePrimitive3D : public TexturePrimitive3D
{
private:
+ /// the hatch definition
attribute::FillHatchAttribute maHatch;
+
+ /// the buffered decomposed hatch
Primitive3DSequence maBuffered3DDecomposition;
protected:
@@ -64,6 +69,7 @@ namespace drawinglayer
void setBuffered3DDecomposition(const Primitive3DSequence& rNew) { maBuffered3DDecomposition = rNew; }
public:
+ /// constructor
HatchTexturePrimitive3D(
const attribute::FillHatchAttribute& rHatch,
const Primitive3DSequence& rChildren,
@@ -71,16 +77,16 @@ namespace drawinglayer
bool bModulate,
bool bFilter);
- // get data
+ /// data read access
const attribute::FillHatchAttribute& getHatch() const { return maHatch; }
- // compare operator
+ /// compare operator
virtual bool operator==(const BasePrimitive3D& rPrimitive) const;
- // local decomposition.
+ /// local decomposition.
virtual Primitive3DSequence get3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const;
- // provide unique ID
+ /// provide unique ID
DeclPrimitrive3DIDBlock()
};
} // end of namespace primitive3d