Maria GDK 5.0.0.779
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria3D::Tiles3D::Content Class Reference

#include <M3DContent.h>

Inheritance diagram for Maria3D::Tiles3D::Content:
Maria3D::Tiles3D::TilesObject

Public Member Functions

const std::shared_ptr< BoundingVolumegetBoundingVolume () const
 A bounding volume that encloses a tile or its content.
 
void setBoundingVolume (const std::shared_ptr< BoundingVolume > &boundingVolume)
 A bounding volume that encloses a tile or its content.
 
std::string getUri () const
 
void setUri (const std::string &uri)
 
std::shared_ptr< ModelInstancegetModelInstance () const
 
void setModelInstance (const std::shared_ptr< ModelInstance > &modelInstance)
 
unsigned long getContentId () const
 
const STK::Matrix4x4fgetContentTransform () const
 
void setContentTransform (const STK::Matrix4x4f &transform)
 
std::shared_ptr< ManagedGraphicsModelgetManagedModel () const
 
- Public Member Functions inherited from Maria3D::Tiles3D::TilesObject
const std::map< std::string, std::string > & getExtras () const
 
void setExtra (const std::string &key, const std::string &val)
 
std::string getExtra (const std::string &key) const
 

Protected Attributes

std::shared_ptr< BoundingVolume_boundingVolume
 
std::string _uri
 
std::shared_ptr< ModelInstance_modelInstance
 
STK::Matrix4x4f _contentTransform
 
unsigned long _contentId
 
- Protected Attributes inherited from Maria3D::Tiles3D::TilesObject
std::map< std::string, std::string > _extras
 

Detailed Description

Content - Metadata about the tile's content and a link to the content.

Member Function Documentation

◆ getUri()

std::string Maria3D::Tiles3D::Content::getUri ( ) const
inline

A uri that points to the tile's content. When the uri is relative, it is relative to the referring tileset JSON file.

◆ setUri()

void Maria3D::Tiles3D::Content::setUri ( const std::string &  uri)
inline

A uri that points to the tile's content. When the uri is relative, it is relative to the referring tileset JSON file.


The documentation for this class was generated from the following files: