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: matril3d.hxx,v $
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 ************************************************************************/
31 #ifndef _B3D_MATRIL3D_HXX
32 #define _B3D_MATRIL3D_HXX
34 #ifndef _B3D_BUCKET_HXX
38 #ifndef _TOOLS_COLOR_HXX
39 #include <tools/color.hxx>
43 #include <tools/stream.hxx>
48 /*************************************************************************
50 |* Moegliche MaterialModes fuer Polygone
52 \************************************************************************/
54 enum Base3DMaterialMode
56 Base3DMaterialFront
= 0,
58 Base3DMaterialFrontAndBack
61 /*************************************************************************
63 |* Moegliche MaterialValues fuer Polygone
65 \************************************************************************/
67 enum Base3DMaterialValue
69 Base3DMaterialAmbient
= 0,
70 Base3DMaterialDiffuse
,
71 Base3DMaterialSpecular
,
72 Base3DMaterialEmission
75 /*************************************************************************
77 |* Basisklasse fuer Materialparameter
79 \************************************************************************/
93 // Laden/Speichern in StarView
94 virtual void WriteData(SvStream
& rOut
) const;
95 virtual void ReadData(SvStream
& rIn
);
98 BOOL
operator==(const B3dMaterial
&);
99 BOOL
operator!=(const B3dMaterial
& rMat
) { return (!((*this) == rMat
)); }
103 }//end of namespace binfilter
105 #endif // _B3D_MATRIL3D_HXX