|
Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|
Tissue Forge rendering and visualization. More...
Classes | |
| struct | Angle3DInstanceData |
| struct | AngleRenderer |
| struct | AngleRenderer3D |
| struct | Application |
| struct | ApplicationConfig |
| class | ArcBall |
| class | ArcBallCamera |
| class | ArcBallInteractor |
| struct | ArrowData |
| Vector visualization specification. More... | |
| struct | ArrowInstanceData |
| struct | ArrowRenderer |
| Vector renderer. More... | |
| struct | Bond3DInstanceData |
| struct | BondRenderer |
| struct | BondRenderer3D |
| struct | BondsInstanceData |
| struct | ClipPlane |
| struct | ClipPlanes |
| struct | ColorMapper |
| The color mapping type. More... | |
| struct | DihedralRenderer |
| struct | DihedralRenderer3D |
| class | EGLInfo |
| class | GlfwApplication |
| struct | GlfwWindow |
| class | GLInfo |
| struct | OrientationRenderer |
| Orientaton renderer. More... | |
| struct | Plane3DInstanceData |
| struct | Renderer |
| struct | SphereInstanceData |
| struct | Style |
| The Tissue Forge style type. More... | |
| struct | SubRenderer |
| struct | UniverseRenderer |
| struct | Window |
| struct | WindowlessApplication |
Typedefs | |
| typedef float(* | ParticleColorMapperFunc) (TissueForge::Particle *o, struct ColorMapper *mapper) |
| typedef float(* | AngleColorMapperFunc) (TissueForge::Angle *o, struct ColorMapper *mapper) |
| typedef float(* | BondColorMapperFunc) (TissueForge::Bond *o, struct ColorMapper *mapper) |
| typedef float(* | DihedralColorMapperFunc) (TissueForge::Dihedral *o, struct ColorMapper *mapper) |
| typedef fVector4(* | ColorMapperFunc) (struct ColorMapper *mapper, const float &s) |
| typedef enum TissueForge::rendering::SubRendererFlag | SubRendererFlag |
Functions | |
| void | render_arc3d (rendering::Angle3DInstanceData *arcData, const unsigned int &idx, const fVector3 &posi, const fVector3 &posj, const fVector3 &posk, const fVector4 &color, const unsigned int &numSegments, const unsigned int &faceDetail, const float &radius) |
| Corrade::Containers::Array< char > | JpegImageData () |
| Corrade::Containers::Array< char > | BMPImageData () |
| Corrade::Containers::Array< char > | HDRImageData () |
| Corrade::Containers::Array< char > | PNGImageData () |
| Corrade::Containers::Array< char > | TGAImageData () |
| std::tuple< char *, size_t > | framebufferImageData () |
| HRESULT | screenshot (const std::string &filePath) |
| Save a screenshot of the current scene. | |
| fMatrix3 | vectorFrameRotation (const fVector3 &vec) |
| Generates a 3x3 rotation matrix into the frame of a vector. | |
| void | render_bond3d (rendering::Bond3DInstanceData *bondData, const int &idx, const fVector3 &pipos, const fVector3 &pjpos, const fVector4 &color, const float &radius) |
| ClipPlanes * | getClipPlanes () |
| ColorMapperFunc | getColorMapperFunc (const std::string &name) |
| std::vector< std::string > | getColorMapperFuncNames () |
| void | render_plane3d (rendering::Plane3DInstanceData *planeData, const unsigned int &idx, const fVector3 &posi, const fVector3 &posj, const fVector3 &posk, const fVector4 &color) |
| std::unordered_map< std::string, std::string > | glInfo () |
| std::string | eglInfo () |
| std::string | gl_info () |
| Corrade::Containers::Array< char > | convertImageDataToJpeg (const Magnum::ImageView2D &image, int jpegQuality=100) |
| Corrade::Containers::Array< char > | convertImageDataToBMP (const Magnum::ImageView2D &image) |
| Corrade::Containers::Array< char > | convertImageDataToHDR (const Magnum::ImageView2D &image) |
| Corrade::Containers::Array< char > | convertImageDataToPNG (const Magnum::ImageView2D &image) |
| Corrade::Containers::Array< char > | convertImageDataToTGA (const Magnum::ImageView2D &image) |
| uint32_t | availableRenderers () |
| HRESULT | pollEvents () |
| HRESULT | waitEvents (double timeout) |
| HRESULT | postEmptyEvent () |
| HRESULT | initializeGraphics () |
Tissue Forge rendering and visualization.
Derived from Magnum, with the following notice:
Original authors — credit is appreciated but not required:
2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 —
Vladimír Vondruš <mosra@centrum.cz>
2020 — Nghia Truong <nghiatruong.vn@gmail.com>
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Corrade::Containers::Array< char > TissueForge::rendering::convertImageDataToJpeg | ( | const Magnum::ImageView2D & | image, |
| int | jpegQuality = 100 ) |
jpegQuality shall construct JPEG quantization tables for the given quality setting. The quality value ranges from 0..100.
| ClipPlanes * TissueForge::rendering::getClipPlanes | ( | ) |
get a reference to the cut planes collection.
| HRESULT TissueForge::rendering::screenshot | ( | const std::string & | filePath | ) |
Save a screenshot of the current scene.
| filePath | path of file to save |
Generates a 3x3 rotation matrix into the frame of a vector.
The orientation of the second and third axes of the resulting transformation are arbitrary.
| vec | Vector along which the first axis of the transformed frame is aligned. |