19#ifndef OST_GFX_MAP_SLAB_HH
20#define OST_GFX_MAP_SLAB_HH
26#include <boost/shared_ptr.hpp>
27#include <boost/shared_array.hpp>
36namespace ost {
namespace gfx {
54 typedef std::vector<PolyListEntry> PolyList;
102 boost::shared_array<float> tex_data_;
Three dimensional vector class, using Real precision.
main class for all graphic objects
Render slice of 3d image.
virtual geom::AlignedCuboid GetBoundingBox(bool use_tf=true) const
returns the bounding box of this object
virtual void CustomRenderPov(PovState &pov)
get plane of slab
geom::Plane GetPlane() const
void ColorBy(const Color &c1, const Color &c2)
color by interpolating between two colors with min/max of slab
void ColorBy(const Gradient &g, float minv, float maxv)
color by gradient, using explicit min/max values
void ColorBy(const Gradient &g)
color by gradient, using min/max of slab
void ColorBy(const Color &c1, const Color &c2, float minv, float maxv)
color by interpolating between two colors with explicit min and max values
virtual geom::Vec3 GetCenter() const
get geometric center
virtual void CustomRenderGL(RenderPass pass)
void SetPlane(const geom::Plane &p)
set slab plane
virtual void CustomPreRenderGL(bool flag)
MapSlab(const String &name, const img::MapHandle &mh, const geom::Plane &p)
create new slab
Manage shared instances of images.
#define DLLEXPORT_OST_GFX
boost::shared_ptr< MapSlab > MapSlabP