# I3DShFacetMeshGenerator Struct Reference
[Shell Interfaces]

Inheritance diagram for I3DShFacetMeshGenerator:

List of all members.

## Public Member Functions
virtual void MCCOMAPI | GetBoundingBox (TBBox3D &bbox, boolean rendering)=0
virtual FacetMesh *MCCOMAPI | GetFacetMesh (real lod)=0
virtual FacetMesh *MCCOMAPI | GetRenderingFacetMesh ()=0
virtual void MCCOMAPI | GetBestCachedFacetMesh (FacetMesh **amesh, real &lod)=0

## Detailed Description

An object implementing I3DShFacetMeshGenerator becomes a decorator object that encapsulates either a mesh or something which can build a mesh (like a Primitive).

The TFacetGrid uses a FacetMeshGenerator to handle mesh generation independently of the object which actually builds the mesh

## Member Function Documentation

virtual void MCCOMAPI I3DShFacetMeshGenerator::GetBestCachedFacetMesh | ( | FacetMesh ** | amesh,
|  | real & | lod |
| ) |  |  | `[pure virtual]`

Looks for an ready-to-use cached mesh

Parameters:

  | amesh | The facet mesh that is returned.
  | lod | The level of detail (LoD) of the mesh that is returned.

virtual void MCCOMAPI I3DShFacetMeshGenerator::GetBoundingBox | ( | TBBox3D & | bbox,
|  | boolean | rendering |
| ) |  |  | `[pure virtual]`

Returns the bounding box of the object

Parameters:

  | bbox | The bounding box that is returned.
  | rendering | Compute the bbox for rendering (ie. for the rendering facet mesh)

virtual FacetMesh* MCCOMAPI I3DShFacetMeshGenerator::GetFacetMesh | ( | real | lod | ) | `[pure virtual]`

Returns a facet mesh according to a given LoD (level of detail)

Parameters:

  | lod | The level of details requested.

virtual FacetMesh* MCCOMAPI I3DShFacetMeshGenerator::GetRenderingFacetMesh | ( |  | ) | `[pure virtual]`

Returns the facet mesh for the final rendering.

Returns:
  A pointer to the mesh.

The documentation for this struct was generated from the following file:

- I3DShFacetMeshGenerator.h