1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2006 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
39 //---------------------------------------------------------------------------
41 //---------------------------------------------------------------------------
46 #include "OSGConfig.h"
48 #include "OSGChunkMaterial.h"
49 #include "OSGFrameBufferObject.h"
50 #include "OSGSimpleSHLChunk.h"
51 #include "OSGAlgorithmComputeElementData.h"
52 #include "OSGAlgorithmComputeElement.h"
56 // Documentation for this class is emitted in the
57 // OSGAlgorithmComputeElementDataBase.cpp file.
58 // To modify it, please change the .fcd file
59 // (OSGAlgorithmComputeElementData.fcd) and regenerate the base file.
61 /***************************************************************************\
63 \***************************************************************************/
65 /***************************************************************************\
67 \***************************************************************************/
69 void AlgorithmComputeElementData::initMethod(InitPhase ePhase
)
71 Inherited::initMethod(ePhase
);
73 if(ePhase
== TypeObject::SystemPost
)
79 /***************************************************************************\
81 \***************************************************************************/
83 /*-------------------------------------------------------------------------*\
85 \*-------------------------------------------------------------------------*/
87 /*----------------------- constructors & destructors ----------------------*/
89 AlgorithmComputeElementData::AlgorithmComputeElementData(void) :
95 AlgorithmComputeElementData::AlgorithmComputeElementData(
96 const AlgorithmComputeElementData
&source
) :
103 AlgorithmComputeElementData::~AlgorithmComputeElementData(void)
107 void AlgorithmComputeElementData::setTask(ComputeAlgorithmDrawTask
*pTask
)
112 ComputeAlgorithmDrawTask
*AlgorithmComputeElementData::getTask(void)
117 void AlgorithmComputeElementData::resolveLinks(void)
119 Inherited::resolveLinks();
124 /*----------------------------- class specific ----------------------------*/
126 void AlgorithmComputeElementData::changed(ConstFieldMaskArg whichField
,
130 Inherited::changed(whichField
, origin
, details
);
133 void AlgorithmComputeElementData::dump( UInt32
,
134 const BitVector
) const
136 SLOG
<< "Dump AlgorithmComputeElementData NI" << std::endl
;
140 void VolumeCoreData::updateData(FieldContainer
*pCore
,
141 BitVector whichField
,