| PathEngine home | previous: | next: |
Runs the 3D content processing functionality on a specified set of 3D source data and saves out the resulting ground mesh.
void
buildAndSaveGround(
const iFaceVertexMesh *const * meshObjectPointers,
tSigned32 numberOfMeshObjects,
const iSolidObjects* solidObjects,
tSigned32 extrudeHeight,
tSigned32 maxStepHeight,
tSigned32 maxSlope,
const char *const* options,
iProgressCallBack* progressCallBack,
const char* format, bool includeMapping, iOutputStream* outputStream
) const;
|
| meshObjectPointers | Points to an array of pointers to objects derived from iFaceVertexMesh and specifying mesh components of the 3D geometry to be processed. The objects pointed to will not be deleted by PathEngine and pointers to these objects are not held after this method completes. | ||
| numberOfMeshObjects | The size of the array pointed to by geometryObjectPointers. | ||
| solidObjects |
Pointer to an object derived from the iSolidObjects interface class,
to encapsulate a set of convex solid objects in the form of a series of 'point clouds'. The 3D content processing will generate a convex hull for each of these point clouds, and treat the contained volume as an obstructed solid. Refer to A null pointer may be passed into this argument, in the case where there are no solid objects in the source data. | ||
| extrudeHeight |
See | ||
| maxStepHeight |
See | ||
| maxSlope |
See | ||
| options |
A set of named attributes to control additional options for how the geometry is processed,
and which are also passed on to PathEngine's ground mesh creation. Refer to Refer to | ||
| progressCallBack |
A pointer to an object derived from the
iProgressCallBack
interface, or zero. If a callback is specified then this will receive progress updates as the 3D content processing executes. | ||
| format |
A C string specifying the format in which data should be output.
Currently this can be "xml" or "tok" (lower case). This format string is not retained after the call and can subsequently be safely deleted. | ||
| includeMapping |
Specifies whether the mapping to 2d should be recorded with the mesh. Storing this mapping with the mesh ensures that cPositions stored for this mesh will remain valid if the PathEngine generates this mapping changes with a new release. | ||
| outputStream | The mesh will be saved to this output stream. |
If errors occur during the 3D content processing then these will be reported to the current error handler, and no ground mesh saved out.
If the ground result from the 3D processing operation would be empty (e.g. if no ground surfaces are present in the source data), then no ground mesh is saved out.
Refer to
| Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEngine | next: |