Loading...
Searching...
No Matches
raytraceableGrid.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_VIEW_DATATYPE_RAYTRACEABLEGRID_H
#define BALL_VIEW_DATATYPE_RAYTRACEABLEGRID_H
#ifndef BALL_DATATYPE_REGULARDATA3D_H
# include <BALL/DATATYPE/regularData3D.h>
#endif
namespace BALL
{
namespace VIEW
{
class BALL_VIEW_EXPORT RaytraceableGrid
{
public:
RaytraceableGrid()
{
grid_ = 0;
}
RaytraceableGrid(RegularData3D* grid)
{
grid_ = grid;
}
// Note: the grid_ - ptr is handled by the calling classes and we must not destroy it!
virtual ~RaytraceableGrid()
{}
float getGridMinValue();
float getGridMaxValue();
void binaryWrite(const String& filename) const;
protected:
RegularData3D* grid_;
};
}
}
#endif
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::String
Definition string.h:57
BALL::VIEW::RaytraceableGrid::binaryWrite
void binaryWrite(const String &filename) const
BALL::VIEW::RaytraceableGrid::grid_
RegularData3D * grid_
Definition raytraceableGrid.h:44
BALL::VIEW::RaytraceableGrid::~RaytraceableGrid
virtual ~RaytraceableGrid()
Definition raytraceableGrid.h:30
BALL::VIEW::RaytraceableGrid::getGridMaxValue
float getGridMaxValue()
BALL::VIEW::RaytraceableGrid::getGridMinValue
float getGridMinValue()
BALL::VIEW::RaytraceableGrid::RaytraceableGrid
RaytraceableGrid(RegularData3D *grid)
Definition raytraceableGrid.h:24
BALL::VIEW::RaytraceableGrid::RaytraceableGrid
RaytraceableGrid()
Definition raytraceableGrid.h:19
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
BALL::RegularData3D
TRegularData3D< float > RegularData3D
Definition regularData3D.h:515
regularData3D.h