polygontubeprimitive3d.hxx (4f506f19) | polygontubeprimitive3d.hxx (5aaf853b) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 45 unchanged lines hidden (view full) --- 54 /// hold the last decompositon since it's expensive 55 Primitive3DSequence maLast3DDecomposition; 56 57 /// visualisation parameters 58 double mfRadius; 59 double mfDegreeStepWidth; 60 double mfMiterMinimumAngle; 61 basegfx::B2DLineJoin maLineJoin; | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 45 unchanged lines hidden (view full) --- 54 /// hold the last decompositon since it's expensive 55 Primitive3DSequence maLast3DDecomposition; 56 57 /// visualisation parameters 58 double mfRadius; 59 double mfDegreeStepWidth; 60 double mfMiterMinimumAngle; 61 basegfx::B2DLineJoin maLineJoin; |
62 com::sun::star::drawing::LineCap maLineCap; |
|
62 63 protected: 64 /** access methods to maLast3DDecomposition. The usage of this methods may allow 65 later thread-safe stuff to be added if needed. Only to be used by getDecomposition() 66 implementations for buffering the last decomposition. 67 */ 68 const Primitive3DSequence& getLast3DDecomposition() const { return maLast3DDecomposition; } 69 void setLast3DDecomposition(const Primitive3DSequence& rNew) { maLast3DDecomposition = rNew; } 70 71 /// local decomposition. 72 Primitive3DSequence impCreate3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const; 73 74 public: 75 /// constructor 76 PolygonTubePrimitive3D( 77 const basegfx::B3DPolygon& rPolygon, 78 const basegfx::BColor& rBColor, | 63 64 protected: 65 /** access methods to maLast3DDecomposition. The usage of this methods may allow 66 later thread-safe stuff to be added if needed. Only to be used by getDecomposition() 67 implementations for buffering the last decomposition. 68 */ 69 const Primitive3DSequence& getLast3DDecomposition() const { return maLast3DDecomposition; } 70 void setLast3DDecomposition(const Primitive3DSequence& rNew) { maLast3DDecomposition = rNew; } 71 72 /// local decomposition. 73 Primitive3DSequence impCreate3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const; 74 75 public: 76 /// constructor 77 PolygonTubePrimitive3D( 78 const basegfx::B3DPolygon& rPolygon, 79 const basegfx::BColor& rBColor, |
79 double fRadius, basegfx::B2DLineJoin aLineJoin, | 80 double fRadius, 81 basegfx::B2DLineJoin aLineJoin, 82 com::sun::star::drawing::LineCap aLineCap, |
80 double fDegreeStepWidth = 10.0 * F_PI180, 81 double fMiterMinimumAngle = 15.0 * F_PI180); 82 83 /// data read access 84 double getRadius() const { return mfRadius; } 85 double getDegreeStepWidth() const { return mfDegreeStepWidth; } 86 double getMiterMinimumAngle() const { return mfMiterMinimumAngle; } 87 basegfx::B2DLineJoin getLineJoin() const { return maLineJoin; } | 83 double fDegreeStepWidth = 10.0 * F_PI180, 84 double fMiterMinimumAngle = 15.0 * F_PI180); 85 86 /// data read access 87 double getRadius() const { return mfRadius; } 88 double getDegreeStepWidth() const { return mfDegreeStepWidth; } 89 double getMiterMinimumAngle() const { return mfMiterMinimumAngle; } 90 basegfx::B2DLineJoin getLineJoin() const { return maLineJoin; } |
91 com::sun::star::drawing::LineCap getLineCap() const { return maLineCap; } |
|
88 89 /// compare operator 90 virtual bool operator==(const BasePrimitive3D& rPrimitive) const; 91 92 /** local decomposition. Use own buffering since we are not derived from 93 BufferedDecompositionPrimitive3D 94 */ 95 virtual Primitive3DSequence get3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const; --- 13 unchanged lines hidden --- | 92 93 /// compare operator 94 virtual bool operator==(const BasePrimitive3D& rPrimitive) const; 95 96 /** local decomposition. Use own buffering since we are not derived from 97 BufferedDecompositionPrimitive3D 98 */ 99 virtual Primitive3DSequence get3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const; --- 13 unchanged lines hidden --- |