Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tf_system.h File Reference
#include "TissueForge_private.h"
#include "tf_util.h"
#include "tfLogger.h"
#include "rendering/tfGlInfo.h"
#include "rendering/tfEglInfo.h"
#include "rendering/tfUniverseRenderer.h"
#include "rendering/tfArrowRenderer.h"
Include dependency graph for tf_system.h:

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.
 

Functions

void TissueForge::system::printPerformanceCounters ()
 
HRESULT TissueForge::system::LoggerCallbackImpl (LogEvent, std::ostream *)
 
std::tuple< char *size_t > TissueForge::system::imageData ()
 
HRESULT TissueForge::system::screenshot (const std::string &filePath)
 Save a screenshot of the current scene.
 
HRESULT TissueForge::system::screenshot (const std::string &filePath, const bool &decorate, const FVector3 &bgcolor)
 Save a screenshot of the current scene.
 
bool TissueForge::system::contextHasCurrent ()
 
HRESULT TissueForge::system::contextMakeCurrent ()
 
HRESULT TissueForge::system::contextRelease ()
 
bool TissueForge::system::cameraIsLagging ()
 
HRESULT TissueForge::system::cameraEnableLagging ()
 
HRESULT TissueForge::system::cameraDisableLagging ()
 
HRESULT TissueForge::system::cameraToggleLagging ()
 
float TissueForge::system::cameraGetLagging ()
 
HRESULT TissueForge::system::cameraSetLagging (const float &lagging)
 
HRESULT TissueForge::system::cameraMoveTo (const FVector3 &eye, const FVector3 &center, const FVector3 &up)
 Set the camera view parameters.
 
HRESULT TissueForge::system::cameraMoveTo (const FVector3 &center, const FQuaternion &rotation, const float &zoom)
 Set the camera view parameters.
 
HRESULT TissueForge::system::cameraViewBottom ()
 Move the camera to view the domain from the bottm.
 
HRESULT TissueForge::system::cameraViewTop ()
 Move the camera to view the domain from the top.
 
HRESULT TissueForge::system::cameraViewLeft ()
 Move the camera to view the domain from the left.
 
HRESULT TissueForge::system::cameraViewRight ()
 Move the camera to view the domain from the right.
 
HRESULT TissueForge::system::cameraViewBack ()
 Move the camera to view the domain from the back.
 
HRESULT TissueForge::system::cameraViewFront ()
 Move the camera to view the domain from the front.
 
HRESULT TissueForge::system::cameraReset ()
 Reset the camera.
 
HRESULT TissueForge::system::cameraRotateMouse (const iVector2 &mousePos)
 
HRESULT TissueForge::system::cameraTranslateMouse (const iVector2 &mousePos)
 
HRESULT TissueForge::system::cameraTranslateDown ()
 Translate the camera down.
 
HRESULT TissueForge::system::cameraTranslateUp ()
 Translate the camera up.
 
HRESULT TissueForge::system::cameraTranslateRight ()
 Translate the camera right.
 
HRESULT TissueForge::system::cameraTranslateLeft ()
 Translate the camera left.
 
HRESULT TissueForge::system::cameraTranslateForward ()
 Translate the camera forward.
 
HRESULT TissueForge::system::cameraTranslateBackward ()
 Translate the camera backward.
 
HRESULT TissueForge::system::cameraRotateDown ()
 Rotate the camera down.
 
HRESULT TissueForge::system::cameraRotateUp ()
 Rotate the camera up.
 
HRESULT TissueForge::system::cameraRotateLeft ()
 Rotate the camera left.
 
HRESULT TissueForge::system::cameraRotateRight ()
 Rotate the camera right.
 
HRESULT TissueForge::system::cameraRollLeft ()
 Roll the camera left.
 
HRESULT TissueForge::system::cameraRollRight ()
 Rotate the camera right.
 
HRESULT TissueForge::system::cameraZoomIn ()
 Zoom the camera in.
 
HRESULT TissueForge::system::cameraZoomOut ()
 Zoom the camera out.
 
