OSGVolumeDraw.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002  *                                OpenSG                                     *
00003  *                                                                           *
00004  *                                                                           *
00005  *             Copyright (C) 2000-2002 by the OpenSG Forum                   *
00006  *                                                                           *
00007  *   contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de          *
00008  *                                                                           *
00009 \*---------------------------------------------------------------------------*/
00010 /*---------------------------------------------------------------------------*\
00011  *                                License                                    *
00012  *                                                                           *
00013  * This library is free software; you can redistribute it and/or modify it   *
00014  * under the terms of the GNU Library General Public License as published    *
00015  * by the Free Software Foundation, version 2.                               *
00016  *                                                                           *
00017  * This library is distributed in the hope that it will be useful, but       *
00018  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00020  * Library General Public License for more details.                          *
00021  *                                                                           *
00022  * You should have received a copy of the GNU Library General Public         *
00023  * License along with this library; if not, write to the Free Software       *
00024  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
00025  *                                                                           *
00026 \*---------------------------------------------------------------------------*/
00027 /*---------------------------------------------------------------------------*\
00028  *                                Changes                                    *
00029  *                                                                           *
00030  *                                                                           *
00031  *                                                                           *
00032  *                                                                           *
00033  *                                                                           *
00034  *                                                                           *
00035 \*---------------------------------------------------------------------------*/
00036 
00037 #ifndef _OSGVOLUMEDRAW_H_
00038 #define _OSGVOLUMEDRAW_H_
00039 #ifdef __sgi
00040 #pragma once
00041 #endif
00042 
00043 #include "OSGConfig.h"
00044 #include "OSGSystemDef.h"
00045 #include "OSGBaseTypes.h"
00046 #include "OSGNode.h"
00047 
00048 #include "OSGAction.h"
00049 #include "OSGMaterial.h"
00050 
00051 #include "OSGVolume.h"
00052 #include "OSGBoxVolume.h"
00053 
00054 OSG_BEGIN_NAMESPACE
00055 
00056 /*---------------------------------------------------------------------*/
00060 OSG_SYSTEM_DLLMAPPING void drawVolume(const DynamicVolume  &volume);
00061 OSG_SYSTEM_DLLMAPPING void drawVolume(const BoxVolume      &volume);
00062 OSG_SYSTEM_DLLMAPPING void drawVolume(const SphereVolume   &volume);
00063 OSG_SYSTEM_DLLMAPPING void drawVolume(const FrustumVolume  &volume);
00064 OSG_SYSTEM_DLLMAPPING void drawVolume(const CylinderVolume &volume);
00065 
00066 OSG_SYSTEM_DLLMAPPING void dropVolume(      DrawActionBase *action, 
00067                                             NodePtr         node,
00068                                             Color3r         col   );
00069 
00070 OSG_SYSTEM_DLLMAPPING void dropVolume(      DrawActionBase *action, 
00071                                       const DynamicVolume  &volume,
00072                                             Color3r         col   );
00073 
00075 /*---------------------------------------------------------------------*/
00076 
00077 OSG_END_NAMESPACE
00078 
00079 #endif /* _OSGVOLUMEDRAW_H_ */