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

GeoNode.h

Go to the documentation of this file.
00001 // Copyright NVIDIA Corporation 2002-2004
00002 // TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
00003 // *AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS
00004 // OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
00005 // AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL NVIDIA OR ITS SUPPLIERS
00006 // BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES
00007 // WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
00008 // BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS)
00009 // ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVIDIA HAS
00010 // BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES 
00011 
00012 #pragma once
00013 
00015 #include "nvsgcommon.h"
00016 
00017 #include "nvsg/Node.h"
00018 #include "nvsg/GeoSet.h"
00019 #include "nvsg/StateSet.h"
00020 
00021 // memory leak detection
00022 #ifdef _DEBUG
00023 # ifndef new
00024 #  define new new(__FILE__, __LINE__)
00025 #  define _DEFINED_DBGNEW // restrict the 'new' macro to this header file only
00026 # endif
00027 #endif
00028 
00029 namespace nvsg
00030 {
00031 
00033 
00036   class GeoNode : public Node
00037   {
00038     public:
00040 
00041       NVSG_API static const GeoNode * create( void );
00042 
00044 
00045       NVSG_API static const GeoNode * createFromBase(const Node &rhs   
00046       );
00047 
00049 
00050       NVSG_API virtual GeoNode * clone( void ) const;
00051 
00053 
00056       NVSG_API bool addGeometry(const Drawable *pDrawable    
00057                               , const StateSet *pStateSet    
00058       );
00059 
00061 
00063 
00066 
00070 
00074 
00077 
00082 
00084 
00088 
00090 
00095 
00096 
00100 
00102 
00106 
00108 
00112 
00113 
00116 
00117 
00122 
00123 
00128 
00131 
00136 
00137 
00141 
00144 
00148 
00149 
00154 
00155 
00161 
00162 
00165 
00166 
00169 
00170 
00173 
00174 
00177 
00178 
00181 
00182 
00185 
00186 
00197 
00200 
00203 
00206 
00209 
00211 
00214 
00216 

Generated on Tue Mar 1 13:19:16 2005 for NVSGSDK by NVIDIA