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

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 
00038 #ifndef _OSGVOLUMEDRAW_H_
00039 #define _OSGVOLUMEDRAW_H_
00040 #ifdef __sgi
00041 #pragma once
00042 #endif
00043 
00044 #include <OSGConfig.h>
00045 #include <OSGSystemDef.h>
00046 #include <OSGBaseTypes.h>
00047 #include <OSGNode.h>
00048 
00049 #include <OSGAction.h>
00050 #include <OSGMaterial.h>
00051 
00052 #include <OSGVolume.h>
00053 #include <OSGBoxVolume.h>
00054 
00055 OSG_BEGIN_NAMESPACE
00056 
00057 /*---------------------------------------------------------------------*/
00061 OSG_SYSTEMLIB_DLLMAPPING void drawVolume(const DynamicVolume  &volume);
00062 OSG_SYSTEMLIB_DLLMAPPING void drawVolume(const BoxVolume      &volume);
00063 OSG_SYSTEMLIB_DLLMAPPING void drawVolume(const SphereVolume   &volume);
00064 OSG_SYSTEMLIB_DLLMAPPING void drawVolume(const FrustumVolume  &volume);
00065 OSG_SYSTEMLIB_DLLMAPPING void drawVolume(const CylinderVolume &volume);
00066 
00067 OSG_SYSTEMLIB_DLLMAPPING void dropVolume(DrawActionBase *action, 
00068                                          NodePtr node,
00069                                          Color3f col);
00070 
00071 OSG_SYSTEMLIB_DLLMAPPING void dropVolume(DrawActionBase *action, 
00072                                          const DynamicVolume &volume,
00073                                          Color3f col);
00074 
00077 OSG_END_NAMESPACE
00078 
00079 #endif /* _OSGVOLUMEDRAW_H_ */

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