HRESULT TissueForge::system::cameraInitMouse (const iVector2 &mousePos)
 
HRESULT TissueForge::system::cameraTranslateBy (const FVector2 &trans)
 
HRESULT TissueForge::system::cameraZoomBy (const float &delta)
 Zoom the camera by an increment in distance.
 
HRESULT TissueForge::system::cameraZoomTo (const float &distance)
 Zoom the camera to a distance.
 
HRESULT TissueForge::system::cameraRotateToAxis (const FVector3 &axis, const float &distance)
 Rotate the camera to a point from the view center a distance along an axis.
 
HRESULT TissueForge::system::cameraRotateToEulerAngle (const FVector3 &angles)
 Rotate the camera to a set of Euler angles.
 
HRESULT TissueForge::system::cameraRotateByEulerAngle (const FVector3 &angles)
 Rotate the camera by a set of Euler angles.
 
FVector3 TissueForge::system::cameraCenter ()
 Get the current camera view center position.
 
FQuaternion TissueForge::system::cameraRotation ()
 Get the current camera rotation.
 
float TissueForge::system::cameraZoom ()
 Get the current camera zoom.
 
struct rendering::UniverseRendererTissueForge::system::getRenderer ()
 Get the universe renderer.
 
const bool TissueForge::system::getRendering3DBonds ()
 
void TissueForge::system::setRendering3DBonds (const bool &_flag)
 
void TissueForge::system::toggleRendering3DBonds ()
 
const bool TissueForge::system::getRendering3DAngles ()
 
void TissueForge::system::setRendering3DAngles (const bool &_flag)
 
void TissueForge::system::toggleRendering3DAngles ()
 
const bool TissueForge::system::getRendering3DDihedrals ()
 
void TissueForge::system::setRendering3DDihedrals (const bool &_flag)
 
void TissueForge::system::toggleRendering3DDihedrals ()
 
void TissueForge::system::setRendering3DAll (const bool &_flag)
 
void TissueForge::system::toggleRendering3DAll ()
 
const FloatP_t TissueForge::system::getLineWidth ()
 
HRESULT TissueForge::system::setLineWidth (const FloatP_t &lineWidth)
 
const FloatP_t TissueForge::system::getLineWidthMin ()
 
const FloatP_t TissueForge::system::getLineWidthMax ()
 
FVector3 TissueForge::system::getAmbientColor ()
 Get the ambient color.
 
HRESULT TissueForge::system::setAmbientColor (const FVector3 &color)
 Set the ambient color.
 
HRESULT TissueForge::system::setAmbientColor (const FVector3 &color, const unsigned int &srFlag)
 Set the ambient color of a subrenderer.
 
FVector3 TissueForge::system::getDiffuseColor ()
 Get the diffuse color.
 
HRESULT TissueForge::system::setDiffuseColor (const FVector3 &color)
 Set the diffuse color.
 
HRESULT TissueForge::system::setDiffuseColor (const FVector3 &color, const unsigned int &srFlag)
 Set the diffuse color of a subrenderer.
 
FVector3 TissueForge::system::getSpecularColor ()
 Get specular color.
 
HRESULT TissueForge::system::setSpecularColor (const FVector3 &color)
 Set the specular color.
 
HRESULT TissueForge::system::setSpecularColor (const FVector3 &color, const unsigned int &srFlag)
 Set the specular color of a subrenderer.
 
float TissueForge::system::getShininess ()
 Get the shininess.
 
HRESULT TissueForge::system::setShininess (const float &shininess)
 Set the shininess.
 
HRESULT TissueForge::system::setShininess (const float &shininess, const unsigned int &srFlag)
 Set the shininess of a subrenderer.
 
FVector3 TissueForge::system::getGridColor ()
 Get the grid color.
 
HRESULT TissueForge::system::setGridColor (const FVector3 &color)
 Set the grid color.
 
FVector3 TissueForge::system::getSceneBoxColor ()
 Get the scene box color.
 
