OpenCMISS-Zinc C++ API Documentation
glyph.hpp
Go to the documentation of this file.
1 
4 /* OpenCMISS-Zinc Library
5 *
6 * This Source Code Form is subject to the terms of the Mozilla Public
7 * License, v. 2.0. If a copy of the MPL was not distributed with this
8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
9 #ifndef CMZN_GLYPH_HPP__
10 #define CMZN_GLYPH_HPP__
11 
12 #include "opencmiss/zinc/glyph.h"
13 #include "opencmiss/zinc/context.hpp"
14 #include "opencmiss/zinc/material.hpp"
15 #include "opencmiss/zinc/spectrum.hpp"
16 
17 namespace OpenCMISS
18 {
19 namespace Zinc
20 {
21 
22 class GlyphAxes;
23 class GlyphColourBar;
24 class Glyphmodulenotifier;
25 class Graphics;
26 
37 class Glyph
38 {
39 protected:
40  cmzn_glyph_id id;
41 
42 public:
43 
44  Glyph() : id(0)
45  { }
46 
47  // takes ownership of C handle, responsibility for destroying it
48  explicit Glyph(cmzn_glyph_id in_glyph_id) :
49  id(in_glyph_id)
50  { }
51 
52  Glyph(const Glyph& glyph) :
53  id(cmzn_glyph_access(glyph.id))
54  { }
55 
56  Glyph& operator=(const Glyph& glyph)
57  {
58  cmzn_glyph_id temp_id = cmzn_glyph_access(glyph.id);
59  if (0 != id)
60  {
61  cmzn_glyph_destroy(&id);
62  }
63  id = temp_id;
64  return *this;
65  }
66 
67  ~Glyph()
68  {
69  if (0 != id)
70  {
71  cmzn_glyph_destroy(&id);
72  }
73  }
74 
80  bool isValid() const
81  {
82  return (0 != id);
83  }
84 
90  cmzn_glyph_id getId() const
91  {
92  return id;
93  }
94 
99  {
100  CHANGE_FLAG_NONE = CMZN_GLYPH_CHANGE_FLAG_NONE,
102  CHANGE_FLAG_ADD = CMZN_GLYPH_CHANGE_FLAG_ADD,
104  CHANGE_FLAG_REMOVE = CMZN_GLYPH_CHANGE_FLAG_REMOVE,
106  CHANGE_FLAG_IDENTIFIER = CMZN_GLYPH_CHANGE_FLAG_IDENTIFIER,
108  CHANGE_FLAG_DEFINITION = CMZN_GLYPH_CHANGE_FLAG_DEFINITION,
110  CHANGE_FLAG_FULL_RESULT = CMZN_GLYPH_CHANGE_FLAG_FULL_RESULT,
112  CHANGE_FLAG_FINAL = CMZN_GLYPH_CHANGE_FLAG_FINAL
115  };
116 
121  typedef int ChangeFlags;
122 
128  {
129  REPEAT_MODE_INVALID = CMZN_GLYPH_REPEAT_MODE_INVALID,
131  REPEAT_MODE_NONE = CMZN_GLYPH_REPEAT_MODE_NONE,
135  REPEAT_MODE_AXES_2D = CMZN_GLYPH_REPEAT_MODE_AXES_2D,
139  REPEAT_MODE_AXES_3D = CMZN_GLYPH_REPEAT_MODE_AXES_3D,
143  REPEAT_MODE_MIRROR = CMZN_GLYPH_REPEAT_MODE_MIRROR
153  };
154 
155 
161  {
162  SHAPE_TYPE_INVALID = CMZN_GLYPH_SHAPE_TYPE_INVALID,
164  SHAPE_TYPE_NONE = CMZN_GLYPH_SHAPE_TYPE_NONE,
166  SHAPE_TYPE_ARROW = CMZN_GLYPH_SHAPE_TYPE_ARROW,
168  SHAPE_TYPE_ARROW_SOLID = CMZN_GLYPH_SHAPE_TYPE_ARROW_SOLID,
170  SHAPE_TYPE_AXIS = CMZN_GLYPH_SHAPE_TYPE_AXIS,
172  SHAPE_TYPE_AXIS_SOLID = CMZN_GLYPH_SHAPE_TYPE_AXIS_SOLID,
174  SHAPE_TYPE_CONE = CMZN_GLYPH_SHAPE_TYPE_CONE,
176  SHAPE_TYPE_CONE_SOLID = CMZN_GLYPH_SHAPE_TYPE_CONE_SOLID,
178  SHAPE_TYPE_CROSS = CMZN_GLYPH_SHAPE_TYPE_CROSS,
180  SHAPE_TYPE_CUBE_SOLID = CMZN_GLYPH_SHAPE_TYPE_CUBE_SOLID,
182  SHAPE_TYPE_CUBE_WIREFRAME = CMZN_GLYPH_SHAPE_TYPE_CUBE_WIREFRAME,
184  SHAPE_TYPE_CYLINDER = CMZN_GLYPH_SHAPE_TYPE_CYLINDER,
186  SHAPE_TYPE_CYLINDER_SOLID = CMZN_GLYPH_SHAPE_TYPE_CYLINDER_SOLID,
188  SHAPE_TYPE_DIAMOND = CMZN_GLYPH_SHAPE_TYPE_DIAMOND,
190  SHAPE_TYPE_LINE = CMZN_GLYPH_SHAPE_TYPE_LINE,
192  SHAPE_TYPE_POINT = CMZN_GLYPH_SHAPE_TYPE_POINT,
194  SHAPE_TYPE_SHEET = CMZN_GLYPH_SHAPE_TYPE_SHEET,
196  SHAPE_TYPE_SPHERE = CMZN_GLYPH_SHAPE_TYPE_SPHERE,
198  SHAPE_TYPE_AXES = CMZN_GLYPH_SHAPE_TYPE_AXES,
200  SHAPE_TYPE_AXES_123 = CMZN_GLYPH_SHAPE_TYPE_AXES_123,
202  SHAPE_TYPE_AXES_XYZ = CMZN_GLYPH_SHAPE_TYPE_AXES_XYZ,
204  SHAPE_TYPE_AXES_COLOUR = CMZN_GLYPH_SHAPE_TYPE_AXES_COLOUR,
206  SHAPE_TYPE_AXES_SOLID = CMZN_GLYPH_SHAPE_TYPE_AXES_SOLID,
208  SHAPE_TYPE_AXES_SOLID_123 = CMZN_GLYPH_SHAPE_TYPE_AXES_SOLID_123,
210  SHAPE_TYPE_AXES_SOLID_XYZ = CMZN_GLYPH_SHAPE_TYPE_AXES_SOLID_XYZ,
212  SHAPE_TYPE_AXES_SOLID_COLOUR = CMZN_GLYPH_SHAPE_TYPE_AXES_SOLID_COLOUR
214  };
215 
222  char *getName()
223  {
224  return cmzn_glyph_get_name(id);
225  }
226 
233  int setName(const char *name)
234  {
235  return cmzn_glyph_set_name(id, name);
236  }
237 
244  bool isManaged()
245  {
246  return (0 != cmzn_glyph_is_managed(id));
247  }
248 
261  int setManaged(bool value)
262  {
263  return cmzn_glyph_set_managed(id, static_cast<int>(value));
264  }
265 
272  inline GlyphAxes castAxes();
279  inline GlyphColourBar castColourBar();
280 };
281 
282 inline bool operator==(const Glyph& a, const Glyph& b)
283 {
284  return a.getId() == b.getId();
285 }
286 
293 class GlyphAxes : public Glyph
294 {
295 private:
301  inline cmzn_glyph_axes_id getDerivedId()
302  {
303  return reinterpret_cast<cmzn_glyph_axes_id>(id);
304  }
305 
306 public:
307  GlyphAxes() : Glyph(0) {}
308 
309  explicit GlyphAxes(cmzn_glyph_axes_id axes_id)
310  : Glyph(reinterpret_cast<cmzn_glyph_id>(axes_id))
311  {}
312 
318  double getAxisWidth()
319  {
320  return cmzn_glyph_axes_get_axis_width(getDerivedId());
321  }
322 
331  int setAxisWidth(double axisWidth)
332  {
333  return cmzn_glyph_axes_set_axis_width(getDerivedId(), axisWidth);
334  }
335 
343  char *getAxisLabel(int axisNumber)
344  {
345  return cmzn_glyph_axes_get_axis_label(getDerivedId(), axisNumber);
346  }
347 
355  int setAxisLabel(int axisNumber, const char *label)
356  {
357  return cmzn_glyph_axes_set_axis_label(getDerivedId(), axisNumber, label);
358  }
359 
366  Material getAxisMaterial(int axisNumber)
367  {
368  return Material(cmzn_glyph_axes_get_axis_material(getDerivedId(), axisNumber));
369  }
370 
380  int setAxisMaterial(int axisNumber, const Material& material)
381  {
382  return cmzn_glyph_axes_set_axis_material(getDerivedId(), axisNumber, material.getId());
383  }
384 
385 };
386 
388 {
389  return GlyphAxes(cmzn_glyph_cast_axes(id));
390 }
391 
399 class GlyphColourBar : public Glyph
400 {
401 private:
407  inline cmzn_glyph_colour_bar_id getDerivedId()
408  {
409  return reinterpret_cast<cmzn_glyph_colour_bar_id>(id);
410  }
411 
412 public:
413  GlyphColourBar() : Glyph(0) {}
414 
415  explicit GlyphColourBar(cmzn_glyph_colour_bar_id colour_bar_id)
416  : Glyph(reinterpret_cast<cmzn_glyph_id>(colour_bar_id))
417  {}
418 
426  int getAxis(int valuesCount, double *valuesOut)
427  {
428  return cmzn_glyph_colour_bar_get_axis(getDerivedId(), valuesCount, valuesOut);
429  }
430 
441  int setAxis(int valuesCount, const double *valuesIn)
442  {
443  return cmzn_glyph_colour_bar_set_axis(getDerivedId(), valuesCount, valuesIn);
444  }
445 
453  int getCentre(int valuesCount, double *valuesOut)
454  {
455  return cmzn_glyph_colour_bar_get_centre(getDerivedId(), valuesCount, valuesOut);
456  }
457 
469  int setCentre(int valuesCount, const double *valuesIn)
470  {
471  return cmzn_glyph_colour_bar_set_centre(getDerivedId(), valuesCount, valuesIn);
472  }
473 
480  double getExtendLength()
481  {
482  return cmzn_glyph_colour_bar_get_extend_length(getDerivedId());
483  }
484 
493  int setExtendLength(double extendLength)
494  {
495  return cmzn_glyph_colour_bar_set_extend_length(getDerivedId(), extendLength);
496  }
497 
504  {
505  return cmzn_glyph_colour_bar_get_label_divisions(getDerivedId());
506  }
507 
516  int setLabelDivisions(int labelDivisions)
517  {
518  return cmzn_glyph_colour_bar_set_label_divisions(getDerivedId(), labelDivisions);
519  }
520 
527  {
528  return Material(cmzn_glyph_colour_bar_get_label_material(getDerivedId()));
529  }
530 
539  int setLabelMaterial(const Material& material)
540  {
541  return cmzn_glyph_colour_bar_set_label_material(getDerivedId(), material.getId());
542  }
543 
551  {
552  return cmzn_glyph_colour_bar_get_number_format(getDerivedId());
553  }
554 
566  int setNumberFormat(const char *numberFormat)
567  {
568  return cmzn_glyph_colour_bar_set_number_format(getDerivedId(), numberFormat);
569  }
570 
578  int getSideAxis(int valuesCount, double *valuesOut)
579  {
580  return cmzn_glyph_colour_bar_get_side_axis(getDerivedId(), valuesCount, valuesOut);
581  }
582 
594  int setSideAxis(int valuesCount, const double *valuesIn)
595  {
596  return cmzn_glyph_colour_bar_set_side_axis(getDerivedId(), valuesCount, valuesIn);
597  }
598 
605  {
606  return Spectrum(cmzn_glyph_colour_bar_get_spectrum(getDerivedId()));
607  }
608 
614  double getTickLength()
615  {
616  return cmzn_glyph_colour_bar_get_tick_length(getDerivedId());
617  }
618 
627  int setTickLength(double tickLength)
628  {
629  return cmzn_glyph_colour_bar_set_tick_length(getDerivedId(), tickLength);
630  }
631 
632 };
633 
635 {
636  return GlyphColourBar(cmzn_glyph_cast_colour_bar(id));
637 }
638 
645 {
646 private:
647 
648  cmzn_glyphiterator_id id;
649 
650 public:
651 
652  Glyphiterator() : id(0)
653  { }
654 
655  // takes ownership of C handle, responsibility for destroying it
656  explicit Glyphiterator(cmzn_glyphiterator_id iterator_id) :
657  id(iterator_id)
658  { }
659 
660  Glyphiterator(const Glyphiterator& glyphiterator) :
661  id(cmzn_glyphiterator_access(glyphiterator.id))
662  { }
663 
664  Glyphiterator& operator=(const Glyphiterator& glyphiterator)
665  {
666  cmzn_glyphiterator_id temp_id = cmzn_glyphiterator_access(glyphiterator.id);
667  if (0 != id)
668  {
669  cmzn_glyphiterator_destroy(&id);
670  }
671  id = temp_id;
672  return *this;
673  }
674 
675  ~Glyphiterator()
676  {
677  if (0 != id)
678  {
679  cmzn_glyphiterator_destroy(&id);
680  }
681  }
682 
688  bool isValid() const
689  {
690  return (0 != id);
691  }
692 
701  {
702  return Glyph(cmzn_glyphiterator_next(id));
703  }
704 };
705 
715 {
716 protected:
717  cmzn_glyphmodule_id id;
718 
719 public:
720 
721  Glyphmodule() : id(0)
722  { }
723 
724  // takes ownership of C handle, responsibility for destroying it
725  explicit Glyphmodule(cmzn_glyphmodule_id in_glyphmodule_id) :
726  id(in_glyphmodule_id)
727  { }
728 
729  Glyphmodule(const Glyphmodule& glyphModule) :
730  id(cmzn_glyphmodule_access(glyphModule.id))
731  { }
732 
733  Glyphmodule& operator=(const Glyphmodule& glyphModule)
734  {
735  cmzn_glyphmodule_id temp_id = cmzn_glyphmodule_access(glyphModule.id);
736  if (0 != id)
737  {
738  cmzn_glyphmodule_destroy(&id);
739  }
740  id = temp_id;
741  return *this;
742  }
743 
744  ~Glyphmodule()
745  {
746  if (0 != id)
747  {
748  cmzn_glyphmodule_destroy(&id);
749  }
750  }
751 
757  bool isValid() const
758  {
759  return (0 != id);
760  }
761 
767  cmzn_glyphmodule_id getId() const
768  {
769  return id;
770  }
771 
782  {
783  return cmzn_glyphmodule_begin_change(id);
784  }
785 
795  int endChange()
796  {
797  return cmzn_glyphmodule_end_change(id);
798  }
799 
810  GlyphAxes createGlyphAxes(const Glyph& axisGlyph, double axisWidth)
811  {
812  return GlyphAxes(reinterpret_cast<cmzn_glyph_axes_id>(
813  cmzn_glyphmodule_create_glyph_axes(id, axisGlyph.getId(), axisWidth)));
814  }
815 
825  {
826  return GlyphColourBar(reinterpret_cast<cmzn_glyph_colour_bar_id>(
827  cmzn_glyphmodule_create_glyph_colour_bar(id, spectrum.getId())));
828  }
829 
843  {
844  return Glyphiterator(cmzn_glyphmodule_create_glyphiterator(id));
845  }
846 
891  {
892  return cmzn_glyphmodule_define_standard_glyphs(id);
893  }
894 
901  Glyph findGlyphByName(const char *name)
902  {
903  return Glyph(cmzn_glyphmodule_find_glyph_by_name(id, name));
904  }
905 
913  {
914  return Glyph(cmzn_glyphmodule_find_glyph_by_glyph_shape_type(id, static_cast<cmzn_glyph_shape_type>(glyphShapeType)));
915  }
916 
923  {
924  return Glyph(cmzn_glyphmodule_get_default_point_glyph(id));
925  }
926 
933  int setDefaultPointGlyph(const Glyph& glyph)
934  {
935  return cmzn_glyphmodule_set_default_point_glyph(id, glyph.getId());
936  }
937 
946  inline Glyph createStaticGlyphFromGraphics(const Graphics& graphics);
947 
954  inline Glyphmodulenotifier createGlyphmodulenotifier();
955 
956 };
957 
965 {
966 protected:
967  cmzn_glyphmoduleevent_id id;
968 
969 public:
970 
971  Glyphmoduleevent() : id(0)
972  { }
973 
974  // takes ownership of C handle, responsibility for destroying it
975  explicit Glyphmoduleevent(cmzn_glyphmoduleevent_id in_glyphmodule_event_id) :
976  id(in_glyphmodule_event_id)
977  { }
978 
979  Glyphmoduleevent(const Glyphmoduleevent& glyphmoduleEvent) :
980  id(cmzn_glyphmoduleevent_access(glyphmoduleEvent.id))
981  { }
982 
983  Glyphmoduleevent& operator=(const Glyphmoduleevent& glyphmoduleEvent)
984  {
985  cmzn_glyphmoduleevent_id temp_id = cmzn_glyphmoduleevent_access(glyphmoduleEvent.id);
986  if (0 != id)
987  cmzn_glyphmoduleevent_destroy(&id);
988  id = temp_id;
989  return *this;
990  }
991 
993  {
994  if (0 != id)
995  {
996  cmzn_glyphmoduleevent_destroy(&id);
997  }
998  }
999 
1005  bool isValid() const
1006  {
1007  return (0 != id);
1008  }
1009 
1015  cmzn_glyphmoduleevent_id getId() const
1016  {
1017  return id;
1018  }
1019 
1030  {
1031  return cmzn_glyphmoduleevent_get_glyph_change_flags(id, glyph.getId());
1032  }
1033 
1042  {
1043  return cmzn_glyphmoduleevent_get_summary_glyph_change_flags(id);
1044  }
1045 
1046 };
1047 
1057 {
1058 friend class Glyphmodulenotifier;
1059 private:
1060  Glyphmodulecallback(const Glyphmodulecallback&); // not implemented
1061  Glyphmodulecallback& operator=(const Glyphmodulecallback&); // not implemented
1062 
1063  static void C_callback(cmzn_glyphmoduleevent_id glyphmoduleevent_id, void *callbackVoid)
1064  {
1065  Glyphmoduleevent glyphmoduleevent(cmzn_glyphmoduleevent_access(glyphmoduleevent_id));
1066  Glyphmodulecallback *callback = reinterpret_cast<Glyphmodulecallback *>(callbackVoid);
1067  (*callback)(glyphmoduleevent);
1068  }
1069 
1070  virtual void operator()(const Glyphmoduleevent &glyphmoduleevent) = 0;
1071 
1072 protected:
1074  { }
1075 
1076 public:
1077  virtual ~Glyphmodulecallback()
1078  { }
1079 };
1080 
1087 {
1088 protected:
1089  cmzn_glyphmodulenotifier_id id;
1090 
1091 public:
1092 
1093  Glyphmodulenotifier() : id(0)
1094  { }
1095 
1096  // takes ownership of C handle, responsibility for destroying it
1097  explicit Glyphmodulenotifier(cmzn_glyphmodulenotifier_id in_glyphmodulenotifier_id) :
1098  id(in_glyphmodulenotifier_id)
1099  { }
1100 
1101  Glyphmodulenotifier(const Glyphmodulenotifier& glyphmoduleNotifier) :
1102  id(cmzn_glyphmodulenotifier_access(glyphmoduleNotifier.id))
1103  { }
1104 
1105  Glyphmodulenotifier& operator=(const Glyphmodulenotifier& glyphmoduleNotifier)
1106  {
1107  cmzn_glyphmodulenotifier_id temp_id = cmzn_glyphmodulenotifier_access(glyphmoduleNotifier.id);
1108  if (0 != id)
1109  {
1110  cmzn_glyphmodulenotifier_destroy(&id);
1111  }
1112  id = temp_id;
1113  return *this;
1114  }
1115 
1117  {
1118  if (0 != id)
1119  {
1120  cmzn_glyphmodulenotifier_destroy(&id);
1121  }
1122  }
1123 
1129  bool isValid() const
1130  {
1131  return (0 != id);
1132  }
1133 
1139  cmzn_glyphmodulenotifier_id getId() const
1140  {
1141  return id;
1142  }
1143 
1155  {
1156  return cmzn_glyphmodulenotifier_set_callback(id, callback.C_callback, static_cast<void*>(&callback));
1157  }
1158 
1166  {
1167  return cmzn_glyphmodulenotifier_clear_callback(id);
1168  }
1169 };
1170 
1172 {
1173  return Glyphmodulenotifier(cmzn_glyphmodule_create_glyphmodulenotifier(id));
1174 }
1175 
1177 {
1178  return Glyphmodule(cmzn_context_get_glyphmodule(id));
1179 }
1180 
1181 } // namespace Zinc
1182 }
1183 
1184 #endif
Material getAxisMaterial(int axisNumber)
Definition: glyph.hpp:366
char * getAxisLabel(int axisNumber)
Definition: glyph.hpp:343
A specialised glyph type which renders 3-D axes.
Definition: glyph.hpp:293
int endChange()
Definition: glyph.hpp:795
bool isManaged()
Definition: glyph.hpp:244
int defineStandardGlyphs()
Definition: glyph.hpp:890
Glyphmodulenotifier createGlyphmodulenotifier()
Definition: glyph.hpp:1171
GlyphColourBar castColourBar()
Definition: glyph.hpp:634
bool isValid() const
Definition: glyph.hpp:1129
Glyph findGlyphByGlyphShapeType(Glyph::ShapeType glyphShapeType)
Definition: glyph.hpp:912
double getTickLength()
Definition: glyph.hpp:614
cmzn_material_id getId() const
Definition: material.hpp:83
RepeatMode
Definition: glyph.hpp:127
Glyphmodule getGlyphmodule()
Definition: glyph.hpp:1176
int ChangeFlags
Definition: glyph.hpp:121
GlyphAxes createGlyphAxes(const Glyph &axisGlyph, double axisWidth)
Definition: glyph.hpp:810
int getAxis(int valuesCount, double *valuesOut)
Definition: glyph.hpp:426
Base graphics type: produces 3-D graphics visualising domains and fields.
Definition: graphics.hpp:45
cmzn_spectrum_id getId() const
Definition: spectrum.hpp:741
int setManaged(bool value)
Definition: glyph.hpp:261
A glyph is a static graphics object used to visualise a point in space.
Definition: glyph.hpp:37
Glyph findGlyphByName(const char *name)
Definition: glyph.hpp:901
Manages individual user notification of changes with a glyph module.
Definition: glyph.hpp:1086
int setAxisMaterial(int axisNumber, const Material &material)
Definition: glyph.hpp:380
ChangeFlag
Definition: glyph.hpp:98
Zinc materials specify colouring of graphics.
Definition: material.hpp:29
int getSideAxis(int valuesCount, double *valuesOut)
Definition: glyph.hpp:578
cmzn_glyphmodule_id getId() const
Definition: glyph.hpp:767
int setAxisWidth(double axisWidth)
Definition: glyph.hpp:331
int setDefaultPointGlyph(const Glyph &glyph)
Definition: glyph.hpp:933
cmzn_glyphmoduleevent_id getId() const
Definition: glyph.hpp:1015
int setNumberFormat(const char *numberFormat)
Definition: glyph.hpp:566
int setLabelDivisions(int labelDivisions)
Definition: glyph.hpp:516
bool isValid() const
Definition: glyph.hpp:757
char * getNumberFormat()
Definition: glyph.hpp:550
char * getName()
Definition: glyph.hpp:222
Zinc Spectrum maps values of graphics data fields to colours.
Definition: spectrum.hpp:656
int beginChange()
Definition: glyph.hpp:781
ShapeType
Definition: glyph.hpp:160
bool isValid() const
Definition: glyph.hpp:688
double getExtendLength()
Definition: glyph.hpp:480
Module managing all glyphs.
Definition: glyph.hpp:714
bool isValid() const
Definition: glyph.hpp:1005
A specialised glyph type which draws a cylindrical colour bar.
Definition: glyph.hpp:399
Spectrum getSpectrum()
Definition: glyph.hpp:604
double getAxisWidth()
Definition: glyph.hpp:318
int setAxisLabel(int axisNumber, const char *label)
Definition: glyph.hpp:355
An iterator for looping through all the glyphs in a glyphmodule.
Definition: glyph.hpp:644
Material getLabelMaterial()
Definition: glyph.hpp:526
int getCentre(int valuesCount, double *valuesOut)
Definition: glyph.hpp:453
int clearCallback()
Definition: glyph.hpp:1165
int setCentre(int valuesCount, const double *valuesIn)
Definition: glyph.hpp:469
Glyph::ChangeFlags getSummaryGlyphChangeFlags() const
Definition: glyph.hpp:1041
Glyphiterator createGlyphiterator()
Definition: glyph.hpp:842
Glyph next()
Definition: glyph.hpp:700
GlyphColourBar createGlyphColourBar(const Spectrum &spectrum)
Definition: glyph.hpp:824
int setSideAxis(int valuesCount, const double *valuesIn)
Definition: glyph.hpp:594
int setExtendLength(double extendLength)
Definition: glyph.hpp:493
GlyphAxes castAxes()
Definition: glyph.hpp:387
int setTickLength(double tickLength)
Definition: glyph.hpp:627
Glyph getDefaultPointGlyph()
Definition: glyph.hpp:922
The OpenCMISS namespace.
Definition: context.hpp:20
cmzn_glyph_id getId() const
Definition: glyph.hpp:90
Information about changes to glyphs in the glyph module.
Definition: glyph.hpp:964
int getLabelDivisions()
Definition: glyph.hpp:503
Glyph::ChangeFlags getGlyphChangeFlags(const Glyph &glyph) const
Definition: glyph.hpp:1029
int setLabelMaterial(const Material &material)
Definition: glyph.hpp:539
bool isValid() const
Definition: glyph.hpp:80
int setCallback(Glyphmodulecallback &callback)
Definition: glyph.hpp:1154
Base class functor for glyph module notifier callbacks.
Definition: glyph.hpp:1056
int setName(const char *name)
Definition: glyph.hpp:233
int setAxis(int valuesCount, const double *valuesIn)
Definition: glyph.hpp:441
cmzn_glyphmodulenotifier_id getId() const
Definition: glyph.hpp:1139