Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGDVRShader.cpp

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002  *                                OpenSG                                     *
00003  *                                                                           *
00004  *                                                                           *
00005  *             Copyright (C) 2000,2001 by the OpenSG Forum                   *
00006  *                                                                           *
00007  *                            www.opensg.org                                 *
00008  *                                                                           *
00009  *   contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de          *
00010  *                                                                           *
00011 \*---------------------------------------------------------------------------*/
00012 /*---------------------------------------------------------------------------*\
00013  *                                License                                    *
00014  *                                                                           *
00015  * This library is free software; you can redistribute it and/or modify it   *
00016  * under the terms of the GNU Library General Public License as published    *
00017  * by the Free Software Foundation, version 2.                               *
00018  *                                                                           *
00019  * This library is distributed in the hope that it will be useful, but       *
00020  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00022  * Library General Public License for more details.                          *
00023  *                                                                           *
00024  * You should have received a copy of the GNU Library General Public         *
00025  * License along with this library; if not, write to the Free Software       *
00026  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
00027  *                                                                           *
00028 \*---------------------------------------------------------------------------*/
00029 /*---------------------------------------------------------------------------*\
00030  *                                Changes                                    *
00031  *                                                                           *
00032  *                                                                           *
00033  *                                                                           *
00034  *                                                                           *
00035  *                                                                           *
00036  *                                                                           *
00037 \*---------------------------------------------------------------------------*/
00038 
00039 //---------------------------------------------------------------------------
00040 //  Includes
00041 //---------------------------------------------------------------------------
00042 
00043 #include <stdlib.h>
00044 #include <stdio.h>
00045 
00046 #include <OSGConfig.h>
00047 
00048 #include "OSGDVRShader.h"
00049 
00050 OSG_USING_NAMESPACE
00051 
00057 bool DVRShader::initialize(DVRVolume      * /* volume */, 
00058                            DrawActionBase * /* action */) 
00059 {
00060     SLOG << "DVRShader::initialize - NI" << std::endl;
00061 
00062     return false;
00063 }
00064 
00065 
00066 void DVRShader::activate(DVRVolume      * /* volume */, 
00067                          DrawActionBase * /* action */) 
00068 {
00069     SLOG << "DVRShader::activate - NI" << std::endl;
00070 }
00071 
00072 void DVRShader::brickActivate(DVRVolume      * /* volume */, 
00073                               DrawActionBase * /* action */,
00074                               Brick          * /* brick  */ ) 
00075 {
00076     SLOG << "DVRShader::brickActivate - NI" << std::endl;
00077 }
00078 
00079 void DVRShader::deactivate(DVRVolume      * /* volume */, 
00080                            DrawActionBase * /* action */) 
00081 {
00082     SLOG << "DVRShader::brickActivate - NI" << std::endl;
00083 }
00084 
00085 void DVRShader::renderSlice(DVRVolume      * /* volume   */, 
00086                             DrawActionBase * /* action   */,
00087                             Real32         * /* data     */, 
00088                             UInt32           /* vertices */, 
00089                             UInt32           /* values   */) 
00090 {
00091     SLOG << "DVRShader::renderSlice - NI" << std::endl;
00092 }
00093 
00094 void DVRShader::renderSlice(DVRVolume      * /* volume       */, 
00095                             DrawActionBase * /* action       */,
00096                             DVRRenderSlice * /* clippedSlice */) 
00097 {
00098     SLOG << "DVRShader::renderSlice - NI" << std::endl;
00099 }
00100 
00101 bool DVRShader::hasRenderCallback(void)
00102 {
00103     return false; 
00104 }
00105 
00106 bool DVRShader::useMTSlabs(void)
00107 {
00108     return false; 
00109 }; 
00110 
00111 /*----------------------- constructors & destructors ----------------------*/
00112 
00114 DVRShader::DVRShader(void) :
00115     Inherited()
00116 {
00117 }
00118 
00120 DVRShader::DVRShader(const DVRShader &source) :
00121     Inherited(source)
00122 {
00123 }
00124 
00126 DVRShader::~DVRShader(void)
00127 {
00128 }
00129 
00130 /*----------------------------- class specific ----------------------------*/
00131 
00133 void DVRShader::initMethod (void)
00134 {
00135 }
00136 
00138 void DVRShader::changed(BitVector whichField, UInt32 origin)
00139 {
00140     Inherited::changed(whichField, origin);
00141 }
00142 
00144 void DVRShader::dump(      UInt32    , 
00145                          const BitVector ) const
00146 {
00147     SLOG << "Dump DVRShader NI" << std::endl;
00148 }
00149 
00150 
00151 
00152 /*-------------------------------------------------------------------------*/
00153 /*                              cvs id's                                   */
00154 
00155 #ifdef __sgi
00156 #pragma set woff 1174
00157 #endif
00158 
00159 #ifdef OSG_LINUX_ICC
00160 #pragma warning( disable : 177 )
00161 #endif
00162 
00163 namespace
00164 {
00165     static char cvsid_cpp[] = "@(#)$Id: $";
00166     static char cvsid_hpp[] = OSGDVRSHADER_HEADER_CVSID;
00167     static char cvsid_inl[] = OSGDVRSHADER_INLINE_CVSID;
00168 }
00169 

Generated on Thu Aug 25 04:04:04 2005 for OpenSG by  doxygen 1.4.3