|
| EntityBadge3D (const std::shared_ptr< STK::GraphicsRender2D > &gfx_render, const std::shared_ptr< STK::FontManager > &font_manager, const std::string &name="") |
|
void | setBackgroundColor (STK::Color4f color) |
|
STK::Color4f | getBackgroundColor () const |
|
void | setOutlineColor (STK::Color4f color) |
|
STK::Color4f | getOutlineColor () const |
|
void | setPadding (double up, double right, double down, double left) |
|
void | getPadding (double &up, double &right, double &down, double &left) const |
|
void | setCornerRadius (float corner_radius) |
|
float | getCornerRadius () const |
|
void | setText (const std::string &text, int section_index, int item_index) |
|
std::string | getText (int section_index, int item_index) const |
|
void | setFontFamily (const std::string &font_family, int section_index, int item_index) |
|
void | setFontFamily (const std::string &font_family) |
|
std::string | getFontFamily (int section_index, int item_index) const |
|
void | setFontStyle (STK::FontStyle font_style, int section_index, int item_index) |
|
void | setFontStyle (STK::FontStyle font_style) |
|
STK::FontStyle | getFontStyle (int section_index, int item_index) const |
|
void | setTextColor (STK::Color4f color, int section_index, int item_index) |
|
void | setTextColor (STK::Color4f color) |
|
STK::Color4f | getTextColor (int section_index, int item_index) const |
|
void | setFontSize (int font_size) |
|
int | getFontSize () const |
|
void | setTextSpacing (float text_spacing) |
|
float | getTextSpacing () const |
|
void | setGrammarStyling (Maria::Grammar::Styling grammar_styling) |
|
void | setGrammarStyling (Maria::Grammar::Styling grammar_styling, Maria::Grammar::Contrast grammar_contrast) |
|
Maria::Grammar::Styling | getGrammarStyling () const |
|
Maria::Grammar::Contrast | getGrammarContrast () const |
|
void | setDrawOutline (bool draw_outline) |
|
bool | getDrawOutline () const |
|
void | addIcon (std::shared_ptr< STK::IconRenderItem > icon, int section_index) |
|
void | removeIcon (int section_index, int item_index) |
|
void | setIconColor (STK::Color4f color, int section_index, int item_index) |
|
void | setIconColor (STK::Color4f color) |
|
STK::Color4f | getIconColor (int section_index, int item_index) const |
|
void | setSeparatorColor (STK::Color4f color) |
|
STK::Color4f | getSeparatorColor () const |
|
float | getIconHeight () |
|
void | setDrawSeparator (bool draw) |
|
bool | getDrawSeparator () const |
|
void | setHAlignment (EntityBadge::HAlignment halignment) |
|
EntityBadge::HAlignment | getHAlignment () const |
|
void | setVAlignment (EntityBadge::VAlignment valignment) |
|
EntityBadge::VAlignment | getVAlignment () const |
|
| BillboardRenderItem (const std::shared_ptr< STK::GraphicsRender2D > &gfx_render, const STK::Viewport &vp, const std::string &name) |
|
void | setShaderName (const std::string &shader_name) |
|
const std::string & | getShaderName () const |
|
void | setScale (float scale) |
|
float | getScale () const |
|
void | setRenderer (const std::shared_ptr< STK::GraphicsRender2D > &gfx_render) |
|
const std::shared_ptr< STK::GraphicsRender2D > & | getRenderer () const |
|
void | setViewport (const STK::Viewport &vp) |
|
const STK::Viewport & | getViewport () const |
|
void | setDepthTest (bool depth_test) |
|
bool | getDepthTest () 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 | calcBoundingSphere (STK::Vector3f ¢er, double &radius) override |
|
void | calcBoundingBox (STK::Vector3f &min, STK::Vector3f &max) override |
|
| MeshGraphicsModel (std::shared_ptr< ShaderProgramManager > prg_mgr, const std::string &name="") |
|
void | addMeshRender (std::shared_ptr< MeshRender > mesh_render) |
|
unsigned int | addMeshGroup (std::shared_ptr< MaterialMeshGroup > mesh_grp, const unsigned int layer=0) |
|
std::shared_ptr< MaterialMeshGroup > | getMeshGroup (const unsigned int id) |
|
void | setMeshGroup (const unsigned int id, std::shared_ptr< MaterialMeshGroup > mesh_grp) |
|
void | removeMeshGroup (const unsigned int id) |
|
const std::map< unsigned int, std::shared_ptr< MaterialMeshGroup > > & | getMeshGroups () const |
|
std::map< unsigned int, std::shared_ptr< MaterialMeshGroup > > & | getMeshGroups () |
|
std::shared_ptr< STK::Material > | findMaterial (const std::string &name) const |
|
void | needsUpdate (const bool needs_update) |
|
std::shared_ptr< const MeshNode > | getRoot () const |
|
std::shared_ptr< MeshNode > | getRoot () |
|
void | setRoot (const std::shared_ptr< MeshNode > &node) |
|
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) override |
|
void | calcBoundingSphere (STK::Vector3f ¢er, double &radius) override |
|
void | drawShadowMap (const STK::Camera &cam, const STK::Viewport &vp, const Camera &shd_cam, const Viewport &shd_vp, STK::ShaderProgram *shader, STK::ShaderProgram *tex_shader) override |
|
void | addAnimation (std::shared_ptr< AnimationController > anim) |
|
const std::vector< std::shared_ptr< AnimationController > > & | getAnimations () const |
|
int | findAnimations (const std::string &search, std::list< std::shared_ptr< AnimationController > > &anims) |
|
std::shared_ptr< AnimationController > | findAnimation (const std::string &name) |
| Find the animation with the exact name.
|
|
void | findMeshNodes (const std::string &search, std::vector< std::shared_ptr< STK::MeshNode > > &nodes) const |
|
void | findMeshNodes (const std::regex &re, std::vector< std::shared_ptr< STK::MeshNode > > &nodes) const |
|
std::shared_ptr< STK::MeshNode > | findMeshNode (const std::string &name) const |
|
void | calcBoundingBox (STK::Vector3f &min, STK::Vector3f &max) override |
|
std::shared_ptr< STK::ShaderProgramManager > | shaderProgramManager () |
|
std::shared_ptr< MeshGraphicsModel > | refCopy () |
|
void | redrawBackToFront (const Camera &cam, const STK::Viewport &, int render_mask, const std::vector< std::shared_ptr< Uniform > > *uniforms) |
|
| 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 |
|