30 #include <boost/shared_ptr.hpp>
32 #include "../common/WBoundingBox.h"
virtual ~WGrid()
Since WGrid is a base class and thus should be polymorphic we add virtual destructor.
Base class to all grid types, e.g.
WGrid(size_t size)
Constructs a new WGrid instance.
Class to manage properties of an object and to provide convenience methods for easy access and manipu...
boost::shared_ptr< WPropertyGroup > getInformationProperties() const
Returns a pointer to the information properties object of the grid.
size_t m_size
Stores the number of positions.
virtual WBoundingBox getBoundingBox() const =0
Axis aligned Bounding Box that encloses this grid.
size_t size() const
The number of positions in this grid.
boost::shared_ptr< WPropertyGroup > m_infoProperties
The property object for the grid containing only props whose purpose is "PV_PURPOSE_INFORMNATION".