10 #ifndef CMZN_CONTEXT_HPP__ 11 #define CMZN_CONTEXT_HPP__ 13 #include "opencmiss/zinc/context.h" 60 Context(
const char *contextName) :
61 id(cmzn_context_create(contextName))
65 explicit Context(cmzn_context_id context_id) :
70 id(cmzn_context_access(context.id))
77 cmzn_context_destroy(&
id);
93 cmzn_context_id temp_id = cmzn_context_access(context.id);
96 cmzn_context_destroy(&
id);
122 return cmzn_context_get_version(
id, versionOut3);
132 return cmzn_context_get_revision(
id);
147 return cmzn_context_get_version_string(
id);
Fontmodule getFontmodule()
Definition: font.hpp:404
bool isValid() const
Definition: context.hpp:86
Module managing all light objects.
Definition: light.hpp:484
int getVersion(int *versionOut3)
Definition: context.hpp:120
int setDefaultRegion(const Region ®ion)
Definition: region.hpp:421
Module managing all fonts.
Definition: font.hpp:273
Materialmodule getMaterialmodule()
Definition: material.hpp:560
Glyphmodule getGlyphmodule()
Definition: glyph.hpp:1176
A hierarchical block/namespace owning domains and fields.
Definition: region.hpp:33
Module managing all scene filters.
Definition: scenefilter.hpp:313
Font object controlling attributes of rendering text.
Definition: logger.hpp:28
Region getDefaultRegion()
Definition: region.hpp:416
Module object for creating and managing scene viewers.
Definition: sceneviewer.hpp:1271
Sceneviewermodule getSceneviewermodule()
Definition: sceneviewer.hpp:1409
The context is the primary object created for each instance of Zinc.
Definition: context.hpp:49
Module managing all spectrums.
Definition: spectrum.hpp:1037
Module managing all materials.
Definition: material.hpp:350
Timekeepermodule getTimekeepermodule()
Definition: timekeeper.hpp:313
Module managing all glyphs.
Definition: glyph.hpp:714
char * getVersionString()
Definition: context.hpp:145
const char * getRevision()
Definition: context.hpp:130
Scenefiltermodule getScenefiltermodule()
Definition: scenefilter.hpp:518
Module managing all tessellation objects.
Definition: tessellation.hpp:354
Module for finding and managing timekeepers.
Definition: timekeeper.hpp:222
cmzn_context_id getId() const
Definition: context.hpp:107
The OpenCMISS namespace.
Definition: context.hpp:20
Lightmodule getLightmodule()
Definition: light.hpp:666
Spectrummodule getSpectrummodule()
Definition: spectrum.hpp:1442
Region createRegion()
Definition: region.hpp:426
Tessellationmodule getTessellationmodule()
Definition: tessellation.hpp:783
Logger getLogger()
Definition: logger.hpp:429