HRESULT TissueForge::system::setSceneBoxColor (const FVector3 &color)
 Set the scene box color.
 
FVector3 TissueForge::system::getLightDirection ()
 Get the light direction.
 
HRESULT TissueForge::system::setLightDirection (const FVector3 &lightDir)
 Set the light direction.
 
HRESULT TissueForge::system::setLightDirection (const FVector3 &lightDir, const unsigned int &srFlag)
 Set the light direction of a subrenderer.
 
FVector3 TissueForge::system::getLightColor ()
 Get the light color.
 
HRESULT TissueForge::system::setLightColor (const FVector3 &color)
 Set the light color.
 
HRESULT TissueForge::system::setLightColor (const FVector3 &color, const unsigned int &srFlag)
 Set the light color of a subrenderer.
 
FVector3 TissueForge::system::getBackgroundColor ()
 Get the background color.
 
HRESULT TissueForge::system::setBackgroundColor (const FVector3 &color)
 Set the background color.
 
bool TissueForge::system::decorated ()
 Test whether the rendered scene is decorated.
 
HRESULT TissueForge::system::decorateScene (const bool &decorate)
 Set flag to draw/not draw scene decorators (e.g., grid)
 
bool TissueForge::system::showingDiscretization ()
 Test whether discretization is current shown.
 
HRESULT TissueForge::system::showDiscretization (const bool &show)
 Set flag to draw/not draw discretization.
 
FVector3 TissueForge::system::getDiscretizationColor ()
 Get the current color of the discretization grid.
 
HRESULT TissueForge::system::setDiscretizationColor (const FVector3 &color)
 Set the color of the discretization grid.
 
HRESULT TissueForge::system::viewReshape (const iVector2 &windowSize)
 
std::string TissueForge::system::performanceCounters ()
 
std::unordered_map< std::string bool > TissueForge::system::cpu_info ()
 Get CPU info.
 
std::list< std::string > TissueForge::system::compile_flags ()
 Get compiler flags of this installation.
 
std::unordered_map< std::string std::string > TissueForge::system::gl_info ()
 Get OpenGL info.
 
std::string TissueForge::system::egl_info ()
 Get EGL info.
 
std::vector< std::string > TissueForge::system::colorMapperNames ()
 Get all available color mapper names.
 
int TissueForge::system::addRenderArrow (rendering::ArrowData *arrow)
 Adds a vector visualization specification.
 
std::pair< int rendering::ArrowData * > TissueForge::system::addRenderArrow (const FVector3 &position, const FVector3 &components, const rendering::Style &style, const float &scale=1.0)
 Adds a vector visualization specification.
 
HRESULT TissueForge::system::removeRenderArrow (const int &arrowId)
 Removes a vector visualization specification.
 
rendering::ArrowDataTissueForge::system::getRenderArrow (const int &arrowId)
 Gets a vector visualization specification.
 

Function Documentation

◆ addRenderArrow() [1/2]

std::pair< int rendering::ArrowData * > TissueForge::system::addRenderArrow ( const FVector3 & position,
const FVector3 & components,
const rendering::Style & style,
const float & scale = 1.0 )

Adds a vector visualization specification.

The passed pointer is borrowed. The client is responsible for maintaining the underlying data. The returned integer can be used to reference the arrow when doing subsequent operations with the renderer (e.g., removing an arrow from the scene).

Parameters
positionposition of vector
componentscomponents of vector
stylestyle of vector
scalescale of vector; defaults to 1.0
Returns
id of arrow according to the renderer and arrow

◆ addRenderArrow() [2/2]

int TissueForge::system::addRenderArrow ( rendering::ArrowData * arrow)

Adds a vector visualization specification.

The passed pointer is borrowed. The client is responsible for maintaining the underlying data. The returned integer can be used to reference the arrow when doing subsequent operations with the renderer (e.g., removing an arrow from the scene).

Parameters
arrowpointer to visualization specs
Returns
id of arrow according to the renderer

◆ cameraCenter()

FVector3 TissueForge::system::cameraCenter ( )

