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