25#ifndef _SOURCE_LANGS_PY_TF_SYSTEMPY_H_
26#define _SOURCE_LANGS_PY_TF_SYSTEMPY_H_
31#include <rendering/tfArrowRenderer.h>
34#include <unordered_map>
40 CPPAPI_FUNC(
void) print_performance_counters();
94 CPPAPI_FUNC(
bool) context_has_current();
95 CPPAPI_FUNC(
HRESULT) context_make_current();
96 CPPAPI_FUNC(
HRESULT) context_release();
642 CPPAPI_FUNC(std::string) performance_counters();
649 CPPAPI_FUNC(std::unordered_map<std::string, bool>)
cpu_info();
663 CPPAPI_FUNC(std::unordered_map<std::string, std::string>)
gl_info();
672 CPPAPI_FUNC(PyObject*) image_data();
690 CPPAPI_FUNC(PyObject*) jwidget_init(PyObject *args, PyObject *kwargs);
691 CPPAPI_FUNC(PyObject*) jwidget_run(PyObject *args, PyObject *kwargs);
731 const float &scale=1.0
Definition tfQuaternion.h:35
Tissue Forge Python language support.
Definition tf_bindPy.h:36
FVector3 get_light_color()
Get the light color.
void set_rendering_3d_dihedrals(const bool &_flag)
HRESULT camera_rotate_right()
Rotate the camera right.
FVector3 get_specular_color()
Get specular color.
HRESULT camera_move_to(const FVector3 &eye, const FVector3 ¢er, const FVector3 &up)
Set the camera view parameters.
HRESULT camera_view_top()
Move the camera to view the domain from the top.
void toggle_rendering_3d_all()
HRESULT camera_view_back()
Move the camera to view the domain from the back.
HRESULT camera_roll_left()
Roll the camera left.
rendering::ArrowData * get_render_arrow(const int &arrowId)
Gets a vector visualization specification.
float camera_zoom()
Get the current camera zoom.
HRESULT set_ambient_color(const FVector3 &color)
Set the ambient color.
HRESULT camera_zoom_to(const float &distance)
Zoom the camera to a distance.
HRESULT set_line_width(const FloatP_t &lineWidth)
HRESULT set_discretizationColor(const FVector3 &color)
Set the color of the discretization grid.
FVector3 get_light_direction()
Get the light direction.
FVector3 get_background_color()
Get the background color.
HRESULT camera_rotate_up()
Rotate the camera up.
FVector3 get_scene_box_color()
Get the scene box color.
void set_rendering_3d_angles(const bool &_flag)
HRESULT camera_reset()
Reset the camera.
std::unordered_map< std::string std::string > gl_info()
Get OpenGL info.
HRESULT camera_view_right()
Move the camera to view the domain from the right.
HRESULT camera_translate_down()
Translate the camera down.
HRESULT camera_translate_right()
Translate the camera right.
HRESULT set_diffuse_color(const FVector3 &color)
Set the diffuse color.
HRESULT camera_translate_left()
Translate the camera left.
FVector3 get_ambient_color()
Get the ambient color.
FloatP_t get_line_width_min()
std::vector< std::string > color_mapper_names()
Get all available color mapper names.
HRESULT camera_rotate_by_euler_angle(const FVector3 &angles)
Rotate the camera by a set of Euler angles.
FloatP_t get_line_width_max()
HRESULT camera_set_lagging(const float &lagging)
HRESULT remove_render_arrow(const int &arrowId)
Removes a vector visualization specification.
bool decorated()
Test whether the rendered scene is decorated.
HRESULT set_specular_color(const FVector3 &color)
Set the specular color.
HRESULT camera_zoom_by(const float &delta)
Zoom the camera by an increment in distance.
HRESULT camera_zoom_out()
Zoom the camera out.
void toggle_rendering_3d_bonds()
HRESULT screenshot(const std::string &filePath)
Save a screenshot of the current scene.
HRESULT camera_zoom_in()
Zoom the camera in.
float get_shininess()
Get the shininess.
HRESULT camera_view_front()
Move the camera to view the domain from the front.
FVector3 camera_center()
Get the current camera view center position.
HRESULT set_scene_box_color(const FVector3 &color)
Set the scene box color.
HRESULT camera_roll_right()
Rotate the camera right.
void set_rendering_3d_bonds(const bool &_flag)
HRESULT camera_disable_lagging()
HRESULT 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 camera_rotate_left()
Rotate the camera left.
bool showing_discretization()
Test whether discretization is current shown.
HRESULT decorate_scene(const bool &decorate)
Set flag to draw/not draw scene decorators (e.g., grid)
const bool get_rendering_3d_angles()
HRESULT camera_view_bottom()
Move the camera to view the domain from the bottm.
FVector3 get_grid_color()
Get the grid color.
FloatP_t get_line_width()
HRESULT set_light_color(const FVector3 &color)
Set the light color.
FVector3 get_diffuse_color()
Get the diffuse color.
HRESULT camera_view_left()
Move the camera to view the domain from the left.
struct rendering::UniverseRenderer * get_renderer()
Get the universe renderer.
bool is_terminal_interactive()
Test whether Tissue Forge is running in an interactive terminal.
const bool get_rendering_3d_dihedrals()
HRESULT set_grid_color(const FVector3 &color)
Set the grid color.
HRESULT camera_rotate_to_euler_angle(const FVector3 &angles)
Rotate the camera to a set of Euler angles.
float camera_get_lagging()
FVector3 get_discretizationColor()
Get the current color of the discretization grid.
HRESULT set_light_direction(const FVector3 &lightDir)
Set the light direction.
std::unordered_map< std::string bool > cpu_info()
Get CPU info.
HRESULT camera_translate_up()
Translate the camera up.
HRESULT camera_translate_backward()
Translate the camera backward.
HRESULT camera_toggle_lagging()
std::unordered_map< std::string bool > compile_flags()
Get compiler flags of this installation.
HRESULT camera_rotate_down()
Rotate the camera down.
HRESULT camera_translate_forward()
Translate the camera forward.
int add_render_arrow(rendering::ArrowData *arrow)
Adds a vector visualization specification.
void toggle_rendering_3d_angles()
HRESULT show_discretization(const bool &show)
Set flag to draw/not draw discretization.
std::string egl_info()
Get EGL info.
FQuaternion camera_rotation()
Get the current camera rotation.
void toggle_rendering_3d_dihedrals()
HRESULT set_shininess(const float &shininess)
Set the shininess.
void set_rendering_3d_all(const bool &_flag)
HRESULT set_background_color(const FVector3 &color)
Set the background color.
const bool get_rendering_3d_bonds()
bool is_jupyter_notebook()
Test whether Tissue Forge is running in a Jupyter notebook.
HRESULT camera_enable_lagging()
HRESULT show()
Shows any windows that were specified in the config. Does not start the universe time propagation unl...
Vector visualization specification.
Definition tfArrowRenderer.h:46
The Tissue Forge style type.
Definition tfStyle.h:46
Definition tfUniverseRenderer.h:115
int32_t HRESULT
Definition tf_port.h:255