|
| SymbolModel (const Maria::ItemId &trackId, const std::string &modelType, const std::shared_ptr< LocalOrigin > &origin, const std::shared_ptr< STK::GraphicsModel > &model, const std::shared_ptr< STK::FontManager > &fontManager, const std::shared_ptr< STK::ShaderProgramManager > &shaderManager) |
|
virtual void | UpdateFields (const std::shared_ptr< Maria::GenericGeoObjectAdapter > &obj) |
|
void | SetPosition (BasicGeoTypes::GeoPos &gp, double alt=0.0) |
|
void | SetOrientation (double roll, double pitch, double yaw) |
|
void | SetGeocentricPos (const STK::Vector3d &pos) |
|
const STK::Vector3d & | GetGeocentricPos () |
|
const std::string & | GetModelType () const |
|
void | setLabelText (const std::string &text) |
|
void | setLabelFontName (const std::string labelFontName) |
|
void | setLabelFontSize (int size) |
|
void | setLabelColor (const STK::Color4f &color) |
|
void | setLabelOutlineWidth (int outline) |
|
void | setLabelOutlineColor (const STK::Color4f &color) |
|
void | setLabelBackgroundColor (const STK::Color4f &color) |
|
void | setLabelFontStyle (const STK::FontStyle &fontWeight) |
|
int | getLabelFontSize () const |
|
const std::string & | getLabelText () const |
|
const std::string & | getLabelFontName () const |
|
int | getLabelOutlineWidth () const |
|
const STK::Color4f & | getLabelColor () const |
|
const STK::Color4f & | getLabelOutlineColor () const |
|
const STK::Color4f & | getLabelBackgroundColor () const |
|
const STK::FontStyle & | getLabelFontStyle () const |
|
void | SetLabel (std::shared_ptr< PointSymbolLabel > label) |
|
const std::shared_ptr< PointSymbolLabel > & | GetLabel () const |
|
void | SetScale (float scale) |
|
float | GetScale () const |
|
float | GetVerticalScreenOffset () const |
|
void | SetVerticalScreenOffset (float offset) |
|
float | GetLabelBase () const |
|
float | GetAltitudeOffset () const |
|
void | setIconSize (float sz) |
|
float | getIconSize () const |
|
void | setShowGroundLine (bool showGroundLine) |
|
bool | showGroundLine () const |
|
void | setAlwaysVisible (bool alwaysVisible) |
|
bool | alwaysVisible () const |
|
void | redraw (const STK::Camera &cam, const STK::Viewport &vp, int render_mask, const std::vector< std::shared_ptr< STK::Uniform > > *uniforms) override |
|
void | drawShadowMap (const STK::Camera &cam, const STK::Viewport &vp, const STK::Camera &shd_cam, const STK::Viewport &shd_vp, STK::ShaderProgram *shader, STK::ShaderProgram *tex_shader) override |
|
void | calcBoundingSphere (STK::Vector3f ¢er, double &radius) override |
|
void | calcBoundingBox (STK::Vector3f &min, STK::Vector3f &max) override |
|
| GraphicsModel (const std::string &name="") |
|
void | setName (const std::string &name) |
|
const std::string & | getName () const |
|
virtual void | filterChildren (const filter_fn &fn, std::vector< std::shared_ptr< GraphicsModel > > &matched) |
|
void | setTransform (const STK::Matrix4x4f &transform) |
|
const STK::Matrix4x4f & | getTransform () const |
|
void | setEnvironmentMap (const std::shared_ptr< STK::CubeMap > &env_map) |
|
std::shared_ptr< STK::CubeMap > | getEnvironmentMap () |
|
std::shared_ptr< const STK::CubeMap > | getEnvironmentMap () const |
|
void | setWireframe (bool wireframe) |
|
bool | getWireframe () const |
|
void | setInvisible (bool invisible) |
|
bool | getInvisible () const |
|
void | setCastShadows (bool cast_shadows) |
|
bool | getCastShadows () const |
|
void | setDebugGraphics (bool debug_gfx) |
|
bool | getDebugGraphics () const |
|
virtual void | redraw (const STK::Camera &cam, const STK::Viewport &vp, int render_mask=STK::OpaqueMask, const std::vector< std::shared_ptr< STK::Uniform > > *uniforms=nullptr)=0 |
|
virtual void | drawShadowMap (const STK::Camera &cam, const STK::Viewport &vp, const STK::Camera &shd_cam, const STK::Viewport &shd_vp, STK::ShaderProgram *shader, STK::ShaderProgram *tex_shader)=0 |
|
virtual void | calcBoundingSphere (STK::Vector3f ¢er, double &radius)=0 |
|
virtual void | calcBoundingBox (STK::Vector3f &min, STK::Vector3f &max)=0 |
|
|
Maria::ItemId | _trackId |
|
std::string | _modelType |
|
std::shared_ptr< GeoTransform > | _geoTransform |
|
std::shared_ptr< STK::GraphicsModel > | _model |
|
std::shared_ptr< STK::FontManager > | _fontManager |
|
std::shared_ptr< STK::ShaderProgramManager > | _shaderManager |
|
std::shared_ptr< PointSymbolLabel > | _label |
|
std::shared_ptr< STK::LineRenderer > | _groundLine |
|
std::shared_ptr< OffsetLine > | _offsetLine |
|
float | _labelBase |
|
float | _iconSize |
|
float | _vScreenOffset |
|
float | _scale |
|
bool | _showModel |
|
bool | _showLabel |
|
bool | _showGroundLine |
|
bool | _alwaysVisible |
|
int | _labelFontSize = 32 |
|
std::string | _labelText |
|
std::string | _labelFontName |
|
STK::Color4f | _labelColor = { 1, 1, 1, 1 } |
|
STK::Color4f | _labelOutlineColor = { 0, 0, 0, 1 } |
|
STK::Color4f | _labelBackgroundColor = { 0, 0, 0, 0} |
|
int | _labelOutlineWidth = 2 |
|
STK::FontStyle | _labelFontWeight = STK::FontStyle::Regular |
|
std::string | name_ |
|
STK::Matrix4x4f | transform_ |
|
std::shared_ptr< STK::CubeMap > | env_map_ |
|
bool | wireframe_ |
|
bool | invisible_ |
|
bool | cast_shadows_ |
|
bool | debug_gfx_ |
|
SymbolModel - 3D model for a symbol (track or draw object)