PropertyHandlers.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: UnstructGrid
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2011, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeUnstructGrid/Base.h"
16 
17 #include "CeeCore/Variant.h"
18 #include "CeeCore/Str.h"
19 #include "CeeVisualization/OverlayItem.h"
20 #include "CeeCore/BoundingBox.h"
21 
22 #include <vector>
23 
24 namespace cee {
25 
26 class PropertySet;
27 class ImageResources;
28 class Plane;
29 
30 namespace vis {
31 class View;
32 class Camera;
33 class Background;
34 class OverlayImage;
35 }
36 
37 namespace ug {
38 
39 class UnstructGridModel;
40 class ModelSpec;
41 class ScalarSettings;
42 class VectorSettings;
43 class PartSettings;
44 class CuttingPlane;
45 class Isosurface;
46 class Isovolume;
47 class ParticleTraceGroup;
48 class MirrorSettings;
49 
50 
51 
52 //==================================================================================================
53 //
54 //
55 //
56 //==================================================================================================
57 class CEE_UG_EXPORT ResultSelectionPropertyHandler
58 {
59 public:
61  {
68  PER_PART_FRINGES_RESULT_IDS
69  };
70 
71 public:
74 
75  static Str propertySetClassType();
76  static bool isValidPropertySet(const PropertySet& propSet);
77  Variant propertyValue(PropertyKey key) const;
78  void setPropertyValue(PropertyKey key, Variant data);
79 
80  void applyToModelSpec(ModelSpec* modelSpec) const;
81  void buildProperties(const ModelSpec& modelSpec);
82 
83 private:
84  CEE_PRIVATE_IMPL(ResultSelectionPropertyHandler);
85  CEE_DISALLOW_COPY_AND_ASSIGN(ResultSelectionPropertyHandler);
86 };
87 
88 
89 //==================================================================================================
90 //
91 //
92 //
93 //==================================================================================================
94 class CEE_UG_EXPORT SetPropertyHandler
95 {
96 public:
98  {
100  SET_IDS
101  };
102 
103 
104 public:
107 
108  static Str propertySetClassType();
109  static bool isValidPropertySet(const PropertySet& propSet);
110  Variant propertyValue(PropertyKey key) const;
111  void setPropertyValue(PropertyKey key, Variant data);
112 
113  void applyToModelSpec(ModelSpec* modelSpec);
114  void buildProperties(const ModelSpec& modelSpec);
115 
116 private:
117  CEE_PRIVATE_IMPL(SetPropertyHandler);
118  CEE_DISALLOW_COPY_AND_ASSIGN(SetPropertyHandler);
119 };
120 
121 
122 //==================================================================================================
123 //
124 //
125 //
126 //==================================================================================================
127 class CEE_UG_EXPORT StateSelectionPropertyHandler
128 {
129 public:
131  {
136  MODE_SHAPE_INTERPOLATE_SCALARS
137  };
138 
139 public:
142 
143  static Str propertySetClassType();
144  static bool isValidPropertySet(const PropertySet& propSet);
145  Variant propertyValue(PropertyKey key) const;
146  void setPropertyValue(PropertyKey key, Variant data);
147 
148  void applyToModelSpec(ModelSpec* modelSpec) const;
149  void buildProperties(const ModelSpec& modelSpec);
150 
151 private:
152  CEE_PRIVATE_IMPL(StateSelectionPropertyHandler);
153  CEE_DISALLOW_COPY_AND_ASSIGN(StateSelectionPropertyHandler);
154 };
155 
156 
157 
158 //==================================================================================================
159 //
160 //
161 //
162 //==================================================================================================
164 {
165 public:
167  {
178  UNDEFINED_OPACITY
179  };
180 
181 public:
184 
185  static Str propertySetClassType();
186  static bool isValidPropertySet(const PropertySet& propSet);
187  Variant propertyValue(PropertyKey key) const;
188  void setPropertyValue(PropertyKey key, Variant data);
189 
190  bool decodeContext(int* resultId) const;
191  void encodeContext(int resultId);
192  void applyToScalarSettings(ScalarSettings* scalarSettings) const;
193  void buildProperties(const ScalarSettings& scalarSettings);
194 
195 private:
197  CEE_DISALLOW_COPY_AND_ASSIGN(ColorMapperFilledContoursUniformPropertyHandler);
198 };
199 
200 
201 
202 //==================================================================================================
203 //
204 //
205 //
206 //==================================================================================================
208 {
209 public:
211  {
220  UNDEFINED_OPACITY
221  };
222 
223 public:
226 
227  static Str propertySetClassType();
228  static bool isValidPropertySet(const PropertySet& propSet);
229  Variant propertyValue(PropertyKey key) const;
230  void setPropertyValue(PropertyKey key, Variant data);
231 
232  bool decodeContext(int* resultId) const;
233  void encodeContext(int resultId);
234  void applyToScalarSettings(ScalarSettings* scalarSettings) const;
235  void buildProperties(const ScalarSettings& scalarSettings);
236 
237 private:
239  CEE_DISALLOW_COPY_AND_ASSIGN(ColorMapperFilledContoursPropertyHandler);
240 };
241 
242 
243 
244 //==================================================================================================
245 //
246 //
247 //
248 //==================================================================================================
250 {
251 public:
253  {
263  UNDEFINED_OPACITY
264  };
265 
266 public:
269 
270  static Str propertySetClassType();
271  static bool isValidPropertySet(const PropertySet& propSet);
272  Variant propertyValue(PropertyKey key) const;
273  void setPropertyValue(PropertyKey key, Variant data);
274 
275  bool decodeContext(int* resultId) const;
276  void encodeContext(int resultId);
277  void applyToScalarSettings(ScalarSettings* scalarSettings) const;
278  void buildProperties(const ScalarSettings& scalarSettings);
279 
280 private:
281  CEE_PRIVATE_IMPL(ColorMapperContinuousPropertyHandler);
282  CEE_DISALLOW_COPY_AND_ASSIGN(ColorMapperContinuousPropertyHandler);
283 };
284 
285 
286 //==================================================================================================
287 //
288 //
289 //
290 //==================================================================================================
292 {
293 public:
295  {
299  LINE_WIDTH,
300  BAR_WIDTH,
301  VISIBILITY_MODE,
302  COLOR_MARKER_POSITIONS,
303  COLOR_MARKER_COLORS,
304  COLOR_MARKER_DESCRIPTIONS,
305  CUSTOM_LEGEND_TITLE,
306  NUMERIC_FORMAT,
307  NUMERIC_PRECISION,
308  USER_SCALING_FIRST_DEGREE,
309  USER_SCALING_CONSTANT,
310  FORCE_UNIFORM_LEVEL_SPACING,
311  ABOVE_BELOW_RANGE_MARKER_MODE,
312  COLOR_MARKER_BOX_HEIGHT,
313  COLOR_MARKER_VERTICAL_MARGIN,
314  FORCE_TICKMARKS_OVER_LEGEND,
315  TICKMARKS_POSITION,
316  DIRECTION,
317  TICKMARKS_SKIP_OVERLAPPING_LABELS,
318  TICKMARKS_MINIMUM_LABEL_DISTANCE,
319 
320  // Deprecated:
321  DEPRECATED_VISIBLE
322  };
323 
324 public:
327 
328  static Str propertySetClassType();
329  static bool isValidPropertySet(const PropertySet& propSet);
330  Variant propertyValue(PropertyKey key) const;
331  void setPropertyValue(PropertyKey key, Variant data);
332 
333  bool decodeContext(int* resultId) const;
334  void encodeContext(int resultId);
335  void applyToScalarSettings(ScalarSettings* scalarSettings) const;
336  void buildProperties(const ScalarSettings& scalarSettings);
337 
338 private:
339  CEE_PRIVATE_IMPL(OverlayColorLegendPropertyHandler);
340  CEE_DISALLOW_COPY_AND_ASSIGN(OverlayColorLegendPropertyHandler);
341 };
342 
343 
344 //==================================================================================================
345 //
346 //
347 //
348 //==================================================================================================
349 class CEE_UG_EXPORT ScalarSettingsPropertyHandler
350 {
351 public:
353  {
362  CONTOUR_LINES_SINGLE_COLOR
363  };
364 
365 public:
368 
369  static Str propertySetClassType();
370  static bool isValidPropertySet(const PropertySet& propSet);
371  Variant propertyValue(PropertyKey key) const;
372  void setPropertyValue(PropertyKey key, Variant data);
373 
374  bool decodeContext(int* resultId) const;
375  void encodeContext(int resultId);
376  void applyToScalarSettings(ScalarSettings* scalarSettings) const;
377  void buildProperties(const ScalarSettings& scalarSettings);
378 
379 private:
380  CEE_PRIVATE_IMPL(ScalarSettingsPropertyHandler);
381  CEE_DISALLOW_COPY_AND_ASSIGN(ScalarSettingsPropertyHandler);
382 };
383 
384 
385 //==================================================================================================
386 //
387 //
388 //
389 //==================================================================================================
390 class CEE_UG_EXPORT VectorSettingsPropertyHandler
391 {
392 public:
394  {
413  VECTOR_TYPE
414  };
415 
416 public:
419 
420  static Str propertySetClassType();
421  static bool isValidPropertySet(const PropertySet& propSet);
422  Variant propertyValue(PropertyKey key) const;
423  void setPropertyValue(PropertyKey key, Variant data);
424 
425  bool decodeContext(int* resultId) const;
426  void encodeContext(int resultId);
427  void applyToVectorSettings(VectorSettings* vectorSettings) const;
428  void buildProperties(const VectorSettings& vectorSettings);
429 
430 private:
431  CEE_PRIVATE_IMPL(VectorSettingsPropertyHandler);
432  CEE_DISALLOW_COPY_AND_ASSIGN(VectorSettingsPropertyHandler);
433 };
434 
435 
436 //==================================================================================================
437 //
438 //
439 //
440 //==================================================================================================
441 class CEE_UG_EXPORT PartSettingsPropertyHandler
442 {
443 public:
445  {
468  TEXTURE_FILTER_NEAREST
469  };
470 
471 public:
472  PartSettingsPropertyHandler(PropertySet* propSet, ImageResources* imageResources);
474 
475  static Str propertySetClassType();
476  static bool isValidPropertySet(const PropertySet& propSet);
477  Variant propertyValue(PropertyKey key) const;
478  void setPropertyValue(PropertyKey key, Variant data);
479 
480  bool decodeContext(size_t* geoIdx, int* partId) const;
481  void encodeContext(size_t geoIdx, int partId);
482  void applyToPartSettings(PartSettings* partSettings) const;
483  void buildProperties(const PartSettings& partSettings);
484 
485 private:
486  CEE_PRIVATE_IMPL(PartSettingsPropertyHandler);
487  CEE_DISALLOW_COPY_AND_ASSIGN(PartSettingsPropertyHandler);
488 };
489 
490 
491 //==================================================================================================
492 //
493 //
494 //
495 //==================================================================================================
496 class CEE_UG_EXPORT CuttingPlanePropertyHandler
497 {
498 public:
500  {
518  CRINKLE_CUT_SURFACE
519  };
520 
521 public:
524 
525  static Str propertySetClassType();
526  static bool isValidPropertySet(const PropertySet& propSet);
527  Variant propertyValue(PropertyKey key) const;
528  void setPropertyValue(PropertyKey key, Variant data);
529 
530  void applyToCuttingPlane(ug::CuttingPlane* cuttingPlane) const;
531  void buildProperties(const ug::CuttingPlane& cuttingPlane);
532 
533 private:
534  CEE_PRIVATE_IMPL(CuttingPlanePropertyHandler);
535  CEE_DISALLOW_COPY_AND_ASSIGN(CuttingPlanePropertyHandler);
536 };
537 
538 
539 //==================================================================================================
540 //
541 //
542 //
543 //==================================================================================================
544 class CEE_UG_EXPORT IsosurfacePropertyHandler
545 {
546 public:
548  {
559  SPECULAR_INTENSITY
560  };
561 
562 public:
565 
566  static Str propertySetClassType();
567  static bool isValidPropertySet(const PropertySet& propSet);
568  Variant propertyValue(PropertyKey key) const;
569  void setPropertyValue(PropertyKey key, Variant data);
570 
571  void applyToIsosurface(ug::Isosurface* isosurface) const;
572  void buildProperties(const ug::Isosurface& isosurface);
573 
574 private:
575  CEE_PRIVATE_IMPL(IsosurfacePropertyHandler);
576  CEE_DISALLOW_COPY_AND_ASSIGN(IsosurfacePropertyHandler);
577 };
578 
579 
580 //==================================================================================================
581 //
582 //
583 //
584 //==================================================================================================
585 class CEE_UG_EXPORT IsovolumePropertyHandler
586 {
587 public:
589  {
603  TEXTURE_ENVIRONMENT_MAPPING
604  };
605 
606 public:
607  IsovolumePropertyHandler(PropertySet* propSet, ImageResources* imageResources);
609 
610  static Str propertySetClassType();
611  static bool isValidPropertySet(const PropertySet& propSet);
612  Variant propertyValue(PropertyKey key) const;
613  void setPropertyValue(PropertyKey key, Variant data);
614 
615  void applyToIsovolume(ug::Isovolume* isovolume) const;
616  void buildProperties(const ug::Isovolume& isovolume);
617 
618 private:
619  CEE_PRIVATE_IMPL(IsovolumePropertyHandler);
620  CEE_DISALLOW_COPY_AND_ASSIGN(IsovolumePropertyHandler);
621 };
622 
623 
624 
625 //==================================================================================================
626 //
627 //
628 //
629 //==================================================================================================
631 {
632 public:
634  {
648  IGNORE_CLIPPING
649  };
650 
651 public:
654 
655  static Str propertySetClassType();
656  static bool isValidPropertySet(const PropertySet& propSet);
657  Variant propertyValue(PropertyKey key) const;
658  void setPropertyValue(PropertyKey key, Variant data);
659 
660  void applyToParticleTraceGroup(ug::ParticleTraceGroup* particleTraceGroup) const;
661  void buildProperties(const ug::ParticleTraceGroup& particleTraceGroup);
662 
663 private:
664  CEE_PRIVATE_IMPL(ParticleTraceGroupPropertyHandler);
665  CEE_DISALLOW_COPY_AND_ASSIGN(ParticleTraceGroupPropertyHandler);
666 };
667 
668 
669 //==================================================================================================
670 //
671 //
672 //
673 //==================================================================================================
674 class CEE_UG_EXPORT MirrorSettingsPropertyHandler
675 {
676 public:
678  {
692  REFLECTIVE
693  };
694 
695 public:
698 
699  static Str propertySetClassType();
700  static bool isValidPropertySet(const PropertySet& propSet);
701  Variant propertyValue(PropertyKey key) const;
702  void setPropertyValue(PropertyKey key, Variant data);
703 
704  void applyToMirrorSettings(ug::MirrorSettings* mirrorSettings) const;
705  void buildProperties(const ug::MirrorSettings& mirrorSettings);
706 
707 private:
708  CEE_PRIVATE_IMPL(MirrorSettingsPropertyHandler);
709  CEE_DISALLOW_COPY_AND_ASSIGN(MirrorSettingsPropertyHandler);
710 };
711 
712 
713 //==================================================================================================
714 //
715 //
716 //
717 //==================================================================================================
719 {
720 public:
722  {
724  NORMAL
725  };
726 
727 public:
730 
731  static Str propertySetClassType();
732  static bool isValidPropertySet(const PropertySet& propSet);
733  Variant propertyValue(PropertyKey key) const;
734  void setPropertyValue(PropertyKey key, Variant data);
735 
736  void applyToClippingPlane(Plane* plane) const;
737  void buildProperties(const Plane& plane);
738 
739 private:
740  CEE_PRIVATE_IMPL(ViewClippingPlanePropertyHandler);
741  CEE_DISALLOW_COPY_AND_ASSIGN(ViewClippingPlanePropertyHandler);
742 };
743 
744 
745 //==================================================================================================
746 //
747 //
748 //
749 //==================================================================================================
750 class CEE_UG_EXPORT CameraPropertyHandler
751 {
752 public:
754  {
760  ORTHO_HEIGHT
761  };
762 
763 public:
766 
767  static Str propertySetClassType();
768  static bool isValidPropertySet(const PropertySet& propSet);
769  Variant propertyValue(PropertyKey key) const;
770  void setPropertyValue(PropertyKey key, Variant data);
771 
772  void applyToCamera(vis::Camera* camera, const BoundingBox* viewBoundingBox) const;
773  void buildProperties(const vis::Camera& camera);
774 
775 private:
776  CEE_PRIVATE_IMPL(CameraPropertyHandler);
777  CEE_DISALLOW_COPY_AND_ASSIGN(CameraPropertyHandler);
778 };
779 
780 
781 
782 //==================================================================================================
783 //
784 //
785 //
786 //==================================================================================================
787 class CEE_UG_EXPORT BackgroundPropertyHandler
788 {
789 public:
791  {
794  BOTTOM_BACKGROUND_COLOR
795  };
796 
797 public:
800 
801  static Str propertySetClassType();
802  static bool isValidPropertySet(const PropertySet& propSet);
803  Variant propertyValue(PropertyKey key) const;
804  void setPropertyValue(PropertyKey key, Variant data);
805 
806  void applyToBackground(vis::Background* background) const;
807  void buildProperties(const vis::Background& background);
808 
809 private:
810  CEE_PRIVATE_IMPL(BackgroundPropertyHandler);
811  CEE_DISALLOW_COPY_AND_ASSIGN(BackgroundPropertyHandler);
812 };
813 
814 
815 //==================================================================================================
816 //
817 //
818 //
819 //==================================================================================================
820 class CEE_UG_EXPORT OverlayImagePropertyHandler
821 {
822 public:
824  {
831  GLOBAL_ALPHA
832  };
833 
834 public:
835  OverlayImagePropertyHandler(PropertySet* propSet, ImageResources* imageResources);
837 
838  static Str propertySetClassType();
839  static bool isValidPropertySet(const PropertySet& propSet);
840  Variant propertyValue(PropertyKey key) const;
841  void setPropertyValue(PropertyKey key, Variant data);
842 
843  void applyToOverlayImage(vis::OverlayImage* overlayImage, vis::OverlayItem::LayoutCorner* layoutCorner, vis::OverlayItem::LayoutDirection* layoutDirection) const;
844  void buildProperties(const vis::OverlayImage& overlayImage, vis::OverlayItem::LayoutCorner layoutCorner, vis::OverlayItem::LayoutDirection layoutDirection);
845 
846 private:
847  CEE_PRIVATE_IMPL(OverlayImagePropertyHandler);
848  CEE_DISALLOW_COPY_AND_ASSIGN(OverlayImagePropertyHandler);
849 };
850 
851 
852 
853 //==================================================================================================
854 //
855 //
856 //
857 //==================================================================================================
858 class CEE_UG_EXPORT ViewerPropertyHandler
859 {
860 public:
862  {
872  VIEW_TITLE
873  };
874 
875 public:
878 
879  static Str propertySetClassType();
880  static bool isValidPropertySet(const PropertySet& propSet);
881  Variant propertyValue(PropertyKey key) const;
882  void setPropertyValue(PropertyKey key, Variant data);
883 
884  double defaultFramesPerSecond() const;
885  void setDefaultFramesPerSecond(double animationFPS);
886 
887  int firstFrameDelay() const;
888  void setFirstFrameDelay(int milliSeconds);
889 
890  int lastFrameDelay() const;
891  void setLastFrameDelay(int milliSeconds);
892 
893  int numberOfParticleTraceAnimationSteps() const;
894  void setNumberOfParticleTraceAnimationSteps(int numAnimationSteps);
895 
896  bool hasStartAnimation() const;
897  void setStartAnimation(bool start);
898 
899  Color3f haloColor() const;
900  void setHaloColor(const Color3f& color);
901 
902  int animatedCuttingPlaneIndex() const;
903  void setAnimatedCuttingPlaneIndex(int index);
904 
905  int animatedCuttingPlaneNumberOfFrames() const;
906  void setAnimatedCuttingPlaneNumberOfFrames(int numFrames);
907 
908  double animatedCuttingPlaneDistancePerFrame() const;
909  void setAnimatedCuttingPlaneDistancePerFrame(double distance);
910 
911  Str viewTitle() const;
912  void setViewTitle(const Str& title);
913 
914 private:
915  CEE_PRIVATE_IMPL(ViewerPropertyHandler);
916  CEE_DISALLOW_COPY_AND_ASSIGN(ViewerPropertyHandler);
917 };
918 
919 
920 //==================================================================================================
921 //
922 //
923 //
924 //==================================================================================================
925 class CEE_UG_EXPORT OverlayPlotPropertyHandler
926 {
927 public:
929  {
955  LOGARITHMIC_SCALE_Y
956  };
957 
958 public:
961 
962  static Str propertySetClassType();
963  static bool isValidPropertySet(const PropertySet& propSet);
964  Variant propertyValue(PropertyKey key) const;
965  void setPropertyValue(PropertyKey key, Variant data);
966 
967 private:
968  CEE_PRIVATE_IMPL(OverlayPlotPropertyHandler);
969  CEE_DISALLOW_COPY_AND_ASSIGN(OverlayPlotPropertyHandler);
970 };
971 
972 
973 //==================================================================================================
974 //
975 //
976 //
977 //==================================================================================================
979 {
980 public:
982  {
988  COLOR
989  };
990 
991 public:
994 
995  static Str propertySetClassType();
996  static bool isValidPropertySet(const PropertySet& propSet);
997  Variant propertyValue(PropertyKey key) const;
998  void setPropertyValue(PropertyKey key, Variant data);
999 
1000 private:
1001  CEE_PRIVATE_IMPL(OverlayPlotCurvePropertyHandler);
1002  CEE_DISALLOW_COPY_AND_ASSIGN(OverlayPlotCurvePropertyHandler);
1003 };
1004 
1005 } // namespace ug
1006 } // namespace cee
Below range color.
Definition: PropertyHandlers.h:218
Overlay plot width
Definition: PropertyHandlers.h:932
Undefined color.
Definition: PropertyHandlers.h:262
Above range color.
Definition: PropertyHandlers.h:217
Values for each tick mark on the color legend. First value is min range, last value is max range...
Definition: PropertyHandlers.h:215
Vector draw mode.
Definition: PropertyHandlers.h:410
Unique id for identifying a plot.
Definition: PropertyHandlers.h:930
Compute isovolume from visible parts only.
Definition: PropertyHandlers.h:598
LayoutDirection
Enumerator for horizontal or vertical orientation of layout items. Describes which direction addition...
Definition: OverlayItem.h:49
Mode shape interpolation type. (LINEAR or SINE)
Definition: PropertyHandlers.h:135
Id of scalar result mapped on primitives.
Definition: PropertyHandlers.h:638
Draw marker line.
Definition: PropertyHandlers.h:949
Property handler for continuous colormapper properties.
Definition: PropertyHandlers.h:249
Property handler for isovolume properties.
Definition: PropertyHandlers.h:585
Id of scalar result used to calculate isosurface.
Definition: PropertyHandlers.h:551
Undefined color.
Definition: PropertyHandlers.h:219
PropertyKey
List of property keys for ScalarSettingsPropertyHandler.
Definition: PropertyHandlers.h:352
Draw border.
Definition: PropertyHandlers.h:939
Minimum y axis range value.
Definition: PropertyHandlers.h:944
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Isovolume draw style.
Definition: PropertyHandlers.h:599
Maximum y axis range value.
Definition: PropertyHandlers.h:945
Color of text in the plot (labels/titles)
Definition: PropertyHandlers.h:947
Minimum x axis range value.
Definition: PropertyHandlers.h:942
Background opacity
Definition: PropertyHandlers.h:936
The camera configuration of a view.
Definition: Camera.h:33
Use logarithmic scale (true/false)
Definition: PropertyHandlers.h:258
Compute isosurface from visible parts only.
Definition: PropertyHandlers.h:556
PropertyKey
List of property keys for ParticleTraceGroupPropertyHandler.
Definition: PropertyHandlers.h:633
Property handler for result section properties.
Definition: PropertyHandlers.h:57
PropertyKey
List of property keys for ViewerPropertyHandler.
Definition: PropertyHandlers.h:861
Arrow head, relative length.
Definition: PropertyHandlers.h:406
Arrow head, relative radius.
Definition: PropertyHandlers.h:405
Legend line color.
Definition: PropertyHandlers.h:298
If true, the vectors are only shown on the nodes referenced by the display model. If false...
Definition: PropertyHandlers.h:408
Border color.
Definition: PropertyHandlers.h:937
Plane first A
Definition: PropertyHandlers.h:680
Configuration of a cutting plane.
Definition: CuttingPlane.h:33
Isovolume specular intensity.
Definition: PropertyHandlers.h:601
Part draw style.
Definition: PropertyHandlers.h:449
Array of level colors.
Definition: PropertyHandlers.h:174
Below range color.
Definition: PropertyHandlers.h:261
Property handler for particle trace group properties.
Definition: PropertyHandlers.h:630
Set if the traces in the group should be visible or not.
Definition: PropertyHandlers.h:635
Displacement result id.
Definition: PropertyHandlers.h:65
Maximum range value.
Definition: PropertyHandlers.h:170
Isovolume color.
Definition: PropertyHandlers.h:597
Use logarithmic scale (true/false)
Definition: PropertyHandlers.h:214
PropertyKey
List of property keys for SetPropertyHandler.
Definition: PropertyHandlers.h:97
If and how scalar range is computed automatically: off, all items, visible items. ...
Definition: PropertyHandlers.h:358
Fringes visibility.
Definition: PropertyHandlers.h:457
The width of the lines drawn.
Definition: PropertyHandlers.h:455
Below range color.
Definition: PropertyHandlers.h:176
LayoutCorner
Enumerator for the different locations/"corners" of the view.
Definition: OverlayItem.h:35
A view overlay item capable of showing an image with optional blending.
Definition: OverlayImage.h:29
Primitive radius scale mode.
Definition: PropertyHandlers.h:641
Smooth shading on/off.
Definition: PropertyHandlers.h:454
The title of the y axis.
Definition: PropertyHandlers.h:941
Number of mirror passes.
Definition: PropertyHandlers.h:679
Axis grid lines color.
Definition: PropertyHandlers.h:953
Draw grid lines.
Definition: PropertyHandlers.h:948
Image scale width
Definition: PropertyHandlers.h:826
PropertyKey
List of property keys for ColorMapperFilledContoursPropertyHandler.
Definition: PropertyHandlers.h:210
Above range color.
Definition: PropertyHandlers.h:260
Property handler for isosurface properties.
Definition: PropertyHandlers.h:544
Id of mapped vector result.
Definition: PropertyHandlers.h:505
Cutting plane surface draw style.
Definition: PropertyHandlers.h:512
Property handler for set properties.
Definition: PropertyHandlers.h:94
Enter the duration (in seconds) of the last frame for animation in selected view. ...
Definition: PropertyHandlers.h:865
The color of halos in the viewer, e.g. those used to highlight parts.
Definition: PropertyHandlers.h:868
Color scheme.
Definition: PropertyHandlers.h:257
Image layout direction
Definition: PropertyHandlers.h:829
Legend text color.
Definition: PropertyHandlers.h:297
Isovolume visibility.
Definition: PropertyHandlers.h:596
Property handler for scalar settings properties.
Definition: PropertyHandlers.h:349
Field of view.
Definition: PropertyHandlers.h:759
Scalar contour lines result id.
Definition: PropertyHandlers.h:63
Above range color.
Definition: PropertyHandlers.h:175
Contour lines visibility.
Definition: PropertyHandlers.h:458
Surface draw style.
Definition: PropertyHandlers.h:557
PropertyKey
List of property keys for StateSelectionPropertyHandler.
Definition: PropertyHandlers.h:130
Property handler for colormapper filled contours properties.
Definition: PropertyHandlers.h:207
Index of cutting plane to animate.
Definition: PropertyHandlers.h:869
A general unicode based string class.
Definition: Str.h:28
Index of VTFx data block containing the plot data.
Definition: PropertyHandlers.h:984
The distance length (delta) between each frame in the animation (in the direction of the cutting plan...
Definition: PropertyHandlers.h:871
Grid lines visibility.
Definition: PropertyHandlers.h:516
Blending mode.
Definition: PropertyHandlers.h:830
PropertyKey
List of property keys for CameraPropertyHandler.
Definition: PropertyHandlers.h:721
Element set filtering enabled/disabled.
Definition: PropertyHandlers.h:461
Plane second A
Definition: PropertyHandlers.h:684
Surface color.
Definition: PropertyHandlers.h:555
Number of colors.
Definition: PropertyHandlers.h:173
PropertyKey
List of property keys for OverlayPlotCurvePropertyHandler.
Definition: PropertyHandlers.h:981
Up vector.
Definition: PropertyHandlers.h:757
Image name
Definition: PropertyHandlers.h:825
Id of mapped scalar result.
Definition: PropertyHandlers.h:504
Scale factor.
Definition: PropertyHandlers.h:397
Arrow shaft, relative radius.
Definition: PropertyHandlers.h:404
Texture modulate.
Definition: PropertyHandlers.h:467
The title of the x axis.
Definition: PropertyHandlers.h:940
Index of variable in VTFx data block containing curve values for y axis.
Definition: PropertyHandlers.h:986
Enter the duration (in seconds) of the first frame for animation in selected view.
Definition: PropertyHandlers.h:864
PropertyKey
List of property keys for VectorSettingsPropertyHandler.
Definition: PropertyHandlers.h:393
Array of state ids.
Definition: PropertyHandlers.h:132
Eye lift factor (to avoid z-fighting)
Definition: PropertyHandlers.h:462
Animation frames per second.
Definition: PropertyHandlers.h:863
Part color.
Definition: PropertyHandlers.h:450
Contour lines line width.
Definition: PropertyHandlers.h:360
Plane first B
Definition: PropertyHandlers.h:681
Relative thickness of ribbon.
Definition: PropertyHandlers.h:646
Class defining a plane in space.
Definition: Plane.h:27
Top background color for gradient background coloring.
Definition: PropertyHandlers.h:793
Index of context geometry.
Definition: PropertyHandlers.h:446
Context result id.
Definition: PropertyHandlers.h:212
Lighting.
Definition: PropertyHandlers.h:453
A property set stores a set of properties each consisting of a key and a value.
Definition: PropertySet.h:28
PropertyKey
List of property keys for IsovolumePropertyHandler.
Definition: PropertyHandlers.h:588
If true, part source color will be used.
Definition: PropertyHandlers.h:515
If true, the vectors are defined in local coordinates and will be transformed with the part...
Definition: PropertyHandlers.h:407
Background color
Definition: PropertyHandlers.h:935
Plane first D
Definition: PropertyHandlers.h:683
If true and there is animation, it will start automatically when loaded.
Definition: PropertyHandlers.h:867
Property handler for view clipping plane properties.
Definition: PropertyHandlers.h:718
Colors at values.
Definition: PropertyHandlers.h:259
Displacement visibility.
Definition: PropertyHandlers.h:460
Property handler for overlay image properties.
Definition: PropertyHandlers.h:820
Marker line color.
Definition: PropertyHandlers.h:951
Filtering minimum length.
Definition: PropertyHandlers.h:402
Color for single background coloring.
Definition: PropertyHandlers.h:792
Result value used for calculating isosurface.
Definition: PropertyHandlers.h:550
PropertyKey
List of property keys for CameraPropertyHandler.
Definition: PropertyHandlers.h:753
Property handler for vector settings properties.
Definition: PropertyHandlers.h:390
Color scheme.
Definition: PropertyHandlers.h:171
PropertyKey
List of property keys for ColorMapperContinuousPropertyHandler.
Definition: PropertyHandlers.h:252
Maximum range value.
Definition: PropertyHandlers.h:256
Settings for mirrors in the model.
Definition: MirrorSettings.h:28
Minimum range value.
Definition: PropertyHandlers.h:169
Scalar fringes result id.
Definition: PropertyHandlers.h:62
Context result id.
Definition: PropertyHandlers.h:296
Axis-aligned bounding box.
Definition: BoundingBox.h:27
Property handler for state selection properties.
Definition: PropertyHandlers.h:127
Id of mapped scalar result.
Definition: PropertyHandlers.h:552
Id of mapped vector result.
Definition: PropertyHandlers.h:595
Plane master D
Definition: PropertyHandlers.h:691
Set if the cutting plane and its features (vectors, grid, etc) should be visible or not...
Definition: PropertyHandlers.h:501
Project the vectors onto the cutting plane.
Definition: PropertyHandlers.h:517
Primitive visualization style (Ribbon, Comet, etc...)
Definition: PropertyHandlers.h:639
Clamping minimum length.
Definition: PropertyHandlers.h:400
Property handler for mirror settings properties.
Definition: PropertyHandlers.h:674
PropertyKey
List of property keys for IsosurfacePropertyHandler.
Definition: PropertyHandlers.h:547
Class for storing an RGB color triplet.
Definition: Color3f.h:25
Draw the curve legend.
Definition: PropertyHandlers.h:946
Configuration of an isovolume.
Definition: Isovolume.h:33
Number of mode shape animation frames.
Definition: PropertyHandlers.h:133
Property handler for cutting plane properties.
Definition: PropertyHandlers.h:496
PropertyKey
List of property keys for MirrorSettingsPropertyHandler.
Definition: PropertyHandlers.h:677
Grid spacing.
Definition: PropertyHandlers.h:507
PropertyKey
List of property keys for CuttingPlanePropertyHandler.
Definition: PropertyHandlers.h:499
Plane master A
Definition: PropertyHandlers.h:688
Maximum iso value for calculating isovolume.
Definition: PropertyHandlers.h:592
PropertyKey
List of property keys for ColorMapperFilledContoursUniformPropertyHandler.
Definition: PropertyHandlers.h:166
Model clipping.
Definition: PropertyHandlers.h:510
Single color.
Definition: PropertyHandlers.h:399
Property handler for overlay plot properties.
Definition: PropertyHandlers.h:925
The size of the points drawn.
Definition: PropertyHandlers.h:456
Primitive radius factor.
Definition: PropertyHandlers.h:642
Configuration of a group of particle trace objects.
Definition: ParticleTraceGroup.h:31
Eye position.
Definition: PropertyHandlers.h:755
Surface color.
Definition: PropertyHandlers.h:509
Length of arrow primitive.
Definition: PropertyHandlers.h:647
Contour lines color mode.
Definition: PropertyHandlers.h:361
Node averaging.
Definition: PropertyHandlers.h:357
View reference point.
Definition: PropertyHandlers.h:756
Color scheme.
Definition: PropertyHandlers.h:213
Context result id.
Definition: PropertyHandlers.h:168
Image scale height
Definition: PropertyHandlers.h:827
Maximum scalar filtering value.
Definition: PropertyHandlers.h:356
Set if the isovolume and its features (vectors) should be visible or not.
Definition: PropertyHandlers.h:590
Image layout corner
Definition: PropertyHandlers.h:828
Context result id.
Definition: PropertyHandlers.h:254
Set if the isosurface and its features (vectors) should be visible or not.
Definition: PropertyHandlers.h:549
Draw background.
Definition: PropertyHandlers.h:934
Surface opacity.
Definition: PropertyHandlers.h:558
The Variant class acts like a union for the most common data types.
Definition: Variant.h:30
Plane second D
Definition: PropertyHandlers.h:687
Settings for a specific scalar result.
Definition: ScalarSettings.h:34
Scale mode.
Definition: PropertyHandlers.h:396
Surface specular intensity.
Definition: PropertyHandlers.h:514
Point sampling, number of pulses.
Definition: PropertyHandlers.h:643
Property handler for overlay color legend properties.
Definition: PropertyHandlers.h:291
Plane master B
Definition: PropertyHandlers.h:689
PropertyKey
List of property keys for ResultSelectionPropertyHandler.
Definition: PropertyHandlers.h:60
Surface visibility.
Definition: PropertyHandlers.h:554
Surface opacity.
Definition: PropertyHandlers.h:513
Id of scalar result used for isovolume calculation.
Definition: PropertyHandlers.h:593
Marker line value.
Definition: PropertyHandlers.h:950
Array of seed point for particle traces in group.
Definition: PropertyHandlers.h:636
Id of mapped scalar result.
Definition: PropertyHandlers.h:594
Compute cutting plane from visible parts only.
Definition: PropertyHandlers.h:511
The model specification.
Definition: ModelSpec.h:35
Property handler for viewer properties.
Definition: PropertyHandlers.h:858
Array with color for each of the &#39;num_colors&#39; levels.
Definition: PropertyHandlers.h:216
Index of variable in VTFx data block containing curve values for x axis.
Definition: PropertyHandlers.h:985
Relative width of ribbon.
Definition: PropertyHandlers.h:645
Cutting plane defining normal.
Definition: PropertyHandlers.h:503
Overlay plot height
Definition: PropertyHandlers.h:931
Property handler for colormapper filled contours properties.
Definition: PropertyHandlers.h:163
Class for storing image resources.
Definition: ImageResources.h:30
Use logarithmic scaling.
Definition: PropertyHandlers.h:954
Isovolume opacity.
Definition: PropertyHandlers.h:600
Transformation result on/off.
Definition: PropertyHandlers.h:66
Mode shape animation type. (QUARTER, HALF or FULL)
Definition: PropertyHandlers.h:134
Plane master C
Definition: PropertyHandlers.h:690
Id of vector result used to calculate particle trajectories.
Definition: PropertyHandlers.h:637
Maximum x axis range value.
Definition: PropertyHandlers.h:943
PropertyKey
List of property keys for BackgroundPropertyHandler.
Definition: PropertyHandlers.h:790
Number of arrows to skip between each arrow that is drawn.
Definition: PropertyHandlers.h:411
Grid spacing mode for mapped vector result.
Definition: PropertyHandlers.h:506
Texture environment mapping.
Definition: PropertyHandlers.h:464
Surface visibility.
Definition: PropertyHandlers.h:553
Plane first C
Definition: PropertyHandlers.h:682
Undefined color.
Definition: PropertyHandlers.h:177
Context result id.
Definition: PropertyHandlers.h:395
Projection type.
Definition: PropertyHandlers.h:758
Settings for a specific part.
Definition: PartSettings.h:31
Property handler for camera properties.
Definition: PropertyHandlers.h:750
Id of context part.
Definition: PropertyHandlers.h:447
Vector result id.
Definition: PropertyHandlers.h:64
Minimum scalar filtering value.
Definition: PropertyHandlers.h:355
Property handler for part settings properties.
Definition: PropertyHandlers.h:441
PropertyKey
List of property keys for PartSettingsPropertyHandler.
Definition: PropertyHandlers.h:444
Opacity.
Definition: PropertyHandlers.h:451
PropertyKey
List of property keys for OverlayColorLegendPropertyHandler.
Definition: PropertyHandlers.h:294
Plane second C
Definition: PropertyHandlers.h:686
PropertyKey
List of property keys for OverlayImagePropertyHandler.
Definition: PropertyHandlers.h:823
Texture, use automatic image scaling.
Definition: PropertyHandlers.h:466
Specular intensity.
Definition: PropertyHandlers.h:452
Plot title.
Definition: PropertyHandlers.h:933
Visibility result on/off.
Definition: PropertyHandlers.h:67
Property handler for background properties.
Definition: PropertyHandlers.h:787
Axis color.
Definition: PropertyHandlers.h:952
Settings for a specific vector result.
Definition: VectorSettings.h:29
PropertyKey
List of property keys for OverlayPlotPropertyHandler.
Definition: PropertyHandlers.h:928
Filtering maximum length.
Definition: PropertyHandlers.h:403
Minimum iso value for calculating isovolume.
Definition: PropertyHandlers.h:591
Point in plane.
Definition: PropertyHandlers.h:723
Number of frames to include in the cutting plane animation.
Definition: PropertyHandlers.h:870
Context result id.
Definition: PropertyHandlers.h:354
Plane second B
Definition: PropertyHandlers.h:685
Set mode.
Definition: PropertyHandlers.h:99
Number of contour levels.
Definition: PropertyHandlers.h:359
Maximum number of vector arrows do draw.
Definition: PropertyHandlers.h:412
Configuration of an isosurface.
Definition: Isosurface.h:31
Vector visibility.
Definition: PropertyHandlers.h:459
Texture repeat factor.
Definition: PropertyHandlers.h:465
Minimum range value.
Definition: PropertyHandlers.h:255
Surface visibility.
Definition: PropertyHandlers.h:508
Texture image name.
Definition: PropertyHandlers.h:463
Border width.
Definition: PropertyHandlers.h:938
Cutting plane defining point.
Definition: PropertyHandlers.h:502
Primitive color.
Definition: PropertyHandlers.h:640
Visibility on/off.
Definition: PropertyHandlers.h:448
Texture image name.
Definition: PropertyHandlers.h:602
Property handler for overlay plot curve properties.
Definition: PropertyHandlers.h:978
Use logarithmic scale (true/false)
Definition: PropertyHandlers.h:172
Number of steps for particle tracing.
Definition: PropertyHandlers.h:866
Unique id for identifying a plot.
Definition: PropertyHandlers.h:983
Small class for the view background settings.
Definition: Background.h:27
Curve title
Definition: PropertyHandlers.h:987
Length of comet primitive.
Definition: PropertyHandlers.h:644
Line width of vector arrows when draw mode is simple vectors (not 3D)
Definition: PropertyHandlers.h:409
Clamping maximum length.
Definition: PropertyHandlers.h:401
Color mode.
Definition: PropertyHandlers.h:398