Tissue Forge C 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tfC_system.h File Reference
#include "tf_port_c.h"
Include dependency graph for tfC_system.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

HRESULT tfSystem_imageData (char **imgData, size_t *imgSize)
 Get the current image data.
 
HRESULT tfSystem_screenshot (const char *filePath)
 Save a screenshot of the current scene.
 
HRESULT tfSystem_screenshotS (const char *filePath, bool decorate, float *bgcolor)
 Save a screenshot of the current scene.
 
HRESULT tfSystem_contextHasCurrent (bool *current)
 Test whether the context is current.
 
HRESULT tfSystem_contextMakeCurrent ()
 Make the context current.
 
HRESULT tfSystem_contextRelease ()
 Release the current context.
 
bool tfSystem_cameraIsLagging ()
 Test whether the camera is lagging.
 
HRESULT tfSystem_cameraEnableLagging ()
 Enable camera lagging.
 
HRESULT tfSystem_cameraDisableLagging ()
 Disable camera lagging.
 
HRESULT tfSystem_cameraToggleLagging ()
 Toggle camera lagging.
 
float tfSystem_cameraGetLagging ()
 Get the camera lagging.
 
HRESULT tfSystem_cameraSetLagging (float lagging)
 Set the camera lagging. Value must be in [0, 1)
 
HRESULT tfSystem_cameraMoveTo (float *eye, float *center, float *up)
 Set the camera view parameters.
 
HRESULT tfSystem_cameraMoveToR (float *center, float *rotation, float zoom)
 Set the camera view parameters.
 
HRESULT tfSystem_cameraViewBottom ()
 Move the camera to view the domain from the bottm.
 
HRESULT tfSystem_cameraViewTop ()
 Move the camera to view the domain from the top.
 
HRESULT tfSystem_cameraViewLeft ()
 Move the camera to view the domain from the left.
 
HRESULT tfSystem_cameraViewRight ()
 Move the camera to view the domain from the right.
 
HRESULT tfSystem_cameraViewBack ()
 Move the camera to view the domain from the back.
 
HRESULT tfSystem_cameraViewFront ()
 Move the camera to view the domain from the front.
 
HRESULT tfSystem_cameraReset ()
 Reset the camera.
 
HRESULT tfSystem_cameraRotateMouse (int x, int y)
 Rotate the camera from the previous (screen) mouse position to the current (screen) position.
 
HRESULT tfSystem_cameraTranslateMouse (int x, int y)
 Translate the camera from the previous (screen) mouse position to the current (screen) mouse position.
 
HRESULT tfSystem_cameraTranslateDown ()
 Translate the camera down.
 
HRESULT tfSystem_cameraTranslateUp ()
 Translate the camera up.
 
HRESULT tfSystem_cameraTranslateRight ()
 Translate the camera right.
 
HRESULT tfSystem_cameraTranslateLeft ()
 Translate the camera left.
 
HRESULT tfSystem_cameraTranslateForward ()
 Translate the camera forward.
 
HRESULT tfSystem_cameraTranslateBackward ()
 Translate the camera backward.
 
HRESULT tfSystem_cameraRotateDown ()
 Rotate the camera down.
 
HRESULT tfSystem_cameraRotateUp ()
 Rotate the camera up.
 
HRESULT tfSystem_cameraRotateLeft ()
 Rotate the camera left.
 
HRESULT tfSystem_cameraRotateRight ()
 Rotate the camera right.
 
HRESULT tfSystem_cameraRollLeft ()
 Roll the camera left.
 
HRESULT tfSystem_cameraRollRight ()
 Rotate the camera right.
 
HRESULT tfSystem_cameraZoomIn ()
 Zoom the camera in.
 
HRESULT tfSystem_cameraZoomOut ()
 Zoom the camera out.
 
HRESULT tfSystem_cameraInitMouse (int x, int y)
 Initialize the camera at a mouse position.
 
HRESULT tfSystem_cameraTranslateBy (float x, float y)
 Translate the camera by the delta amount of (NDC) mouse position.
 
HRESULT tfSystem_cameraZoomBy (float delta)
 Zoom the camera by an increment in distance.
 
HRESULT tfSystem_cameraZoomTo (float distance)
 Zoom the camera to a distance.
 
