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
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 /*************************************************************************
23  *
24  *  OpenOffice.org - a multi-platform office productivity suite
25  *
26  *  $RCSfile: hittestprimitive3d.cxx,v $
27  *
28  *  $Revision: 1.1.2.1 $
29  *
30  *  last change: $Author: aw $ $Date: 2008/09/25 17:12:14 $
31  *
32  *  The Contents of this file are made available subject to
33  *  the terms of GNU Lesser General Public License Version 2.1.
34  *
35  *
36  *    GNU Lesser General Public License Version 2.1
37  *    =============================================
38  *    Copyright 2005 by Sun Microsystems, Inc.
39  *    901 San Antonio Road, Palo Alto, CA 94303, USA
40  *
41  *    This library is free software; you can redistribute it and/or
42  *    modify it under the terms of the GNU Lesser General Public
43  *    License version 2.1, as published by the Free Software Foundation.
44  *
45  *    This library is distributed in the hope that it will be useful,
46  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
47  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
48  *    Lesser General Public License for more details.
49  *
50  *    You should have received a copy of the GNU Lesser General Public
51  *    License along with this library; if not, write to the Free Software
52  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
53  *    MA  02111-1307  USA
54  *
55  ************************************************************************/
56 
57 // MARKER(update_precomp.py): autogen include statement, do not remove
58 #include "precompiled_drawinglayer.hxx"
59 
60 #include <drawinglayer/primitive3d/hiddengeometryprimitive3d.hxx>
61 #include <drawinglayer/primitive3d/drawinglayer_primitivetypes3d.hxx>
62 
63 //////////////////////////////////////////////////////////////////////////////
64 
65 using namespace com::sun::star;
66 
67 //////////////////////////////////////////////////////////////////////////////
68 
69 namespace drawinglayer
70 {
71 	namespace primitive3d
72 	{
73 		HiddenGeometryPrimitive3D::HiddenGeometryPrimitive3D(
74 			const Primitive3DSequence& rChildren)
75 		:	GroupPrimitive3D(rChildren)
76 		{
77 		}
78 
79 		basegfx::B3DRange HiddenGeometryPrimitive3D::getB3DRange(const geometry::ViewInformation3D& rViewInformation) const
80 		{
81 			return getB3DRangeFromPrimitive3DSequence(getChildren(), rViewInformation);
82 		}
83 
84 		Primitive3DSequence HiddenGeometryPrimitive3D::get3DDecomposition(const geometry::ViewInformation3D& /*rViewInformation*/) const
85 		{
86 			// return empty sequence
87 			return Primitive3DSequence();
88 		}
89 
90 		// provide unique ID
91 		ImplPrimitrive3DIDBlock(HiddenGeometryPrimitive3D, PRIMITIVE3D_ID_HIDDENGEOMETRYPRIMITIVE3D)
92 
93 	} // end of namespace primitive3d
94 } // end of namespace drawinglayer
95 
96 //////////////////////////////////////////////////////////////////////////////
97 // eof
98