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