fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / NodeCores / Drawables / Geometry / Base / OSGGeoIgnorePumpGroup.cpp
blobcb0305625f8975909c04462e15bed3a4e8641186
1 /*---------------------------------------------------------------------------*\
2 * OpenSG *
3 * *
4 * *
5 * Copyright (C) 2000-2002 by the OpenSG Forum *
6 * *
7 * www.opensg.org *
8 * *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
10 * *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
13 * License *
14 * *
15 * *
16 * *
17 * This library is free software; you can redistribute it and/or modify it *
18 * under the terms of the GNU Library General Public License as published *
19 * by the Free Software Foundation, version 2. *
20 * *
21 * This library is distributed in the hope that it will be useful, but *
22 * WITHOUT ANY WARRANTY; without even the implied warranty of *
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
24 * Library General Public License for more details. *
25 * *
26 * You should have received a copy of the GNU Library General Public *
27 * License along with this library; if not, write to the Free Software *
28 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
29 * *
30 * *
31 \*---------------------------------------------------------------------------*/
32 /*---------------------------------------------------------------------------*\
33 * Changes *
34 * *
35 * *
36 * *
37 * *
38 * *
39 * *
40 \*---------------------------------------------------------------------------*/
42 //---------------------------------------------------------------------------
43 // Includes
44 //---------------------------------------------------------------------------
46 #include <cstdlib>
47 #include <cstdio>
49 #include "OSGConfig.h"
51 #include "OSGLog.h"
53 #include "OSGGeometry.h"
54 #include "OSGDrawEnv.h"
56 #include "OSGGeoIgnorePumpGroup.h"
58 OSG_USING_NAMESPACE
61 /***************************************************************************\
62 * Description *
63 \***************************************************************************/
65 /***************************************************************************\
66 * Class variables *
67 \***************************************************************************/
69 /***************************************************************************\
70 * Instance methods *
71 \***************************************************************************/
73 /*------------- constructors & destructors --------------------------------*/
75 GeoIgnorePumpGroup::GeoIgnorePumpGroup(void)
79 GeoIgnorePumpGroup::~GeoIgnorePumpGroup(void)
83 /*-------------------------------------------------------------------------*\
84 - private -
85 \*-------------------------------------------------------------------------*/
88 GeoPumpGroup::GeoPump GeoIgnorePumpGroup::getGeoPump(
89 DrawEnv *pEnv,
90 PropertyCharacteristics acset)
92 return masterGeoPump;
95 void GeoIgnorePumpGroup::masterGeoPump(
96 DrawEnv *pEnv,
97 const GeoIntegralProperty *lengths,
98 const GeoIntegralProperty *types,
99 const Geometry::MFPropertiesType *prop,
100 const Geometry::MFPropIndicesType *propIdx,
101 UInt32 uiNumInstances)