HRESULT tfSystem_cameraRotateToAxis (float *axis, float distance)
 Rotate the camera to a point from the view center a distance along an axis.
 
HRESULT tfSystem_cameraRotateToEulerAngle (float *angles)
 Rotate the camera to a set of Euler angles.
 
HRESULT tfSystem_cameraRotateByEulerAngle (float *angles)
 Rotate the camera by a set of Euler angles.
 
HRESULT tfSystem_cameraCenter (float **center)
 Get the current camera view center position.
 
HRESULT tfSystem_cameraRotation (float **rotation)
 Get the current camera rotation.
 
HRESULT tfSystem_cameraZoom (float *zoom)
 Get the current camera zoom.
 
HRESULT tfSystem_getRendering3DBonds (bool *flag)
 
HRESULT tfSystem_setRendering3DBonds (bool flag)
 
HRESULT tfSystem_toggleRendering3DBonds ()
 
HRESULT tfSystem_getRendering3DAngles (bool *flag)
 
HRESULT tfSystem_setRendering3DAngles (bool flag)
 
HRESULT tfSystem_toggleRendering3DAngles ()
 
HRESULT tfSystem_getRendering3DDihedrals (bool *flag)
 
HRESULT tfSystem_setRendering3DDihedrals (bool flag)
 
HRESULT tfSystem_toggleRendering3DDihedrals ()
 
HRESULT tfSystem_setRendering3DAll (bool flag)
 
HRESULT tfSystem_toggleRendering3DAll ()
 
HRESULT tfSystem_getLineWidth (tfFloatP_t *lineWidth)
 
HRESULT tfSystem_setLineWidth (tfFloatP_t lineWidth)
 
HRESULT tfSystem_getLineWidthMin (tfFloatP_t *lineWidth)
 
HRESULT tfSystem_getLineWidthMax (tfFloatP_t *lineWidth)
 
HRESULT tfSystem_getAmbientColor (float **color)
 Get the ambient color.
 
HRESULT tfSystem_setAmbientColor (float *color)
 Set the ambient color.
 
HRESULT tfSystem_getDiffuseColor (float **color)
 Get the diffuse color.
 
HRESULT tfSystem_setDiffuseColor (float *color)
 Set the diffuse color.
 
HRESULT tfSystem_getSpecularColor (float **color)
 Get specular color.
 
HRESULT tfSystem_setSpecularColor (float *color)
 Set the specular color.
 
HRESULT tfSystem_getShininess (float *shininess)
 Get the shininess.
 
HRESULT tfSystem_setShininess (float shininess)
 Set the shininess.
 
HRESULT tfSystem_getGridColor (float **color)
 Get the grid color.
 
HRESULT tfSystem_setGridColor (float *color)
 Set the grid color.
 
HRESULT tfSystem_getSceneBoxColor (float **color)
 Get the scene box color.
 
HRESULT tfSystem_setSceneBoxColor (float *color)
 Set the scene box color.
 
HRESULT tfSystem_getLightDirection (float **lightDir)
 Get the light direction.
 
HRESULT tfSystem_setLightDirection (float *lightDir)
 Set the light direction.
 
HRESULT tfSystem_getLightColor (float **color)
 Get the light color.
 
HRESULT tfSystem_setLightColor (float *color)
 Set the light color.
 
HRESULT tfSystem_getBackgroundColor (float **color)
 Get the background color.
 
HRESULT tfSystem_setBackgroundColor (float *color)
 Set the background color.
 
HRESULT tfSystem_decorated (bool *decorated)
 Test whether the rendered scene is decorated.
 
HRESULT tfSystem_decorateScene (bool decorate)
 Set flag to draw/not draw scene decorators (e.g., grid)
 
HRESULT tfSystem_showingDiscretization (bool *showing)
 Test whether discretization is currently shown.
 
HRESULT tfSystem_showDiscretization (bool show)
 Set flag to draw/not draw discretization.
 
HRESULT tfSystem_getDiscretizationColor (float **color)
 Get the current color of the discretization grid.
 
HRESULT tfSystem_setDiscretizationColor (float *color)
 Set the color of the discretization grid.
 
