|
Public Types |
typedef std::vector< osg::Vec2 > | HeightDeltaList |
enum | Position {
LEFT = 0,
LEFT_BELOW = 1,
BELOW = 2,
BELOW_RIGHT = 3,
RIGHT = 4,
RIGHT_ABOVE = 5,
ABOVE = 6,
ABOVE_LEFT = 7,
NUMBER_OF_POSITIONS = 8
} |
Public Member Functions |
| DestinationTile () |
void | computeNeighboursFromQuadMap () |
void | setNeighbours (DestinationTile *left, DestinationTile *left_below, DestinationTile *below, DestinationTile *below_right, DestinationTile *right, DestinationTile *right_above, DestinationTile *above, DestinationTile *above_left) |
void | checkNeighbouringTiles () |
void | setMaximumImagerySize (unsigned int maxNumColumns, unsigned int maxNumRows) |
void | setMaximumTerrainSize (unsigned int maxNumColumns, unsigned int maxNumRows) |
void | computeMaximumSourceResolution (CompositeSource *sourceGraph) |
bool | computeImageResolution (unsigned int layer, unsigned int &numColumns, unsigned int &numRows, double &resX, double &resY) |
bool | computeTerrainResolution (unsigned int &numColumns, unsigned int &numRows, double &resX, double &resY) |
void | allocate () |
void | addRequiredResolutions (CompositeSource *sourceGraph) |
void | readFrom (CompositeSource *sourceGraph) |
void | allocateEdgeNormals () |
void | equalizeCorner (Position position) |
void | equalizeEdge (Position position) |
void | equalizeBoundaries () |
void | setTileComplete (bool complete) |
bool | getTileComplete () const |
void | optimizeResolution () |
osg::Node * | createScene () |
osg::StateSet * | createStateSet () |
osg::Node * | createHeightField () |
osg::Node * | createPolygonal () |
void | unrefData () |
ImageData & | getImageData (unsigned int layer) |
Public Attributes |
DataSet * | _dataSet |
std::string | _name |
unsigned int | _level |
unsigned int | _tileX |
unsigned int | _tileY |
GLenum | _pixelFormat |
std::vector< ImageData > | _imagery |
osg::ref_ptr< DestinationData > | _terrain |
osg::ref_ptr< DestinationData > | _models |
DestinationTile * | _neighbour [NUMBER_OF_POSITIONS] |
bool | _equalized [NUMBER_OF_POSITIONS] |
unsigned int | _maxSourceLevel |
unsigned int | _imagery_maxNumColumns |
unsigned int | _imagery_maxNumRows |
unsigned int | _terrain_maxNumColumns |
unsigned int | _terrain_maxNumRows |
float | _terrain_maxSourceResolutionX |
float | _terrain_maxSourceResolutionY |
bool | _complete |
HeightDeltaList | _heightDeltas [NUMBER_OF_POSITIONS] |