1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: Stripe.hxx,v $
10 * $Revision: 1.5.44.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _CHART_STRIPE_HXX
31 #define _CHART_STRIPE_HXX
33 #include <com/sun/star/drawing/Position3D.hpp>
34 #include <com/sun/star/drawing/Direction3D.hpp>
35 #include <com/sun/star/uno/Any.h>
37 //.............................................................................
40 //.............................................................................
42 //-----------------------------------------------------------------------------
43 /** A Stripe represents a 2 dimensional foursquare plane in a 3 dimaensional room.
45 @todo could: it is not necessary to have 4 point members here; it would be sufficient to have one point and 2 directions
51 Stripe( const ::com::sun::star::drawing::Position3D
& rPoint1
52 , const ::com::sun::star::drawing::Direction3D
& rDirectionToPoint2
53 , const ::com::sun::star::drawing::Direction3D
& rDirectionToPoint4
);
55 Stripe( const ::com::sun::star::drawing::Position3D
& rPoint1
56 , const ::com::sun::star::drawing::Position3D
& rPoint2
60 Stripe( const ::com::sun::star::drawing::Position3D& rPoint1
61 , const ::com::sun::star::drawing::Position3D& rPoint2
62 , const ::com::sun::star::drawing::Position3D& rPoint3
63 , const ::com::sun::star::drawing::Position3D& rPoint4 );*/
66 ::com::sun::star::uno::Any
getPolyPolygonShape3D() const;
67 ::com::sun::star::uno::Any
getNormalsPolygon() const;
68 ::com::sun::star::uno::Any
getTexturePolygon( bool bRotatedTexture
) const;
70 ::com::sun::star::drawing::Position3D
GetPosition1() const { return m_aPoint1
; }
71 ::com::sun::star::drawing::Position3D
GetPosition2() const { return m_aPoint2
; }
72 ::com::sun::star::drawing::Position3D
GetPosition3() const { return m_aPoint3
; }
73 ::com::sun::star::drawing::Position3D
GetPosition4() const { return m_aPoint4
; }
76 ::com::sun::star::drawing::Position3D m_aPoint1
;
77 ::com::sun::star::drawing::Position3D m_aPoint2
;
78 ::com::sun::star::drawing::Position3D m_aPoint3
;
79 ::com::sun::star::drawing::Position3D m_aPoint4
;
81 ::com::sun::star::drawing::Direction3D
85 //.............................................................................
87 //.............................................................................