Get the current camera view center position.

Returns
FVector3

◆ cameraDisableLagging()

HRESULT TissueForge::system::cameraDisableLagging ( )

Disable camera lagging

◆ cameraEnableLagging()

HRESULT TissueForge::system::cameraEnableLagging ( )

Enable camera lagging

◆ cameraGetLagging()

float TissueForge::system::cameraGetLagging ( )

Get the camera lagging

◆ cameraIsLagging()

bool TissueForge::system::cameraIsLagging ( )

Test whether the camera is lagging

◆ cameraMoveTo() [1/2]

HRESULT TissueForge::system::cameraMoveTo ( const FVector3 & center,
const FQuaternion & rotation,
const float & zoom )

Set the camera view parameters.

Parameters
centertarget camera view center position
rotationtarget camera rotation
zoomtarget camera zoom
Returns
HRESULT

◆ cameraMoveTo() [2/2]

HRESULT TissueForge::system::cameraMoveTo ( const FVector3 & eye,
const FVector3 & center,
const FVector3 & up )

Set the camera view parameters.

Parameters
eyecamera eye
centerview center
upview upward direction
Returns
HRESULT

◆ cameraReset()

HRESULT TissueForge::system::cameraReset ( )

Reset the camera.

Returns
HRESULT

◆ cameraRollLeft()

HRESULT TissueForge::system::cameraRollLeft ( )

Roll the camera left.

Returns
HRESULT

◆ cameraRollRight()

HRESULT TissueForge::system::cameraRollRight ( )

Rotate the camera right.

Returns
HRESULT

◆ cameraRotateByEulerAngle()

HRESULT TissueForge::system::cameraRotateByEulerAngle ( const FVector3 & angles)

Rotate the camera by a set of Euler angles.

Rotations are Z-Y-X.

Parameters
angles
Returns
HRESULT

◆ cameraRotateDown()

HRESULT TissueForge::system::cameraRotateDown ( )

Rotate the camera down.

Returns
HRESULT

◆ cameraRotateLeft()

HRESULT TissueForge::system::cameraRotateLeft ( )

Rotate the camera left.

Returns
HRESULT

◆ cameraRotateRight()

HRESULT TissueForge::system::cameraRotateRight ( )

Rotate the camera right.

Returns
HRESULT

◆ cameraRotateToAxis()

HRESULT TissueForge::system::cameraRotateToAxis ( const FVector3 & axis,
const float & distance )

Rotate the camera to a point from the view center a distance along an axis.

Only rotates the view to the given eye position.

Parameters
axisaxis from the view center
distancedistance along the axis
Returns
HRESULT

◆ cameraRotateToEulerAngle()

HRESULT TissueForge::system::cameraRotateToEulerAngle ( const FVector3 & angles)

Rotate the camera to a set of Euler angles.

Rotations are Z-Y-X.

Parameters
angles
Returns
HRESULT

◆ cameraRotateUp()

HRESULT TissueForge::system::cameraRotateUp ( )

Rotate the camera up.

Returns
HRESULT

◆ cameraRotation()

FQuaternion TissueForge::system::cameraRotation ( )

Get the current camera rotation.

Returns
FQuaternion

◆ cameraSetLagging()

HRESULT TissueForge::system::cameraSetLagging ( const float & lagging)

Set the camera lagging. Value must be in [0, 1)

◆ cameraToggleLagging()

HRESULT TissueForge::system::cameraToggleLagging ( )

Toggle camera lagging

◆ cameraTranslateBackward()

HRESULT TissueForge::system::cameraTranslateBackward ( )

Translate the camera backward.

Returns
HRESULT

◆ cameraTranslateDown()

HRESULT TissueForge::system::cameraTranslateDown ( )

Translate the camera down.

Returns
HRESULT

◆ cameraTranslateForward()

HRESULT TissueForge::system::cameraTranslateForward ( )

Translate the camera forward.

Returns
HRESULT

◆ cameraTranslateLeft()

HRESULT TissueForge::system::cameraTranslateLeft ( )

