00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
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
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