#include <viewcube.h>
Public Member Functions | |
| MiniViewCube (const std::shared_ptr< Renderer > &renderer, const std::shared_ptr< Image2D > &image, const std::shared_ptr< Vector2i > &coordinate, const std::shared_ptr< Vector2i > &backgroundSize, const std::shared_ptr< Vector2i > &windowSize) | |
| virtual | ~MiniViewCube () |
Public Member Functions inherited from cil::ViewCube | |
| ViewCube (const std::shared_ptr< Renderer > &renderer, const std::shared_ptr< Image2D > &image, const std::shared_ptr< Vector2i > &coordinate, const std::shared_ptr< Vector2i > &backgroundSize, const std::shared_ptr< Vector2i > &windowSize) | |
| virtual | ~ViewCube () |
| int | hilited () const |
| void | setHilited (int hilited) |
| std::shared_ptr< Matrix4f > | align (const std::shared_ptr< Camera > &camera, const std::shared_ptr< BoundingBox > &boundingBox) |
| int | hit (int x, int y) |
| void | sync (const std::shared_ptr< Camera > &camera) |
Public Member Functions inherited from cil::Pass | |
| Pass () | |
| void | update (UpdateMode mode=UpdateMode::All) |
| void | updateAsset () |
| void | updateBatch () |
| void | updateTrans () |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
Additional Inherited Members | |
Public Types inherited from cil::Pass | |
| enum class | UpdateMode { None = 0 , Asset = 1 , Batch = 2 , Trans = 4 , All = Asset | Batch | Trans } |
Public Attributes inherited from cil::Pass | |
| std::string | name |
| This memeber stores the name of the pass. | |
| bool | enabled |
| This member indicates whether the pass is currently enabled. Disabled passes are skipped during rendering. | |
| std::shared_ptr< Background > | background |
| This member holds a shared pointer to a Background object which defines the scene background. | |
| std::shared_ptr< Camera > | camera |
| This member holds a shared pointer to a Camera object which the current pass uses for rendering. | |
| std::shared_ptr< Node > | node |
| This member holds a shared pointer to a Node object which represents the rendering objects of the current pass. | |
| std::shared_ptr< Target > | target |
| This member holds a shared pointer to a Target object which stores the rendering results, such as a buffer or texture. | |
| int | assetVersion |
| int | batchVersion |
| int | transVersion |
Protected Attributes inherited from cil::ViewCube | |
| std::shared_ptr< Node > | m_hilite |
| std::shared_ptr< std::vector< std::shared_ptr< Block > > > | m_blocks |
| int | m_hilited |
| int | m_unhilited |
| std::shared_ptr< Geometry > | m_blockCube |
| std::shared_ptr< Material > | m_faceMaterial |
| std::shared_ptr< FaceSelector< Block > > | m_selector |
| std::shared_ptr< Image2D > | m_image |
| cil::MiniViewCube::MiniViewCube | ( | const std::shared_ptr< Renderer > & | renderer, |
| const std::shared_ptr< Image2D > & | image, | ||
| const std::shared_ptr< Vector2i > & | coordinate, | ||
| const std::shared_ptr< Vector2i > & | backgroundSize, | ||
| const std::shared_ptr< Vector2i > & | windowSize ) |
|
virtual |