Fovia C++ In-Process API
|
Public Member Functions | |
virtual signed int | AskInterface (const BGUID *piid, IRoot **ppr)=0 |
virtual signed int | DecRef ()=0 |
virtual signed int | ExtractPolygons (IVertexCallList *pDestination, POLYGON_EXTRACT_PARAMS *pep, IVolumeData *pData, IVolumeOctree *pOctree)=0 |
virtual signed int | IncRef ()=0 |
virtual signed int | LoadOBJ (char *filename, IVertexCallList *pvcl, ENUM_PU_SMOOTH_MODES smoothMode)=0 |
virtual signed int | LoadOBJWithTextureMap (char *filename, char *texture, IVertexCallList *pvcl, ENUM_PU_SMOOTH_MODES smoothMode)=0 |
virtual signed int | LoadSTL (char *filename, IVertexCallList *pvcl, ENUM_PU_SMOOTH_MODES smoothMode)=0 |
virtual signed int | SaveOBJ (char *filename, IVertexCallList *pvcl)=0 |
virtual signed int | SavePLY (char *filename, IVertexCallList *pvcl)=0 |
virtual signed int | SaveSTL (char *filename, IVertexCallList *pvcl)=0 |
virtual signed int | Smooth (IVertexCallList *pvcl, ENUM_PU_SMOOTH_MODES smoothMode, unsigned int *arrsg)=0 |
![]() | |
template<class T > | |
signed int | AskInterface (T **pp) |
Polygon functions including loading from 3D geometry files.
|
pure virtual |
Decreases the reference count on this object by 1. If the reference count reaches 0, the object is deallocated.
Implements IRoot.
|
pure virtual |
Extracts a collection of polygons at the specified threshold and store the result in an IVertexCallList.
[in,out] | pDestination | A previously created IVertexCallList that will get the results of the routine. Note that any contents previously contained in this object will be overwritten. |
[in] | pep | The address of a POLYGON_EXTRACT_PARAMS structure initialized with the desired parameters for this function. |
[in] | pData | The dataset to use for threshold extraction. |
[in] | pOctree | The octree that was built from pData. This must be a valid octree, as the surface extraction routine requires this information to speed up the process. |
|
pure virtual |
Increases the reference count on this object by 1. You do not need to call this after an object is first created. It is 1 by default.
Implements IRoot.
|
pure virtual |
Loads an OBJ (Wavefront's Advanced Visualizer) file into an IVertexCallList.
[in] | filename | File to be loaded. |
[out] | pvcl | IVertexCallList representation of the input file |
[in] | smoothMode | The smoothing mode to apply to this object once it is loaded. See the documentation for ENUM_PU_SMOOTH_MODES for more detail. |
|
pure virtual |
Loads an OBJ file and an associated JPG file to use as a virtual texture map. True texture mapping is not supported by this function. Instead, the mesh's vertex colors are set to the equivalet texture color as specified by the mesh's UV texture coords. As a result, high resolution textures mapped to a mesh region of low vertex density will exhibit loss of texture detail.
filename | File to be loaded. |
texture | Texture image file to be loaded (JPG only). |
pvcl | IVertexCallList representation of the input file |
smoothMode | The smoothing mode to apply to this object once it is loaded. SMOOTH_MODE_AUTO is required for this function. |
|
pure virtual |
Loads an STL file into an IVertexCallList.
[in] | filename | File to be loaded. |
[out] | pvcl | IVertexCallList representation of the input file |
[in] | smoothMode | The smoothing mode to apply to this object once it is loaded. See the documentation for ENUM_PU_SMOOTH_MODES for more detail. |