14 #ifndef OSGVOLUME_tile
15 #define OSGVOLUME_tile 1
20 #include <osgDB/ReaderWriter>
22 #include <osgVolume/Layer>
23 #include <osgVolume/VolumeTechnique>
35 TileID(
int in_level,
int in_x,
int in_y,
int in_z);
37 bool operator == (
const TileID& rhs)
const
39 return (
level==rhs.
level) && (x==rhs.
x) && (y==rhs.
y) && (z==rhs.
z);
42 bool operator != (
const TileID& rhs)
const
44 return (
level!=rhs.
level) || (x!=rhs.
x) || (y!=rhs.
y) || (z!=rhs.
z);
47 bool operator < (
const TileID& rhs)
const
51 if (x<rhs.
x)
return true;
52 if (x>rhs.
x)
return false;
53 if (y<rhs.
y)
return true;
54 if (y>rhs.
y)
return false;
87 void setVolume(
Volume* ts);
99 void setTileID(
const TileID& tileID);
110 void setLayer(
Layer* layer);
127 void setDirty(
bool dirty);
VolumeTechnique * getVolumeTechnique()
osg::ref_ptr< VolumeTechnique > _volumeTechnique
osg::ref_ptr< Layer > _layer
#define META_Node(library, name)
const Layer * getLayer() const
const VolumeTechnique * getVolumeTechnique() const
const Locator * getLocator() const
const Volume * getVolume() const
osg::ref_ptr< Locator > _locator
const TileID & getTileID() const
void setLocator(Locator *locator)