Changeset 1493 for trunk/packages/vizservers/nanovis/nanovis.h
- Timestamp:
- Jun 8, 2009, 8:31:59 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/nanovis.h
r1484 r1493 43 43 #include "global.h" 44 44 #include "socket/Socket.h" 45 #include "rappture.h" 45 46 #include "NvCamera.h" 46 47 #include "ConvexPolygon.h" … … 131 132 static vector<HeightMap*> heightMap; 132 133 static unsigned char* screen_buffer; 133 static vector<Volume *> volumes;134 static Tcl_HashTable volumeTable; 134 135 static vector<NvVectorField*> flow; 135 136 static Grid* grid; 136 137 static R2Fonts* fonts; 137 static int n_volumes;138 138 static int updir; 139 139 static NvCamera *cam; … … 155 155 static Tcl_DString cmdbuffer; 156 156 157 static int _last_data_id;158 157 public : 159 158 static TransferFunction* get_transfunc(const char *name); … … 184 183 static int render_legend(TransferFunction *tf, double min, double max, 185 184 int width, int height, const char* volArg); 186 static Volume *load_volume(int volDataID, int width, int height, int depth, 187 int n, float* data, double vmin, double vmax, double nzero_min); 185 static Volume *load_volume(const char *tag, int width, int height, 186 int depth, int n, float* data, double vmin, double vmax, 187 double nzero_min); 188 188 static void xinetd_listen(void); 189 189 static int render_2d_contour(HeightMap* heightmap, int width, int height); … … 233 233 }; 234 234 static void EventuallyRedraw(unsigned int flag = 0); 235 static void remove_volume( size_t index);236 static int generate_data_identifier();235 static void remove_volume(Volume *volPtr); 236 static Tcl_HashTable tfTable; 237 237 }; 238 238 239 extern Volume *load_volume_stream(Rappture::Outcome &status, const char *tag, 240 std::iostream& fin); 241 extern Volume *load_volume_stream_odx(Rappture::Outcome &status, 242 const char *tag, const char *buf, int nBytes); 243 extern Volume *load_volume_stream2(Rappture::Outcome &status, const char *tag, 244 std::iostream& fin); 245 246 extern Volume *load_vector_stream(Rappture::Outcome &result, const char *tag, 247 size_t length, char *bytes); 248 extern Volume *load_vector_stream2(Rappture::Outcome &result, const char *tag, 249 size_t length, char *bytes); 250 239 251 240 252 #endif /* __NANOVIS_H__ */
Note: See TracChangeset
for help on using the changeset viewer.