|
| | Simulator () |
| | Constructor. More...
|
| |
|
| const Animation & | cameraAnimation () const |
| | Get camera animation. More...
|
| |
| void | setCameraAnimation (const Animation &animation) |
| | Set camera animation. More...
|
| |
| const Transformation & | cameraTransformation () const |
| | Get camera transformation (relative to the camera animation) More...
|
| |
| void | setCameraTransformation (const Transformation &transformation) |
| | Set camera transformation (relative to the camera animation) More...
|
| |
| const Scene & | scene () const |
| | Get scene. More...
|
| |
| void | setScene (const Scene &scene) |
| | Set scene. More...
|
| |
|
| const ChipTiming & | chipTiming () const |
| | Get chip timing parameters. More...
|
| |
| void | setChipTiming (const ChipTiming &chipTiming) |
| | Set chip timing parameters. More...
|
| |
| const PMD & | pmd () const |
| | Get PMD chip parameters. More...
|
| |
| void | setPMD (const PMD &pmd) |
| | Set PMD chip parameters. More...
|
| |
| const Projection & | projection () const |
| | Get projection parameters. More...
|
| |
| void | setProjection (const Projection &projection) |
| | Set projection parameters. More...
|
| |
|
| const Pipeline & | pipeline () const |
| | Get pipeline parameters. More...
|
| |
| void | setPipeline (const Pipeline &pipeline) |
| | Set pipeline parameters. More...
|
| |
| const Output & | output () const |
| | Get output parameters. More...
|
| |
| void | setOutput (const Output &output) |
| | Set output parameters. More...
|
| |
| void | setCustomTransformation (const Transformation &transformation) |
| | Set custom transformation, for output of custom space position and normals (see Output::customSpacePositions, Output::customSpaceNormals). By default, the custom transformation does nothing, and the custom space is equivalent to world space. More...
|
| |
|
| int | subFrames () const |
| | Get the number of subframes simulated for the current configuration. This is usually 4 if PMD simulation is active (see output), and 1 otherwise. More...
|
| |
| long long | startTimestamp () |
| | Get the start time in microseconds (earliest starting point of all involved animations) More...
|
| |
| long long | endTimestamp () |
| | Get the end time in microseconds (latest end point of all involved animations) More...
|
| |
| long long | subFrameDuration () |
| | Get subframe duration in microseconds (depends on chip timings) More...
|
| |
| long long | frameDuration () |
| | Get frame duration in microseconds (depends on chip timings and number of subframes) More...
|
| |
| float | framesPerSecond () |
| | Get frames per second rate (depends on chip timings and number of subframes) More...
|
| |
| long long | nextFrameTimestamp () |
| | Get the next time stamp in microseconds for simulation via simulate(). If you did not call simulate() yet with the current configuration, this will be the same as startTimestamp. Otherwise, it will be the last time stamp passed to simulate() plus the frameDuration(). You should stop to call simulate() once the returned time stamp is later than endTimestamp(). More...
|
| |
| void | simulate (long long frameTimestamp) |
| | Simulate a camera frame at the time given by frameTimestamp. More...
|
| |
|
Many of these function return texture handles. See the TexData class on how to access the data within the texture conveniently, and the Exporter class on how to write the data to various file formats.
|
| long long | getTimestamp (int i=-1) const |
| | Get the time stamp associated with the given subframe i or the final result (if i is -1; however, this is always the same as for subframe 0). More...
|
| |
| unsigned int | getShadowMapCubeTex (int lightIndex, int i=-1) const |
| | Get the texture containing the shadow map cube for the light source with index lightIndex in the scene for the given subframe i or the final result (if i is -1). Shadow maps for the final result are always the same as those for the first subframe. More...
|
| |
| TexData | getShadowMap (int lightIndex, int cubeSide, int i=-1) const |
| | Convenience wrapper for getShadowMapTex(). You need to specify the cube side (0 = pos-x, 1 = neg-x, 2 = pos-y, 3 = neg-y, 4 = pos-z, 5 = neg-z). More...
|
| |
| unsigned int | getReflectiveShadowMapCubeArrayTex (int lightIndex, int i=-1) const |
| | Get the cube array texture containing the reflective shadow map information for the light source with index lightIndex in the scene, for the given subframe i or the final result (if i is -1). Shadow maps for the final result are always the same as those for the first subframe. The cube array texture contains the following layers: More...
|
| |
| TexData | getReflectiveShadowMapPositions (int lightIndex, int cubeSide, int i=-1) const |
| | Convenience wrapper for getReflectiveShadowMapTex() that gets the position data. You need to specify the cube side (0 = pos-x, 1 = neg-x, 2 = pos-y, 3 = neg-y, 4 = pos-z, 5 = neg-z). More...
|
| |
| TexData | getReflectiveShadowMapNormals (int lightIndex, int cubeSide, int i=-1) const |
| | Convenience wrapper for getReflectiveShadowMapTex() that gets the normal data. More...
|
| |
| TexData | getReflectiveShadowMapRadiances (int lightIndex, int cubeSide, int i=-1) const |
| | Convenience wrapper for getReflectiveShadowMapTex() that gets the radiance data. More...
|
| |
| TexData | getReflectiveShadowMapBRDFDiffuseParameters (int lightIndex, int cubeSide, int i=-1) const |
| | Convenience wrapper for getReflectiveShadowMapTex() that gets the BRDF diffuse parameter data. More...
|
| |
| TexData | getReflectiveShadowMapBRDFSpecularParameters (int lightIndex, int cubeSide, int i=-1) const |
| | Convenience wrapper for getReflectiveShadowMapTex() that gets the BRDF specular parameter data. More...
|
| |
| unsigned int | getDepthTex (int i=-1) const |
| | Get the output texture containing OpenGL depth buffer data for the given subframe i or the final result (if i is -1) Depths of the final result are always the same as those for the first subframe. Note that depth buffer data is only available if (1) any output other than rgb or pmd is active or (2) neither spatial nor temporal oversampling is active. More...
|
| |
| TexData | getDepth (int i=-1) const |
| | Convenience wrapper for getDepthTex() More...
|
| |
| unsigned int | getRGBTex (int i=-1) const |
| | Get the output texture containing linear RGB colors for the given subframe i or the final result (if i is -1) More...
|
| |
| TexData | getRGB (int i=-1) const |
| | Convenience wrapper for getRGBTex() More...
|
| |
| unsigned int | getSRGBTex (int i=-1) const |
| | Get the output texture containing sRGB colors for the given subframe i or the final result (if i is -1) More...
|
| |
| TexData | getSRGB (int i=-1) const |
| | Convenience wrapper for getSRGBTex() More...
|
| |
| unsigned int | getPMDTex (int i=-1) const |
| | Get the output texture containing PMD simulation for the given subframe i or the final result (if i is -1). The subframe texture will contain a phase image in digital numbers with the three channels (A-B, A+B, A, B); the final result will contain simulated range, amplitude, and intensity. More...
|
| |
| TexData | getPMD (int i=-1) const |
| | Convenience wrapper for getPMDTex() More...
|
| |
| unsigned int | getPMDCoordinatesTex () const |
| | Get the output texture containing PMD simulated cartesian coordinates. These are computed from the simulated PMD range value, taking the camera intrinsic parameters into account (image size, center pixel and focal lengths). Note that lens distortion is currently ignored. More...
|
| |
| TexData | getPMDCoordinates () const |
| | Convenience wrapper for getPMDCoordinatesTex() More...
|
| |
| unsigned int | getEyeSpacePositionsTex (int i=-1) const |
| | Get the output texture containing eye space positions for the given subframe i or the final result (if i is -1). Positions of the final result are always the same as those for the first subframe. More...
|
| |
| TexData | getEyeSpacePositions (int i=-1) const |
| | Convenience wrapper for getEyeSpacePositionsTex() More...
|
| |
| unsigned int | getCustomSpacePositionsTex (int i=-1) const |
| | Get the output texture containing custom space positions for the given subframe i or the final result (if i is -1). Positions of the final result are always the same as those for the first subframe. More...
|
| |
| TexData | getCustomSpacePositions (int i=-1) const |
| | Convenience wrapper for getCustomSpacePositionsTex() More...
|
| |
| unsigned int | getEyeSpaceNormalsTex (int i=-1) const |
| | Get the output texture containing eye space normals for the given subframe i or the final result (if i is -1) Normals of the final result are always the same as those for the first subframe. More...
|
| |
| TexData | getEyeSpaceNormals (int i=-1) const |
| | Convenience wrapper for getEyeSpaceNormalsTex() More...
|
| |
| unsigned int | getCustomSpaceNormalsTex (int i=-1) const |
| | Get the output texture containing custom space normals for the given subframe i or the final result (if i is -1) Normals of the final result are always the same as those for the first subframe. More...
|
| |
| TexData | getCustomSpaceNormals (int i=-1) const |
| | Convenience wrapper for getCustomSpaceNormalsTex() More...
|
| |
| unsigned int | getDepthAndRangeTex (int i=-1) const |
| | Get the output texture containing depth and range for the given subframe i or the final result (if i is -1) Depth and range of the final result are always the same as those for the first subframe. More...
|
| |
| TexData | getDepthAndRange (int i=-1) const |
| | Convenience wrapper for getDepthAndRangeTex() More...
|
| |
| unsigned int | getIndicesTex (int i=-1) const |
| | Get the output texture containing indices for the given subframe i or the final result (if i is -1) Indices of the final result are always the same as those for the first subframe. Note that all indices are incremented by one, so that unrendered areas in the resulting texture can be identified by checking for index zero (which never corresponds to a rendered object). More...
|
| |
| TexData | getIndices (int i=-1) const |
| | Convenience wrapper for getIndicesTex() More...
|
| |
| unsigned int | getForwardFlow3DTex (int i=-1) const |
| | Get the output texture containing forward 3D flow for the given subframe i or the final result (if i is -1) More...
|
| |
| TexData | getForwardFlow3D (int i=-1) const |
| | Convenience wrapper for getForwardFlow3DTex() More...
|
| |
| unsigned int | getForwardFlow2DTex (int i=-1) const |
| | Get the output texture containing forward 2D flow for the given subframe i or the final result (if i is -1) More...
|
| |
| TexData | getForwardFlow2D (int i=-1) const |
| | Convenience wrapper for getForwardFlow2DTex() More...
|
| |
| unsigned int | getBackwardFlow3DTex (int i=-1) const |
| | Get the output texture containing backward 3D flow for the given subframe i or the final result (if i is -1) More...
|
| |
| TexData | getBackwardFlow3D (int i=-1) const |
| | Convenience wrapper for getBackwardFlow3DTex() More...
|
| |
| unsigned int | getBackwardFlow2DTex (int i=-1) const |
| | Get the output texture containing backward 2D flow for the given subframe i or the final result (if i is -1) More...
|
| |
| TexData | getBackwardFlow2D (int i=-1) const |
| | Convenience wrapper for getBackwardFlow2DTex() More...
|
| |
| const Transformation & | getCameraTransformation (int i=-1) const |
| | Get the camera transformation for the given subframe i or the final result (if i is -1) Transformations of the final result are always the same as those for the first subframe. More...
|
| |
| const Transformation & | getLightTransformation (int lightIndex, int i) const |
| | Get the transformation for the light source with index lightIndex in the scene for the given subframe i or the final result (if i is -1) Transformations of the final result are always the same as those for the first subframe. More...
|
| |
| const Transformation & | getObjectTransformation (int objectIndex, int i) const |
| | Get the transformation for the object with index objectIndex in the scene for the given subframe i or the final result (if i is -1) Transformations of the final result are always the same as those for the first subframe. More...
|
| |
Simulates a camera frame.