|
Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|
#include "tf_py.h"#include <rendering/tfUniverseRenderer.h>#include <rendering/tfArrowRenderer.h>#include <list>#include <unordered_map>
Go to the source code of this file.
Namespaces | |
| namespace | TissueForge |
| Include Python header, disable linking to pythonX_d.lib on Windows in debug mode. | |
| namespace | TissueForge::py |
| Tissue Forge Python language support. | |
Functions | |
| void | TissueForge::py::print_performance_counters () |
| HRESULT | TissueForge::py::screenshot (const std::string &filePath) |
| Save a screenshot of the current scene. | |
| HRESULT | TissueForge::py::screenshot (const std::string &filePath, const bool &decorate, const FVector3 &bgcolor) |
| Save a screenshot of the current scene. | |
| bool | TissueForge::py::camera_is_lagging () |
| HRESULT | TissueForge::py::camera_enable_lagging () |
| HRESULT | TissueForge::py::camera_disable_lagging () |
| HRESULT | TissueForge::py::camera_toggle_lagging () |
| float | TissueForge::py::camera_get_lagging () |
| HRESULT | TissueForge::py::camera_set_lagging (const float &lagging) |
| bool | TissueForge::py::context_has_current () |
| HRESULT | TissueForge::py::context_make_current () |
| HRESULT | TissueForge::py::context_release () |
| HRESULT | TissueForge::py::camera_move_to (const FVector3 &eye, const FVector3 ¢er, const FVector3 &up) |
| Set the camera view parameters. | |
| HRESULT | TissueForge::py::camera_move_to (const FVector3 ¢er, const FQuaternion &rotation, const float &zoom) |
| Set the camera view parameters. | |
| HRESULT | TissueForge::py::camera_view_bottom () |
| Move the camera to view the domain from the bottm. | |
| HRESULT | TissueForge::py::camera_view_top () |
| Move the camera to view the domain from the top. | |
| HRESULT | TissueForge::py::camera_view_left () |
| Move the camera to view the domain from the left. | |
| HRESULT | TissueForge::py::camera_view_right () |
| Move the camera to view the domain from the right. | |
| HRESULT | TissueForge::py::camera_view_back () |
| Move the camera to view the domain from the back. | |
| HRESULT | TissueForge::py::camera_view_front () |
| Move the camera to view the domain from the front. | |
| HRESULT | TissueForge::py::camera_reset () |
| Reset the camera. | |
| HRESULT | TissueForge::py::camera_rotate_mouse (const iVector2 &mousePos) |
| HRESULT | TissueForge::py::camera_translate_mouse (const iVector2 &mousePos) |
| HRESULT | TissueForge::py::camera_translate_down () |
| Translate the camera down. | |
| HRESULT | TissueForge::py::camera_translate_up () |
| Translate the camera up. | |
| HRESULT | TissueForge::py::camera_translate_right () |
| Translate the camera right. | |
| HRESULT | TissueForge::py::camera_translate_left () |
| Translate the camera left. | |
| HRESULT | TissueForge::py::camera_translate_forward () |
| Translate the camera forward. | |
| HRESULT | TissueForge::py::camera_translate_backward () |
| Translate the camera backward. | |
| HRESULT | TissueForge::py::camera_rotate_down () |
| Rotate the camera down. | |
| HRESULT | TissueForge::py::camera_rotate_up () |
| Rotate the camera up. | |
| HRESULT | TissueForge::py::camera_rotate_left () |
| Rotate the camera left. | |
| HRESULT | TissueForge::py::camera_rotate_right () |
| Rotate the camera right. | |
| HRESULT | TissueForge::py::camera_roll_left () |
| Roll the camera left. | |
| HRESULT | TissueForge::py::camera_roll_right () |
| Rotate the camera right. | |
| HRESULT | TissueForge::py::camera_zoom_in () |
| Zoom the camera in. | |
| HRESULT | TissueForge::py::camera_zoom_out () |
| Zoom the camera out. | |
| HRESULT | TissueForge::py::camera_init_mouse (const iVector2 &mousePos) |
| HRESULT | TissueForge::py::camera_translate_by (const FVector2 &trans) |
| HRESULT | TissueForge::py::camera_zoom_by (const float &delta) |
| Zoom the camera by an increment in distance. | |
| HRESULT | TissueForge::py::camera_zoom_to (const float &distance) |
| Zoom the camera to a distance. | |
| HRESULT | TissueForge::py::camera_rotate_to_axis (const FVector3 &axis, const float &distance) |
| Rotate the camera to a point from the view center a distance along an axis. | |
| HRESULT | TissueForge::py::camera_rotate_to_euler_angle (const FVector3 &angles) |
| Rotate the camera to a set of Euler angles. | |
| HRESULT | TissueForge::py::camera_rotate_by_euler_angle (const FVector3 &angles) |
| Rotate the camera by a set of Euler angles. | |
| FVector3 | TissueForge::py::camera_center () |
| Get the current camera view center position. | |
| FQuaternion | TissueForge::py::camera_rotation () |
| Get the current camera rotation. | |
| float | TissueForge::py::camera_zoom () |
| Get the current camera zoom. | |
| struct rendering::UniverseRenderer * | TissueForge::py::get_renderer () |
| Get the universe renderer. | |
| const bool | TissueForge::py::get_rendering_3d_bonds () |
| void | TissueForge::py::set_rendering_3d_bonds (const bool &_flag) |
| void | TissueForge::py::toggle_rendering_3d_bonds () |
| const bool | TissueForge::py::get_rendering_3d_angles () |
| void | TissueForge::py::set_rendering_3d_angles (const bool &_flag) |
| void | TissueForge::py::toggle_rendering_3d_angles () |
| const bool | TissueForge::py::get_rendering_3d_dihedrals () |
| void | TissueForge::py::set_rendering_3d_dihedrals (const bool &_flag) |
| void | TissueForge::py::toggle_rendering_3d_dihedrals () |
| void | TissueForge::py::set_rendering_3d_all (const bool &_flag) |
| void | TissueForge::py::toggle_rendering_3d_all () |
| FloatP_t | TissueForge::py::get_line_width () |
| HRESULT | TissueForge::py::set_line_width (const FloatP_t &lineWidth) |
| FloatP_t | TissueForge::py::get_line_width_min () |
| FloatP_t | TissueForge::py::get_line_width_max () |
| FVector3 | TissueForge::py::get_ambient_color () |
| Get the ambient color. | |
| HRESULT | TissueForge::py::set_ambient_color (const FVector3 &color) |
| Set the ambient color. | |
| HRESULT | TissueForge::py::set_ambient_color (const FVector3 &color, const unsigned int &srFlag) |
| Set the ambient color of a subrenderer. | |
| FVector3 | TissueForge::py::get_diffuse_color () |
| Get the diffuse color. | |
| HRESULT | TissueForge::py::set_diffuse_color (const FVector3 &color) |
| Set the diffuse color. | |
| HRESULT | TissueForge::py::set_diffuse_color (const FVector3 &color, const unsigned int &srFlag) |
| Set the diffuse color of a subrenderer. | |
| FVector3 | TissueForge::py::get_specular_color () |
| Get specular color. | |
| HRESULT | TissueForge::py::set_specular_color (const FVector3 &color) |
| Set the specular color. | |
| HRESULT | TissueForge::py::set_specular_color (const FVector3 &color, const unsigned int &srFlag) |
| Set the specular color of a subrenderer. | |
| float | TissueForge::py::get_shininess () |
| Get the shininess. | |
| HRESULT | TissueForge::py::set_shininess (const float &shininess) |
| Set the shininess. | |
| HRESULT | TissueForge::py::set_shininess (const float &shininess, const unsigned int &srFlag) |
| Set the shininess of a subrenderer. | |
| FVector3 | TissueForge::py::get_grid_color () |
| Get the grid color. | |
| HRESULT | TissueForge::py::set_grid_color (const FVector3 &color) |
| Set the grid color. | |
| FVector3 | TissueForge::py::get_scene_box_color () |
| Get the scene box color. | |
| HRESULT | TissueForge::py::set_scene_box_color (const FVector3 &color) |
| Set the scene box color. | |
| FVector3 | TissueForge::py::get_light_direction () |
| Get the light direction. | |
| HRESULT | TissueForge::py::set_light_direction (const FVector3 &lightDir) |
| Set the light direction. | |
| HRESULT | TissueForge::py::set_light_direction (const FVector3 &lightDir, const unsigned int &srFlag) |
| Set the light direction of a subrenderer. | |
| FVector3 | TissueForge::py::get_light_color () |
| Get the light color. | |
| HRESULT | TissueForge::py::set_light_color (const FVector3 &color) |
| Set the light color. | |
| HRESULT | TissueForge::py::set_light_color (const FVector3 &color, const unsigned int &srFlag) |
| Set the light color of a subrenderer. | |
| FVector3 | TissueForge::py::get_background_color () |
| Get the background color. | |
| HRESULT | TissueForge::py::set_background_color (const FVector3 &color) |
| Set the background color. | |
| bool | TissueForge::py::decorated () |
| Test whether the rendered scene is decorated. | |
| HRESULT | TissueForge::py::decorate_scene (const bool &decorate) |
| Set flag to draw/not draw scene decorators (e.g., grid) | |
| bool | TissueForge::py::showing_discretization () |
| Test whether discretization is current shown. | |
| HRESULT | TissueForge::py::show_discretization (const bool &show) |
| Set flag to draw/not draw discretization. | |
| FVector3 | TissueForge::py::get_discretizationColor () |
| Get the current color of the discretization grid. | |
| HRESULT | TissueForge::py::set_discretizationColor (const FVector3 &color) |
| Set the color of the discretization grid. | |
| HRESULT | TissueForge::py::view_reshape (const iVector2 &windowSize) |
| std::string | TissueForge::py::performance_counters () |
| std::unordered_map< std::string bool > | TissueForge::py::cpu_info () |
| Get CPU info. | |
| std::unordered_map< std::string bool > | TissueForge::py::compile_flags () |
| Get compiler flags of this installation. | |
| std::unordered_map< std::string std::string > | TissueForge::py::gl_info () |
| Get OpenGL info. | |
| std::string | TissueForge::py::egl_info () |
| Get EGL info. | |
| PyObject * | TissueForge::py::image_data () |
| bool | TissueForge::py::is_terminal_interactive () |
| Test whether Tissue Forge is running in an interactive terminal. | |
| bool | TissueForge::py::is_jupyter_notebook () |
| Test whether Tissue Forge is running in a Jupyter notebook. | |
| PyObject * | TissueForge::py::jwidget_init (PyObject *args, PyObject *kwargs) |
| PyObject * | TissueForge::py::jwidget_run (PyObject *args, PyObject *kwargs) |
| std::vector< std::string > | TissueForge::py::color_mapper_names () |
| Get all available color mapper names. | |
| int | TissueForge::py::add_render_arrow (rendering::ArrowData *arrow) |
| Adds a vector visualization specification. | |
| std::pair< int rendering::ArrowData * > | TissueForge::py::add_render_arrow (const FVector3 &position, const FVector3 &components, const rendering::Style &style, const float &scale=1.0) |
| Adds a vector visualization specification. | |
| HRESULT | TissueForge::py::remove_render_arrow (const int &arrowId) |
| Removes a vector visualization specification. | |
| rendering::ArrowData * | TissueForge::py::get_render_arrow (const int &arrowId) |
| Gets a vector visualization specification. | |