HRESULT tfSystem_viewReshape (int sizex, int sizey)
 Update screen size after the window has been resized.
 
HRESULT tfSystem_getCPUInfo (char ***names, bool **flags, unsigned int *numNames)
 Get CPU info.
 
HRESULT tfSystem_getCompileFlags (char ***flags, unsigned int *numFlags)
 Get compiler flags of this installation.
 
HRESULT tfSystem_getGLInfo (char ***names, char ***values, unsigned int *numNames)
 Get OpenGL info.
 
HRESULT tfSystem_getEGLInfo (char **info, unsigned int *numChars)
 Get EGL info.
 

Function Documentation

◆ tfSystem_cameraCenter()

HRESULT tfSystem_cameraCenter ( float ** center)

Get the current camera view center position.

Parameters
centercamera center
Returns
S_OK on success

◆ tfSystem_cameraDisableLagging()

HRESULT tfSystem_cameraDisableLagging ( )

Disable camera lagging.

Returns
S_OK on success

◆ tfSystem_cameraEnableLagging()

HRESULT tfSystem_cameraEnableLagging ( )

Enable camera lagging.

Returns
S_OK on success

◆ tfSystem_cameraGetLagging()

float tfSystem_cameraGetLagging ( )

Get the camera lagging.

Returns
value of lagging

◆ tfSystem_cameraInitMouse()

HRESULT tfSystem_cameraInitMouse ( int x,
int y )

Initialize the camera at a mouse position.

Parameters
xhorizontal coordinate
yvertical coordinate
Returns
S_OK on success

◆ tfSystem_cameraIsLagging()

bool tfSystem_cameraIsLagging ( )

Test whether the camera is lagging.

Returns
value of test

◆ tfSystem_cameraMoveTo()

HRESULT tfSystem_cameraMoveTo ( float * eye,
float * center,
float * up )

Set the camera view parameters.

Parameters
eyecamera eye
centerview center
upview upward direction
Returns
S_OK on success

◆ tfSystem_cameraMoveToR()

HRESULT tfSystem_cameraMoveToR ( float * center,
float * rotation,
float zoom )

Set the camera view parameters.

Parameters
centertarget camera view center position
rotationtarget camera rotation
zoomtarget camera zoom
Returns
S_OK on success

◆ tfSystem_cameraReset()

HRESULT tfSystem_cameraReset ( )

Reset the camera.

Returns
S_OK on success

◆ tfSystem_cameraRollLeft()

HRESULT tfSystem_cameraRollLeft ( )

Roll the camera left.

Returns
S_OK on success

◆ tfSystem_cameraRollRight()

HRESULT tfSystem_cameraRollRight ( )

Rotate the camera right.

Returns
S_OK on success

◆ tfSystem_cameraRotateByEulerAngle()

HRESULT tfSystem_cameraRotateByEulerAngle ( float * angles)

Rotate the camera by a set of Euler angles.

Rotations are Z-Y-X.

Parameters
angles
Returns
S_OK on success

◆ tfSystem_cameraRotateDown()

HRESULT tfSystem_cameraRotateDown ( )

Rotate the camera down.

Returns
S_OK on success

◆ tfSystem_cameraRotateLeft()

HRESULT tfSystem_cameraRotateLeft ( )

Rotate the camera left.

Returns
S_OK on success

◆ tfSystem_cameraRotateMouse()

HRESULT tfSystem_cameraRotateMouse ( int x,
int y )

Rotate the camera from the previous (screen) mouse position to the current (screen) position.

Parameters
xhorizontal coordinate
yvertical coordinate
Returns
S_OK on success

◆ tfSystem_cameraRotateRight()

HRESULT tfSystem_cameraRotateRight ( )

Rotate the camera right.

Returns
S_OK on success

◆ tfSystem_cameraRotateToAxis()

