MeshLink
Computational geometry access
|
Management of geometry kernel interfaces. More...
#include <MeshAssociativity.h>
Public Member Functions | |
GeometryKernelManager () | |
Default constructor, no active GeometryKernel by default. More... | |
Private Member Functions | |
void | addKernel (GeometryKernel *kernel) |
void | removeKernel (GeometryKernel *kernel) |
GeometryKernel * | getByName (const char *name) |
GeometryKernel * | getActive () |
bool | setActiveByName (const char *name) |
Private Attributes | |
GeometryKernelArray | geometry_kernels_ |
The list of managed GeometryKernel objects. More... | |
GeometryKernel * | active_ |
The active GeometryKernel. More... | |
Friends | |
class | MeshAssociativity |
Management of geometry kernel interfaces.
Storage for geometry kernel interfaces and the current active kernel. Only one GeometryKernel may be active at a time.
This singleton object is used internally by the MeshAssociativity.
Definition at line 792 of file MeshAssociativity.h.
|
inline |
Default constructor, no active GeometryKernel by default.
Definition at line 796 of file MeshAssociativity.h.
|
private |
Manage a new geometry kernel.
[in] | kernel | geometry kernel to add |
|
private |
Return the active GeometryKernel.
|
private |
Return the GeometryKernel associated with the given name.
[in] | name | the name of the desired kernel |
|
private |
Unmanage a geometry kernel.
[in] | kernel | geometry kernel to remove |
|
private |
Set the active GeometryKernel by name.
[in] | name | the name of the desired kernel |
|
friend |
Definition at line 794 of file MeshAssociativity.h.
|
private |
The active GeometryKernel.
Definition at line 831 of file MeshAssociativity.h.
|
private |
The list of managed GeometryKernel objects.
Definition at line 829 of file MeshAssociativity.h.