|
|
| UniverseRenderer (const Simulator::Config &conf, Window *win) |
| |
|
template<typename T > |
| UniverseRenderer & | draw (T &camera, const iVector2 &viewportSize) |
| |
|
bool & | isDirty () |
| |
|
UniverseRenderer & | setDirty () |
| |
|
shaders::ParticleSphereShader::ColorMode & | colorMode () |
| |
|
UniverseRenderer & | setColorMode (shaders::ParticleSphereShader::ColorMode colorMode) |
| |
|
const Float | lineWidth () |
| |
|
UniverseRenderer & | setLineWidth (const Float &lw) |
| |
|
const Float | lineWidthMin () |
| |
|
const Float | lineWidthMax () |
| |
|
Color3 & | ambientColor () |
| |
|
UniverseRenderer & | setAmbientColor (const Color3 &color) |
| |
|
Color3 & | diffuseColor () |
| |
|
UniverseRenderer & | setDiffuseColor (const Color3 &color) |
| |
|
Color3 & | specularColor () |
| |
|
UniverseRenderer & | setSpecularColor (const Color3 &color) |
| |
|
Float & | shininess () |
| |
|
UniverseRenderer & | setShininess (float shininess) |
| |
|
Color3 & | gridColor () |
| |
|
UniverseRenderer & | setGridColor (const Color3 &color) |
| |
|
Color3 & | sceneBoxColor () |
| |
|
UniverseRenderer & | setSceneBoxColor (const Color3 &color) |
| |
|
fVector3 & | lightDirection () |
| |
|
UniverseRenderer & | setLightDirection (const fVector3 &lightDir) |
| |
|
Color3 & | lightColor () |
| |
|
UniverseRenderer & | setLightColor (const Color3 &color) |
| |
|
Color3 & | backgroundColor () |
| |
|
UniverseRenderer & | setBackgroundColor (const Color3 &color) |
| |
|
UniverseRenderer & | setModelViewTransform (const Magnum::Matrix4 &mat) |
| |
|
UniverseRenderer & | setProjectionTransform (const Magnum::Matrix4 &mat) |
| |
|
const bool | showingDiscretizationGrid () const |
| |
|
UniverseRenderer & | showDiscretizationGrid (const bool &show) |
| |
|
Color3 & | discretizationGridColor () |
| |
|
UniverseRenderer & | setDiscretizationGridColor (const Color3 &color) |
| |
|
const fVector3 & | defaultEye () const |
| |
|
const fVector3 & | defaultCenter () const |
| |
|
const fVector3 & | defaultUp () const |
| |
|
void | onCursorMove (double xpos, double ypos) |
| |
|
void | onCursorEnter (int entered) |
| |
|
void | onMouseButton (int button, int action, int mods) |
| |
|
void | onRedraw () |
| |
|
void | onWindowMove (int x, int y) |
| |
|
void | onWindowSizeChange (int x, int y) |
| |
|
void | onFramebufferSizeChange (int x, int y) |
| |
|
void | viewportEvent (const int w, const int h) |
| |
|
void | draw () |
| |
|
int | clipPlaneCount () const |
| |
|
const unsigned | addClipPlaneEquation (const Magnum::Vector4 &pe) |
| |
|
const unsigned | removeClipPlaneEquation (const unsigned int &id) |
| |
|
void | setClipPlaneEquation (unsigned id, const Magnum::Vector4 &pe) |
| |
|
const Magnum::Vector4 & | getClipPlaneEquation (unsigned id) |
| |
|
const float | getZoomRate () |
| |
|
void | setZoomRate (const float &zoomRate) |
| |
|
const float | getSpinRate () |
| |
|
void | setSpinRate (const float &spinRate) |
| |
|
const float | getMoveRate () |
| |
|
void | setMoveRate (const float &moveRate) |
| |
| const bool | isLagging () const |
| |
| void | enableLagging () |
| |
| void | disableLagging () |
| |
| void | toggleLagging () |
| |
| const float | getLagging () const |
| |
| void | setLagging (const float &lagging) |
| |
| const bool | getRendering3DBonds () const |
| |
| void | setRendering3DBonds (const bool &_flag) |
| |
| void | toggleRendering3DBonds () |
| |
| const bool | getRendering3DAngles () const |
| |
| void | setRendering3DAngles (const bool &_flag) |
| |
| void | toggleRendering3DAngles () |
| |
| const bool | getRendering3DDihedrals () const |
| |
| void | setRendering3DDihedrals (const bool &_flag) |
| |
| void | toggleRendering3DDihedrals () |
| |
| void | setRendering3DAll (const bool &_flag) |
| |
| void | toggleRendering3DAll () |
| |
|
void | viewportEvent (Platform::GlfwApplication::ViewportEvent &event) |
| |
|
void | cameraTranslateDown () |
| |
|
void | cameraTranslateUp () |
| |
|
void | cameraTranslateRight () |
| |
|
void | cameraTranslateLeft () |
| |
|
void | cameraTranslateForward () |
| |
|
void | cameraTranslateBackward () |
| |
|
void | cameraRotateDown () |
| |
|
void | cameraRotateUp () |
| |
|
void | cameraRotateLeft () |
| |
|
void | cameraRotateRight () |
| |
|
void | cameraRollLeft () |
| |
|
void | cameraRollRight () |
| |
|
void | cameraZoomIn () |
| |
|
void | cameraZoomOut () |
| |
| void | keyPressEvent (Platform::GlfwApplication::KeyEvent &event) |
| | Key press event handling.
|
| |
|
void | mousePressEvent (Platform::GlfwApplication::MouseEvent &event) |
| |
|
void | mouseReleaseEvent (Platform::GlfwApplication::MouseEvent &event) |
| |
| void | mouseMoveEvent (Platform::GlfwApplication::MouseMoveEvent &event) |
| | Mouse move event handling.
|
| |
|
void | mouseScrollEvent (Platform::GlfwApplication::MouseScrollEvent &event) |
| |
|
SubRenderer * | getSubRenderer (const SubRendererFlag &flag) |
| |
|
HRESULT | registerSubRenderer (SubRenderer *subrenderer) |
| |
| void | decorateScene (const bool &decorate) |
| | Set flag to draw/not draw scene decorators (e.g., grid)
|
| |
| bool | sceneDecorated () const |
| | Get scene decorator flag value.
|
| |
|
fVector3 | unproject (const iVector2 &windowPosition, float depth) const |
| |
|
void | setupCallbacks () |
| |
|
|
bool | renderUniverse = true |
| |
|
bool | _dirty = false |
| |
|
bool | _decorateScene = true |
| |
|
bool | _showDiscretizationGrid = false |
| |
|
shaders::ParticleSphereShader::ColorMode | _colorMode = shaders::ParticleSphereShader::ColorMode::ConsistentRandom |
| |
|
Color3 | _ambientColor {0.4f} |
| |
|
Color3 | _diffuseColor {1.f} |
| |
|
Color3 | _specularColor {0.2f} |
| |
|
Color3 | _gridColor = {1.f, 1.f, 1.f} |
| |
|
Color3 | _sceneBoxColor = {1.f, 1.f, 0.f} |
| |
|
Float | _shininess = 100.0f |
| |
|
fVector3 | _lightDir {1.0f, 1.0f, 2.0f} |
| |
|
Color3 | _lightColor = {0.9, 0.9, 0.9} |
| |
|
Color3 | _clearColor {0.35f} |
| |
|
Color3 | _discretizationGridColor {0.1, 0.1, 0.8} |
| |
|
fVector3 | _eye |
| |
|
fVector3 | _center |
| |
|
fVector3 | _up |
| |
|
std::vector< Magnum::Vector4 > | _clipPlanes |
| |
| Magnum::Matrix4 | modelViewMat = Matrix4{Math::IdentityInit} |
| |
|
Magnum::Matrix4 | projMat = Matrix4{Math::IdentityInit} |
| |
|
iVector2 | _prevMousePosition |
| |
|
fVector3 | _rotationPoint |
| |
|
fVector3 | _translationPoint |
| |
|
Float | _lastDepth |
| |
|
float | sideLength |
| |
|
float | _zoomRate |
| |
|
float | _spinRate |
| |
|
float | _moveRate |
| |
|
ArcBallCamera * | _arcball |
| |
|
GL::Mesh | gridMesh {NoCreate} |
| |
|
Magnum::Matrix4 | gridModelView |
| |
|
GL::Mesh | sceneBox {NoCreate} |
| |
|
shaders::Phong | sphereShader {NoCreate} |
| |
|
Shaders::Flat3D | wireframeShader {NoCreate} |
| |
|
GL::Buffer | sphereInstanceBuffer {NoCreate} |
| |
|
GL::Buffer | largeSphereInstanceBuffer {NoCreate} |
| |
|
GL::Mesh | sphereMesh {NoCreate} |
| |
|
GL::Mesh | largeSphereMesh {NoCreate} |
| |
|
GL::Mesh | discretizationGridMesh {NoCreate} |
| |
|
GL::Buffer | discretizationGridBuffer {NoCreate} |
| |
|
std::vector< SubRenderer * > | subRenderers |
| |
|
fVector3 | center |
| |
|
Window * | window |
| |