|
| | QuantizedMeshTile (const ctb::TileCoordinate &coord, const Ellipsoid &e=WGS84Ellipsoid()) |
| | Creates a quantized mesh tile from a tile coordinate. More...
|
| |
| | QuantizedMeshTile (const char *fileName, const ctb::TileCoordinate &coord, const Ellipsoid &e=WGS84Ellipsoid()) |
| | Create a quantized mesh tile from a file. More...
|
| |
| | QuantizedMeshTile (const QuantizedMesh &qm, const ctb::TileCoordinate &coord, const Ellipsoid &e=WGS84Ellipsoid()) |
| | Creates a quantized mesh tile from quantized mesh data. More...
|
| |
|
void | convertUVHToLonLatHeight (const unsigned short &u, const unsigned short &v, const unsigned short &h, double &lon, double &lat, double &height) const |
| | Convert U/V/Height coordinates in quantized mesh tile to Lon/Lat/Height.
|
| |
| bool | exportToOFF (const std::string &outFilePath, const bool &useRealWorldValues=false) |
| | Exports the geometry of the tile to OFF format. More...
|
| |
| Point_3 | horizonOcclusionPoint (const std::vector< Point_3 > &pts, const Point_3 ¢er) |
| | Compute the horizon occlusion point for the given tile. More...
|
| |
|
| QuantizedMesh () |
| | Constructor.
|
| |
|
| QuantizedMesh (const std::string &filePath) |
| | Constructor from file.
|
| |
|
bool | readFile (const std::string &filePath) |
| | Read the tile from a file.
|
| |
|
bool | writeFile (const std::string &filePath) |
| | Write the tile to a file.
|
| |
|
void | print () |
| | Show the contents of the tile on screen.
|
| |
|
void | printHeader () |
| | Show the contents of the header of the tile on screen.
|
| |
|
void | setHeader (const Header &header) |
| | Set the header part of the quantized mesh structure.
|
| |
|
void | setVertexData (const VertexData &vd) |
| | Set the vertex data part of the quantized mesh structure.
|
| |
|
void | setIndexData (const IndexData &id) |
| | Set the index data part of the quantized mesh structure.
|
| |
|
void | setEdgeIndices (const EdgeIndices &ei) |
| | Set the edge indices data part of the quantized mesh structure.
|
| |
|
void | setVertexNormals (const VertexNormals &vn) |
| | Set the vertices normal part of the quantized mesh structure.
|
| |
|
Header | getHeader () const |
| | Get the header part of the quantized mesh structure.
|
| |
|
VertexData | getVertexData () const |
| | Get the vertex data part of the quantized mesh structure.
|
| |
|
IndexData | getIndexData () const |
| | Get the index data of the quantized mesh structure.
|
| |
|
VertexNormals | getVertexNormals () const |
| | Get the vertex normals of the quantized mesh structure.
|
| |
|
EdgeIndices | getEdgeIndices () const |
| | Get the edge indices of the quantized mesh structure.
|
| |
Encapsulates a Tile in Quantized Mesh format *.