Functions | |
FORMIT_CORE_EXPORT void | FormIt::Graphics::GetObjectTypes (size_t historyId, const 1::vector< size_t > &objectIds, 1::vector< WSM::nObjectType > &outTypes) |
Get the object types for a list of object ids. | |
FORMIT_CORE_EXPORT void | FormIt::Graphics::GetRenderableFaces (size_t historyId, bool backside, bool calculateTextureCoordinates, const 1::vector< size_t > &faces, 1::vector< size_t > &outFaceIndices, 1::vector< double > &outPositions, 1::vector< double > &outNormals, 1::vector< double > &outTexCoords) |
Get vertices, normals, and uvs for multiple faces at once, as unstructured vectors of doubles. | |
FORMIT_CORE_EXPORT void | FormIt::Graphics::GetObjectRenderableEdges (size_t historyId, size_t objectId, bool includeSmooth, 1::vector< double > &outVertices, 1::vector< double > &outSmoothVertices) |
Get vertices for all the edges in an object, as a flat list of doubles. | |
FORMIT_CORE_EXPORT void | FormIt::Graphics::GetRenderableEdges (size_t historyId, const 1::vector< size_t > &edges, bool includeSmooth, 1::vector< double > &outVertices, 1::vector< double > &outSmoothVertices) |
Get vertices for multiple edges at once, as a flat list of doubles. | |
FORMIT_CORE_EXPORT void FormIt::Graphics::GetObjectRenderableEdges | ( | size_t | historyId, |
size_t | objectId, | ||
bool | includeSmooth, | ||
1::vector< double > & | outVertices, | ||
1::vector< double > & | outSmoothVertices | ||
) |
Get vertices for all the edges in an object, as a flat list of doubles.
[in] | historyId | |
[in] | objectId | |
[in] | includeSmooth | |
[out] | outVertices | |
[out] | outSmoothVertices |
FORMIT_CORE_EXPORT void FormIt::Graphics::GetObjectTypes | ( | size_t | historyId, |
const 1::vector< size_t > & | objectIds, | ||
1::vector< WSM::nObjectType > & | outTypes | ||
) |
Get the object types for a list of object ids.
[in] | historyId | |
[in] | objectIds | |
[out] | outTypes |
FORMIT_CORE_EXPORT void FormIt::Graphics::GetRenderableEdges | ( | size_t | historyId, |
const 1::vector< size_t > & | edges, | ||
bool | includeSmooth, | ||
1::vector< double > & | outVertices, | ||
1::vector< double > & | outSmoothVertices | ||
) |
Get vertices for multiple edges at once, as a flat list of doubles.
[in] | historyId | |
[in] | edges | |
[in] | includeSmooth | |
[out] | outVertices | |
[out] | outSmoothVertices |
FORMIT_CORE_EXPORT void FormIt::Graphics::GetRenderableFaces | ( | size_t | historyId, |
bool | backside, | ||
bool | calculateTextureCoordinates, | ||
const 1::vector< size_t > & | faces, | ||
1::vector< size_t > & | outFaceIndices, | ||
1::vector< double > & | outPositions, | ||
1::vector< double > & | outNormals, | ||
1::vector< double > & | outTexCoords | ||
) |
Get vertices, normals, and uvs for multiple faces at once, as unstructured vectors of doubles.
[in] | historyId | |
[in] | backside | |
[in] | calculateTextureCoordinates | |
[in] | faces | |
[out] | outPositions | |
[out] | outNormals | |
[out] | outTexCoords |
outFaceIndices | outputs |