OpenCMISS-Zinc C++ API Documentation
|
Module managing all tessellation objects. More...
#include <tessellation.hpp>
Public Member Functions | |
Tessellationmodule (cmzn_tessellationmodule_id in_tessellationmodule_id) | |
Tessellationmodule (const Tessellationmodule &tessellationModule) | |
Tessellationmodule & | operator= (const Tessellationmodule &tessellationModule) |
bool | isValid () const |
cmzn_tessellationmodule_id | getId () const |
Tessellation | createTessellation () |
Tessellation | findTessellationByName (const char *name) |
int | beginChange () |
int | endChange () |
Tessellation | getDefaultTessellation () |
int | setDefaultTessellation (const Tessellation &tessellation) |
Tessellation | getDefaultPointsTessellation () |
int | setDefaultPointsTessellation (const Tessellation &tessellation) |
Protected Attributes | |
cmzn_tessellationmodule_id | id |
Module managing all tessellation objects.
Module managing all tessellation objects. It maintains separate default tessellations for points and continuous graphics, the default points tessellation having only 1 point in each direction.
|
inline |
Begin caching or increment cache level for this tessellation module. Call this function before making multiple changes to minimise number of change messages sent to clients. Must remember to end_change after completing changes. Can be nested.
|
inline |
Create and return a new tessellation.
tessellation will belong to.
|
inline |
Decrement cache level or end caching of changes for the tessellation module. Call tessellation module begin change method before making multiple changes and call this afterwards. When change level is restored to zero, cached change messages are sent out to clients.
|
inline |
Find the tessellation with the specified name, if any.
name | The name of the tessellation. |
|
inline |
Get the default tessellation to be used by new points and streamlines graphics. If there is none, one is automatically created with minimum divisions 1, refinement factors 1, and circle divisions 12, and given the name "default_points".
|
inline |
Get the default tessellation to be used by new lines, surfaces and isosurfaces graphics. If there is none, one is automatically created with minimum divisions 1, refinement factors 4, and circle divisions 12, and given the name "default".
|
inline |
Return the C handle of the Tessellationmodule object.
|
inline |
Check if this is a valid Tessellationmodule object.
|
inline |
Set the default tessellation to be used by new points and streamlines graphics.
tessellation | The tessellation to set as default for points. |
|
inline |
Set the default tessellation to be used by new lines, surfaces and isosurfaces graphics.
tessellation | The tessellation to set as default. |