OpenCMISS-Zinc C++ API Documentation
|
A specialised glyph type which renders 3-D axes. More...
#include <glyph.hpp>
Public Member Functions | |
GlyphAxes (cmzn_glyph_axes_id axes_id) | |
double | getAxisWidth () |
int | setAxisWidth (double axisWidth) |
char * | getAxisLabel (int axisNumber) |
int | setAxisLabel (int axisNumber, const char *label) |
Material | getAxisMaterial (int axisNumber) |
int | setAxisMaterial (int axisNumber, const Material &material) |
Public Member Functions inherited from OpenCMISS::Zinc::Glyph | |
Glyph (cmzn_glyph_id in_glyph_id) | |
Glyph (const Glyph &glyph) | |
Glyph & | operator= (const Glyph &glyph) |
bool | isValid () const |
cmzn_glyph_id | getId () const |
char * | getName () |
int | setName (const char *name) |
bool | isManaged () |
int | setManaged (bool value) |
GlyphAxes | castAxes () |
GlyphColourBar | castColourBar () |
Additional Inherited Members | |
Public Types inherited from OpenCMISS::Zinc::Glyph | |
enum | ChangeFlag { CHANGE_FLAG_NONE = CMZN_GLYPH_CHANGE_FLAG_NONE, CHANGE_FLAG_ADD = CMZN_GLYPH_CHANGE_FLAG_ADD, CHANGE_FLAG_REMOVE = CMZN_GLYPH_CHANGE_FLAG_REMOVE, CHANGE_FLAG_IDENTIFIER = CMZN_GLYPH_CHANGE_FLAG_IDENTIFIER, CHANGE_FLAG_DEFINITION = CMZN_GLYPH_CHANGE_FLAG_DEFINITION, CHANGE_FLAG_FULL_RESULT = CMZN_GLYPH_CHANGE_FLAG_FULL_RESULT, CHANGE_FLAG_FINAL = CMZN_GLYPH_CHANGE_FLAG_FINAL } |
enum | RepeatMode { REPEAT_MODE_INVALID = CMZN_GLYPH_REPEAT_MODE_INVALID, REPEAT_MODE_NONE = CMZN_GLYPH_REPEAT_MODE_NONE, REPEAT_MODE_AXES_2D = CMZN_GLYPH_REPEAT_MODE_AXES_2D, REPEAT_MODE_AXES_3D = CMZN_GLYPH_REPEAT_MODE_AXES_3D, REPEAT_MODE_MIRROR = CMZN_GLYPH_REPEAT_MODE_MIRROR } |
enum | ShapeType { SHAPE_TYPE_INVALID = CMZN_GLYPH_SHAPE_TYPE_INVALID, SHAPE_TYPE_NONE = CMZN_GLYPH_SHAPE_TYPE_NONE, SHAPE_TYPE_ARROW = CMZN_GLYPH_SHAPE_TYPE_ARROW, SHAPE_TYPE_ARROW_SOLID = CMZN_GLYPH_SHAPE_TYPE_ARROW_SOLID, SHAPE_TYPE_AXIS = CMZN_GLYPH_SHAPE_TYPE_AXIS, SHAPE_TYPE_AXIS_SOLID = CMZN_GLYPH_SHAPE_TYPE_AXIS_SOLID, SHAPE_TYPE_CONE = CMZN_GLYPH_SHAPE_TYPE_CONE, SHAPE_TYPE_CONE_SOLID = CMZN_GLYPH_SHAPE_TYPE_CONE_SOLID, SHAPE_TYPE_CROSS = CMZN_GLYPH_SHAPE_TYPE_CROSS, SHAPE_TYPE_CUBE_SOLID = CMZN_GLYPH_SHAPE_TYPE_CUBE_SOLID, SHAPE_TYPE_CUBE_WIREFRAME = CMZN_GLYPH_SHAPE_TYPE_CUBE_WIREFRAME, SHAPE_TYPE_CYLINDER = CMZN_GLYPH_SHAPE_TYPE_CYLINDER, SHAPE_TYPE_CYLINDER_SOLID = CMZN_GLYPH_SHAPE_TYPE_CYLINDER_SOLID, SHAPE_TYPE_DIAMOND = CMZN_GLYPH_SHAPE_TYPE_DIAMOND, SHAPE_TYPE_LINE = CMZN_GLYPH_SHAPE_TYPE_LINE, SHAPE_TYPE_POINT = CMZN_GLYPH_SHAPE_TYPE_POINT, SHAPE_TYPE_SHEET = CMZN_GLYPH_SHAPE_TYPE_SHEET, SHAPE_TYPE_SPHERE = CMZN_GLYPH_SHAPE_TYPE_SPHERE, SHAPE_TYPE_AXES = CMZN_GLYPH_SHAPE_TYPE_AXES, SHAPE_TYPE_AXES_123 = CMZN_GLYPH_SHAPE_TYPE_AXES_123, SHAPE_TYPE_AXES_XYZ = CMZN_GLYPH_SHAPE_TYPE_AXES_XYZ, SHAPE_TYPE_AXES_COLOUR = CMZN_GLYPH_SHAPE_TYPE_AXES_COLOUR, SHAPE_TYPE_AXES_SOLID = CMZN_GLYPH_SHAPE_TYPE_AXES_SOLID, SHAPE_TYPE_AXES_SOLID_123 = CMZN_GLYPH_SHAPE_TYPE_AXES_SOLID_123, SHAPE_TYPE_AXES_SOLID_XYZ = CMZN_GLYPH_SHAPE_TYPE_AXES_SOLID_XYZ, SHAPE_TYPE_AXES_SOLID_COLOUR = CMZN_GLYPH_SHAPE_TYPE_AXES_SOLID_COLOUR } |
typedef int | ChangeFlags |
Protected Attributes inherited from OpenCMISS::Zinc::Glyph | |
cmzn_glyph_id | id |
A specialised glyph type which renders 3-D axes.
A specialised glyph type which renders 3-D axes with arbitrary labels and selected glyph repeated on 3 axes.
|
inline |
Get the label to be drawn at the end of the given axis.
axisNumber | The axis number from 1 to 3. |
|
inline |
Get the material an axis is drawn with.
axisNumber | The axis number from 1 to 3. |
|
inline |
Gets the width of each axis relative to unit length.
|
inline |
Set the label to be drawn at the end of the given axis.
axisNumber | The axis number from 1 to 3. |
label | The label, or NULL for none. |
|
inline |
Set the material an axis is drawn with. Note if the material is NULL for any axis the default material for the graphics is used for that axis.
axisNumber | The axis number from 1 to 3. |
material | The material, or NULL to use the default material from the graphics. |
|
inline |
Sets the width of each axis relative to unit length. The default axis width is 0.1 i.e. 10% of the length and suitable for glyph 'axis' and 'axis_solid'.
axisWidth | The new axis width. Must be non-negative. |