Translate the camera left.

Returns
HRESULT

◆ cameraTranslateRight()

HRESULT TissueForge::system::cameraTranslateRight ( )

Translate the camera right.

Returns
HRESULT

◆ cameraTranslateUp()

HRESULT TissueForge::system::cameraTranslateUp ( )

Translate the camera up.

Returns
HRESULT

◆ cameraViewBack()

HRESULT TissueForge::system::cameraViewBack ( )

Move the camera to view the domain from the back.

Returns
HRESULT

◆ cameraViewBottom()

HRESULT TissueForge::system::cameraViewBottom ( )

Move the camera to view the domain from the bottm.

Returns
HRESULT

◆ cameraViewFront()

HRESULT TissueForge::system::cameraViewFront ( )

Move the camera to view the domain from the front.

Returns
HRESULT

◆ cameraViewLeft()

HRESULT TissueForge::system::cameraViewLeft ( )

Move the camera to view the domain from the left.

Returns
HRESULT

◆ cameraViewRight()

HRESULT TissueForge::system::cameraViewRight ( )

Move the camera to view the domain from the right.

Returns
HRESULT

◆ cameraViewTop()

HRESULT TissueForge::system::cameraViewTop ( )

Move the camera to view the domain from the top.

Returns
HRESULT

◆ cameraZoom()

float TissueForge::system::cameraZoom ( )

Get the current camera zoom.

Returns
float

◆ cameraZoomBy()

HRESULT TissueForge::system::cameraZoomBy ( const float & delta)

Zoom the camera by an increment in distance.

Positive values zoom in.

Parameters
deltazoom increment
Returns
HRESULT

◆ cameraZoomIn()

HRESULT TissueForge::system::cameraZoomIn ( )

Zoom the camera in.

Returns
HRESULT

◆ cameraZoomOut()

HRESULT TissueForge::system::cameraZoomOut ( )

Zoom the camera out.

Returns
HRESULT

◆ cameraZoomTo()

HRESULT TissueForge::system::cameraZoomTo ( const float & distance)

Zoom the camera to a distance.

Parameters
distancezoom distance
Returns
HRESULT

◆ compile_flags()

std::list< std::string > TissueForge::system::compile_flags ( )

Get compiler flags of this installation.

Returns
std::list<std::string>

◆ cpu_info()

std::unordered_map< std::string bool > TissueForge::system::cpu_info ( )

Get CPU info.

Returns
std::unordered_map<std::string, bool>

◆ decorated()

bool TissueForge::system::decorated ( )

Test whether the rendered scene is decorated.

Returns
true
false

◆ decorateScene()

HRESULT TissueForge::system::decorateScene ( const bool & decorate)

Set flag to draw/not draw scene decorators (e.g., grid)

Parameters
decorateflag; true says to decorate
Returns
HRESULT

◆ egl_info()

std::string TissueForge::system::egl_info ( )

Get EGL info.

Returns
std::string

◆ getAmbientColor()

FVector3 TissueForge::system::getAmbientColor ( )

Get the ambient color.

Returns
FVector3

◆ getBackgroundColor()

FVector3 TissueForge::system::getBackgroundColor ( )

Get the background color.

Returns
FVector3

◆ getDiffuseColor()

FVector3 TissueForge::system::getDiffuseColor ( )

Get the diffuse color.

Returns
FVector3

◆ getDiscretizationColor()

FVector3 TissueForge::system::getDiscretizationColor ( )

Get the current color of the discretization grid.

Returns
FVector3

◆ getGridColor()

FVector3 TissueForge::system::getGridColor ( )

Get the grid color.

Returns
FVector3

◆ getLightColor()

FVector3 TissueForge::system::getLightColor ( )

Get the light color.

Returns
FVector3

◆ getLightDirection()

FVector3 TissueForge::system::getLightDirection ( )

Get the light direction.

Returns
FVector3

◆ getLineWidth()

const FloatP_t TissueForge::system::getLineWidth ( )

Get the line width

