BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
raytraceableGrid.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 
5 #ifndef BALL_VIEW_DATATYPE_RAYTRACEABLEGRID_H
6 #define BALL_VIEW_DATATYPE_RAYTRACEABLEGRID_H
7 
8 #ifndef BALL_DATATYPE_REGULARDATA3D_H
10 #endif
11 
12 namespace BALL
13 {
14  namespace VIEW
15  {
17  {
18  public:
20  {
21  grid_ = 0;
22  }
23 
25  {
26  grid_ = grid;
27  }
28 
29  // Note: the grid_ - ptr is handled by the calling classes and we must not destroy it!
30  virtual ~RaytraceableGrid()
31  {}
32 
33 
34  float getGridMinValue();
35 
36  float getGridMaxValue();
37 
41  void binaryWrite(const String& filename) const;
42 
43  protected:
45  };
46  }
47 }
48 #endif
49