HRESULT tfSystem_cameraRotateToAxis ( float * axis,
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
S_OK on success

◆ tfSystem_cameraRotateToEulerAngle()

HRESULT tfSystem_cameraRotateToEulerAngle ( float * angles)

Rotate the camera to a set of Euler angles.

Rotations are Z-Y-X.

Parameters
angles
Returns
S_OK on success

◆ tfSystem_cameraRotateUp()

HRESULT tfSystem_cameraRotateUp ( )

Rotate the camera up.

Returns
S_OK on success

◆ tfSystem_cameraRotation()

HRESULT tfSystem_cameraRotation ( float ** rotation)

Get the current camera rotation.

Parameters
rotationcamera rotation
Returns
S_OK on success

◆ tfSystem_cameraSetLagging()

HRESULT tfSystem_cameraSetLagging ( float lagging)

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

Returns
S_OK on success

◆ tfSystem_cameraToggleLagging()

HRESULT tfSystem_cameraToggleLagging ( )

Toggle camera lagging.

Returns
S_OK on success

◆ tfSystem_cameraTranslateBackward()

HRESULT tfSystem_cameraTranslateBackward ( )

Translate the camera backward.

Returns
S_OK on success

◆ tfSystem_cameraTranslateBy()

HRESULT tfSystem_cameraTranslateBy ( float x,
float y )

Translate the camera by the delta amount of (NDC) mouse position.

Note that NDC position must be in [-1, -1] to [1, 1].

Parameters
xhorizontal delta
yvertical delta
Returns
S_OK on success

◆ tfSystem_cameraTranslateDown()

HRESULT tfSystem_cameraTranslateDown ( )

Translate the camera down.

Returns
S_OK on success

◆ tfSystem_cameraTranslateForward()

HRESULT tfSystem_cameraTranslateForward ( )

Translate the camera forward.

Returns
S_OK on success

◆ tfSystem_cameraTranslateLeft()

HRESULT tfSystem_cameraTranslateLeft ( )

Translate the camera left.

Returns
S_OK on success

◆ tfSystem_cameraTranslateMouse()

HRESULT tfSystem_cameraTranslateMouse ( int x,
int y )

Translate the camera from the previous (screen) mouse position to the current (screen) mouse position.

Parameters
xhorizontal coordinate
yvertical coordintae
Returns
S_OK on success

◆ tfSystem_cameraTranslateRight()

HRESULT tfSystem_cameraTranslateRight ( )

Translate the camera right.

Returns
S_OK on success

◆ tfSystem_cameraTranslateUp()

HRESULT tfSystem_cameraTranslateUp ( )

Translate the camera up.

Returns
S_OK on success

◆ tfSystem_cameraViewBack()

HRESULT tfSystem_cameraViewBack ( )

Move the camera to view the domain from the back.

Returns
S_OK on success

◆ tfSystem_cameraViewBottom()

HRESULT tfSystem_cameraViewBottom ( )

Move the camera to view the domain from the bottm.

Returns
S_OK on success

◆ tfSystem_cameraViewFront()

HRESULT tfSystem_cameraViewFront ( )

Move the camera to view the domain from the front.

Returns
S_OK on success

◆ tfSystem_cameraViewLeft()

HRESULT tfSystem_cameraViewLeft ( )

Move the camera to view the domain from the left.

Returns
S_OK on success

◆ tfSystem_cameraViewRight()

HRESULT tfSystem_cameraViewRight ( )

Move the camera to view the domain from the right.

Returns
S_OK on success

◆ tfSystem_cameraViewTop()

HRESULT tfSystem_cameraViewTop ( )

Move the camera to view the domain from the top.

Returns
S_OK on success

◆ tfSystem_cameraZoom()

HRESULT tfSystem_cameraZoom ( float * zoom)

Get the current camera zoom.

Parameters
zoomcamera zoom
Returns
S_OK on success

◆ tfSystem_cameraZoomBy()

HRESULT tfSystem_cameraZoomBy ( float delta)

Zoom the camera by an increment in distance.

Positive values zoom in.

Parameters
deltazoom increment
Returns
S_OK on success

◆ tfSystem_cameraZoomIn()

HRESULT tfSystem_cameraZoomIn ( )

Zoom the camera in.

Returns
S_OK on success

◆ tfSystem_cameraZoomOut()

HRESULT tfSystem_cameraZoomOut ( )

Zoom the camera out.

Returns
S_OK on success

◆ tfSystem_cameraZoomTo()

HRESULT tfSystem_cameraZoomTo ( float distance)

Zoom the camera to a distance.

Parameters
distancezoom distance
Returns
S_OK on success

◆ tfSystem_contextHasCurrent()

HRESULT tfSystem_contextHasCurrent ( bool * current)

Test whether the context is current.

Returns
S_OK on success

◆ tfSystem_contextMakeCurrent()

HRESULT tfSystem_contextMakeCurrent ( )

Make the context current.

Returns
S_OK on success

◆ tfSystem_contextRelease()

HRESULT tfSystem_contextRelease ( )

Release the current context.

Returns
S_OK on success

◆ tfSystem_decorated()

HRESULT tfSystem_decorated ( bool * decorated)

Test whether the rendered scene is decorated.

Parameters
decorated
Returns
S_OK on success

◆ tfSystem_decorateScene()

HRESULT tfSystem_decorateScene ( bool decorate)

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

Parameters
decorateflag; true says to decorate
Returns
S_OK on success

◆ tfSystem_getAmbientColor()

HRESULT tfSystem_getAmbientColor ( float ** color)

Get the ambient color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_getBackgroundColor()

HRESULT tfSystem_getBackgroundColor ( float ** color)

Get the background color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_getCompileFlags()

HRESULT tfSystem_getCompileFlags ( char *** flags,
unsigned int * numFlags )

Get compiler flags of this installation.

Parameters
flagscompiler flags
numFlagsnumber of flags
Returns
S_OK on success

◆ tfSystem_getCPUInfo()

HRESULT tfSystem_getCPUInfo ( char *** names,
bool ** flags,
unsigned int * numNames )

Get CPU info.

Parameters
namesentry name
flagsentry flag
numNamesnumber of entries
Returns
S_OK on success

◆ tfSystem_getDiffuseColor()

HRESULT tfSystem_getDiffuseColor ( float ** color)

Get the diffuse color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_getDiscretizationColor()

HRESULT tfSystem_getDiscretizationColor ( float ** color)

Get the current color of the discretization grid.

Parameters
color
Returns
S_OK on success

◆ tfSystem_getEGLInfo()

HRESULT tfSystem_getEGLInfo ( char ** info,
unsigned int * numChars )

Get EGL info.

Parameters
info
numChars
Returns
S_OK on success

◆ tfSystem_getGLInfo()

HRESULT tfSystem_getGLInfo ( char *** names,
char *** values,
unsigned int * numNames )

Get OpenGL info.

Parameters
names
values
numNames
Returns
S_OK on success

◆ tfSystem_getGridColor()

HRESULT tfSystem_getGridColor ( float ** color)

Get the grid color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_getLightColor()

HRESULT tfSystem_getLightColor ( float ** color)

Get the light color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_getLightDirection()

HRESULT tfSystem_getLightDirection ( float ** lightDir)

Get the light direction.

Parameters
lightDir
Returns
S_OK on success

◆ tfSystem_getLineWidth()

HRESULT tfSystem_getLineWidth ( tfFloatP_t * lineWidth)

Get the line width

◆ tfSystem_getLineWidthMax()

HRESULT tfSystem_getLineWidthMax ( tfFloatP_t * lineWidth)

Get the maximum line width

◆ tfSystem_getLineWidthMin()

HRESULT tfSystem_getLineWidthMin ( tfFloatP_t * lineWidth)

Get the minimum line width

◆ tfSystem_getRendering3DAngles()

HRESULT tfSystem_getRendering3DAngles ( bool * flag)

Get whether angles are renderered with 3D objects

◆ tfSystem_getRendering3DBonds()

HRESULT tfSystem_getRendering3DBonds ( bool * flag)

Get whether bonds are renderered with 3D objects

◆ tfSystem_getRendering3DDihedrals()

HRESULT tfSystem_getRendering3DDihedrals ( bool * flag)

Get whether dihedrals are renderered with 3D objects

◆ tfSystem_getSceneBoxColor()

HRESULT tfSystem_getSceneBoxColor ( float ** color)

Get the scene box color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_getShininess()

HRESULT tfSystem_getShininess ( float * shininess)

Get the shininess.

Parameters
shininess
Returns
S_OK on success

◆ tfSystem_getSpecularColor()

HRESULT tfSystem_getSpecularColor ( float ** color)

Get specular color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_imageData()

HRESULT tfSystem_imageData ( char ** imgData,
size_t * imgSize )

Get the current image data.

Parameters
imgDataimage data
imgSizeimage size
Returns
S_OK on success

◆ tfSystem_screenshot()

HRESULT tfSystem_screenshot ( const char * filePath)

Save a screenshot of the current scene.

Parameters
filePathpath of file to save
Returns
S_OK on success

◆ tfSystem_screenshotS()

HRESULT tfSystem_screenshotS ( const char * filePath,
bool decorate,
float * bgcolor )

Save a screenshot of the current scene.

Parameters
filePathpath of file to save
decorateflag to decorate the scene in the screenshot
bgcolorbackground color of the scene in the screenshot
Returns
S_OK on success

◆ tfSystem_setAmbientColor()

HRESULT tfSystem_setAmbientColor ( float * color)

Set the ambient color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_setBackgroundColor()

HRESULT tfSystem_setBackgroundColor ( float * color)

Set the background color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_setDiffuseColor()

HRESULT tfSystem_setDiffuseColor ( float * color)

Set the diffuse color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_setDiscretizationColor()

HRESULT tfSystem_setDiscretizationColor ( float * color)

Set the color of the discretization grid.

Parameters
color
Returns
S_OK on success

◆ tfSystem_setGridColor()

HRESULT tfSystem_setGridColor ( float * color)

Set the grid color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_setLightColor()

HRESULT tfSystem_setLightColor ( float * color)

Set the light color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_setLightDirection()

HRESULT tfSystem_setLightDirection ( float * lightDir)

Set the light direction.

Parameters
lightDir
Returns
S_OK on success

◆ tfSystem_setLineWidth()

HRESULT tfSystem_setLineWidth ( tfFloatP_t lineWidth)

Set the line width

◆ tfSystem_setRendering3DAll()

HRESULT tfSystem_setRendering3DAll ( bool flag)

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

◆ tfSystem_setRendering3DAngles()

HRESULT tfSystem_setRendering3DAngles ( bool flag)

Set whether angles are renderered with 3D objects

◆ tfSystem_setRendering3DBonds()

HRESULT tfSystem_setRendering3DBonds ( bool flag)

Set whether bonds are renderered with 3D objects

◆ tfSystem_setRendering3DDihedrals()

HRESULT tfSystem_setRendering3DDihedrals ( bool flag)

Set whether dihedrals are renderered with 3D objects

◆ tfSystem_setSceneBoxColor()

HRESULT tfSystem_setSceneBoxColor ( float * color)

Set the scene box color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_setShininess()

HRESULT tfSystem_setShininess ( float shininess)

Set the shininess.

Parameters
shininess
Returns
S_OK on success

◆ tfSystem_setSpecularColor()

HRESULT tfSystem_setSpecularColor ( float * color)

Set the specular color.

Parameters
color
Returns
S_OK on success

◆ tfSystem_showDiscretization()

HRESULT tfSystem_showDiscretization ( bool show)

Set flag to draw/not draw discretization.

Parameters
showflag; true says to show
Returns
S_OK on success

◆ tfSystem_showingDiscretization()

HRESULT tfSystem_showingDiscretization ( bool * showing)

Test whether discretization is currently shown.

Parameters
showing
Returns
S_OK on success

◆ tfSystem_toggleRendering3DAll()

HRESULT tfSystem_toggleRendering3DAll ( )

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

◆ tfSystem_toggleRendering3DAngles()

HRESULT tfSystem_toggleRendering3DAngles ( )

Toggle whether angles are renderered with 3D objects

◆ tfSystem_toggleRendering3DBonds()

HRESULT tfSystem_toggleRendering3DBonds ( )

Toggle whether bonds are renderered with 3D objects

◆ tfSystem_toggleRendering3DDihedrals()

HRESULT tfSystem_toggleRendering3DDihedrals ( )

Toggle whether dihedrals are renderered with 3D objects

◆ tfSystem_viewReshape()

HRESULT tfSystem_viewReshape ( int sizex,
int sizey )

Update screen size after the window has been resized.

Parameters
sizexhorizontal size
sizeyvertical size
Returns
S_OK on success