|
Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|


Public Member Functions | |
| HRESULT | start (const std::vector< fVector4 > &clipPlanes) override |
| Starts the renderer. | |
| HRESULT | draw (TissueForge::rendering::ArcBallCamera *camera, const iVector2 &viewportSize, const fMatrix4 &modelViewMat) override |
| Updates visualization. | |
| const unsigned | addClipPlaneEquation (const Magnum::Vector4 &pe) override |
| Adds a clip plane equation. | |
| const unsigned | removeClipPlaneEquation (const unsigned int &id) override |
| Removes a clip plane equation. | |
| void | setClipPlaneEquation (unsigned id, const Magnum::Vector4 &pe) override |
| Sets a clip plane equation. | |
Public Member Functions inherited from TissueForge::rendering::SubRenderer | |
| virtual void | setAmbientColor (const Magnum::Color3 &color) |
| Sets the ambient color. | |
| virtual void | setDiffuseColor (const Magnum::Color3 &color) |
| Set the diffuse color. | |
| virtual void | setSpecularColor (const Magnum::Color3 &color) |
| Set the specular color. | |
| virtual void | setShininess (float shininess) |
| Sets the shininess. | |
| virtual void | setLightDirection (const fVector3 &lightDir) |
| Sets the light direction. | |
| virtual void | setLightColor (const Magnum::Color3 &color) |
| Sets the light color. | |
|
overridevirtual |
Adds a clip plane equation.
| pe | clip plane equation |
Reimplemented from TissueForge::rendering::SubRenderer.
|
overridevirtual |
Updates visualization.
| camera | scene camera |
| viewportSize | scene viewport size |
| modelViewMat | scene model view matrix |
Implements TissueForge::rendering::SubRenderer.
|
overridevirtual |
Removes a clip plane equation.
| id | id of clip plane equation |
Reimplemented from TissueForge::rendering::SubRenderer.
|
overridevirtual |
Sets a clip plane equation.
| id | id of clip plane equation |
| pe | clip plane equation |
Reimplemented from TissueForge::rendering::SubRenderer.
|
overridevirtual |
Starts the renderer.
Called by parent renderer once backend is initialized.
| clipPlanes | clip plane specification |
Implements TissueForge::rendering::SubRenderer.