◆ getLineWidthMax()

const FloatP_t TissueForge::system::getLineWidthMax ( )

Get the maximum line width

◆ getLineWidthMin()

const FloatP_t TissueForge::system::getLineWidthMin ( )

Get the minimum line width

◆ getRenderArrow()

rendering::ArrowData * TissueForge::system::getRenderArrow ( const int & arrowId)

Gets a vector visualization specification.

Parameters
arrowIdid of arrow according to the renderer

◆ getRenderer()

struct rendering::UniverseRenderer * TissueForge::system::getRenderer ( )

Get the universe renderer.

Returns
struct rendering::UniverseRenderer*

◆ getRendering3DAngles()

const bool TissueForge::system::getRendering3DAngles ( )

Get whether angles are renderered with 3D objects

◆ getRendering3DBonds()

const bool TissueForge::system::getRendering3DBonds ( )

Get whether bonds are renderered with 3D objects

◆ getRendering3DDihedrals()

const bool TissueForge::system::getRendering3DDihedrals ( )

Get whether dihedrals are renderered with 3D objects

◆ getSceneBoxColor()

FVector3 TissueForge::system::getSceneBoxColor ( )

Get the scene box color.

Returns
FVector3

◆ getShininess()

float TissueForge::system::getShininess ( )

Get the shininess.

Returns
float

◆ getSpecularColor()

FVector3 TissueForge::system::getSpecularColor ( )

Get specular color.

Returns
FVector3

◆ gl_info()

std::unordered_map< std::string std::string > TissueForge::system::gl_info ( )

Get OpenGL info.

Returns
std::unordered_map<std::string, std::string>

◆ removeRenderArrow()

HRESULT TissueForge::system::removeRenderArrow ( const int & arrowId)

Removes a vector visualization specification.

The removed pointer is only forgotten. The client is responsible for clearing the underlying data.

Parameters
arrowIdid of arrow according to the renderer

◆ screenshot() [1/2]

HRESULT TissueForge::system::screenshot ( const std::string & filePath)

Save a screenshot of the current scene.

File formats currently supported are

  • Windows Bitmap (.bmp)
  • Radiance HDR (.hdr)
  • JPEG (.jpe, .jpg, .jpeg)
  • PNG (.png)
  • Truevision TGA (.tga)
Parameters
filePathpath of file to save
Returns
HRESULT

◆ screenshot() [2/2]

HRESULT TissueForge::system::screenshot ( const std::string & filePath,
const bool & decorate,
const FVector3 & bgcolor )

Save a screenshot of the current scene.

File formats currently supported are

  • Windows Bitmap (.bmp)
  • Radiance HDR (.hdr)
  • JPEG (.jpe, .jpg, .jpeg)
  • PNG (.png)
  • Truevision TGA (.tga)
Parameters
filePathpath of file to save
decorateflag to decorate the scene in the screenshot
bgcolorbackground color of the scene in the screenshot
Returns
HRESULT

◆ setAmbientColor() [1/2]

HRESULT TissueForge::system::setAmbientColor ( const FVector3 & color)

Set the ambient color.

Parameters
color
Returns
HRESULT

◆ setAmbientColor() [2/2]

HRESULT TissueForge::system::setAmbientColor ( const FVector3 & color,
const unsigned int & srFlag )

Set the ambient color of a subrenderer.

Parameters
color
srFlag
Returns
HRESULT

◆ setBackgroundColor()

HRESULT TissueForge::system::setBackgroundColor ( const FVector3 & color)

Set the background color.

Parameters
color
Returns
HRESULT

◆ setDiffuseColor() [1/2]

HRESULT TissueForge::system::setDiffuseColor ( const FVector3 & color)

Set the diffuse color.

Parameters
color
Returns
HRESULT

◆ setDiffuseColor() [2/2]

HRESULT TissueForge::system::setDiffuseColor ( const FVector3 & color,
const unsigned int & srFlag )

Set the diffuse color of a subrenderer.

Parameters
color
srFlag
Returns
HRESULT

