![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Mesh/Rendering/GlMeshRendererContours.h>
Renders the silhouette/contours of a mesh in a 3D view. More...
Renders the silhouette/contours of a mesh in a 3D view.
This low-level renderer renders lines at every position where a face of the input mesh is perpendicular to the camera look direction.
This class does not implement the GlObject interface by design as it is meant to serve as a reusable component to be integrated into high-level classes.
Classes | |
struct | DisplayOptions |
Complete record of rendering options for MeshRendererOutline. More... | |
Public Member Functions | |
void | render (const MeshGl &mesh, const DisplayOptions &options, const GL::ViewState &viewState, const GL::OrderIndependentTransparency *oit=nullptr) const |
Renders the intersection between mesh and plane into the currently active OpenGL context. | |
void render | ( | const MeshGl & | mesh, |
const DisplayOptions & | options, | ||
const GL::ViewState & | viewState, | ||
const GL::OrderIndependentTransparency * | oit = nullptr ) const |
Renders the intersection between mesh and plane into the currently active OpenGL context.
mesh | The mesh to render. |
options | The rendering options to use. |
viewState | The GL::ViewState to use. |
oit | An optional pointer to a GL::OrderIndependentTransparency instance to use. |