◆ setDiscretizationColor()

HRESULT TissueForge::system::setDiscretizationColor ( const FVector3 & color)

Set the color of the discretization grid.

Parameters
color
Returns
HRESULT

◆ setGridColor()

HRESULT TissueForge::system::setGridColor ( const FVector3 & color)

Set the grid color.

Parameters
color
Returns
HRESULT

◆ setLightColor() [1/2]

HRESULT TissueForge::system::setLightColor ( const FVector3 & color)

Set the light color.

Parameters
color
Returns
HRESULT

◆ setLightColor() [2/2]

HRESULT TissueForge::system::setLightColor ( const FVector3 & color,
const unsigned int & srFlag )

Set the light color of a subrenderer.

Parameters
color
srFlag
Returns
HRESULT

◆ setLightDirection() [1/2]

HRESULT TissueForge::system::setLightDirection ( const FVector3 & lightDir)

Set the light direction.

Parameters
lightDir
Returns
HRESULT

◆ setLightDirection() [2/2]

HRESULT TissueForge::system::setLightDirection ( const FVector3 & lightDir,
const unsigned int & srFlag )

Set the light direction of a subrenderer.

Parameters
lightDir
srFlag
Returns
HRESULT

◆ setLineWidth()

HRESULT TissueForge::system::setLineWidth ( const FloatP_t & lineWidth)

Set the line width

◆ setRendering3DAll()

void TissueForge::system::setRendering3DAll ( const bool & _flag)

Set whether bonds, angle and dihedrals are renderered with 3D objects

◆ setRendering3DAngles()

void TissueForge::system::setRendering3DAngles ( const bool & _flag)

Set whether angles are renderered with 3D objects

◆ setRendering3DBonds()

void TissueForge::system::setRendering3DBonds ( const bool & _flag)

Set whether bonds are renderered with 3D objects

◆ setRendering3DDihedrals()

void TissueForge::system::setRendering3DDihedrals ( const bool & _flag)

Set whether dihedrals are renderered with 3D objects

◆ setSceneBoxColor()

HRESULT TissueForge::system::setSceneBoxColor ( const FVector3 & color)

Set the scene box color.

Parameters
color
Returns
HRESULT

◆ setShininess() [1/2]

HRESULT TissueForge::system::setShininess ( const float & shininess)

Set the shininess.

Parameters
shininess
Returns
HRESULT

◆ setShininess() [2/2]

HRESULT TissueForge::system::setShininess ( const float & shininess,
const unsigned int & srFlag )

Set the shininess of a subrenderer.

Parameters
shininess
srFlag
Returns
HRESULT

◆ setSpecularColor() [1/2]

HRESULT TissueForge::system::setSpecularColor ( const FVector3 & color)

Set the specular color.

Parameters
color
Returns
HRESULT

◆ setSpecularColor() [2/2]

HRESULT TissueForge::system::setSpecularColor ( const FVector3 & color,
const unsigned int & srFlag )

Set the specular color of a subrenderer.

Parameters
color
srFlag
Returns
HRESULT

◆ showDiscretization()

HRESULT TissueForge::system::showDiscretization ( const bool & show)

Set flag to draw/not draw discretization.

Parameters
showflag; true says to show
Returns
HRESULT

◆ showingDiscretization()

bool TissueForge::system::showingDiscretization ( )

Test whether discretization is current shown.

Returns
true
false

◆ toggleRendering3DAll()

void TissueForge::system::toggleRendering3DAll ( )

Toggle whether bonds, angle and dihedrals are renderered with 3D objects

◆ toggleRendering3DAngles()

void TissueForge::system::toggleRendering3DAngles ( )

Toggle whether angles are renderered with 3D objects

◆ toggleRendering3DBonds()

void TissueForge::system::toggleRendering3DBonds ( )

Toggle whether bonds are renderered with 3D objects

◆ toggleRendering3DDihedrals()

void TissueForge::system::toggleRendering3DDihedrals ( )

Toggle whether dihedrals are renderered with 3D objects