15 #include "CeeUnstructGrid/Base.h" 17 #include "CeeCore/Variant.h" 18 #include "CeeCore/Str.h" 19 #include "CeeVisualization/OverlayItem.h" 20 #include "CeeCore/BoundingBox.h" 39 class UnstructGridModel;
47 class ParticleTraceGroup;
68 PER_PART_FRINGES_RESULT_IDS
75 static Str propertySetClassType();
76 static bool isValidPropertySet(
const PropertySet& propSet);
80 void applyToModelSpec(
ModelSpec* modelSpec)
const;
81 void buildProperties(
const ModelSpec& modelSpec);
108 static Str propertySetClassType();
109 static bool isValidPropertySet(
const PropertySet& propSet);
113 void applyToModelSpec(
ModelSpec* modelSpec);
114 void buildProperties(
const ModelSpec& modelSpec);
136 MODE_SHAPE_INTERPOLATE_SCALARS
143 static Str propertySetClassType();
144 static bool isValidPropertySet(
const PropertySet& propSet);
148 void applyToModelSpec(
ModelSpec* modelSpec)
const;
149 void buildProperties(
const ModelSpec& modelSpec);
185 static Str propertySetClassType();
186 static bool isValidPropertySet(
const PropertySet& propSet);
190 bool decodeContext(
int* resultId)
const;
191 void encodeContext(
int resultId);
227 static Str propertySetClassType();
228 static bool isValidPropertySet(
const PropertySet& propSet);
232 bool decodeContext(
int* resultId)
const;
233 void encodeContext(
int resultId);
270 static Str propertySetClassType();
271 static bool isValidPropertySet(
const PropertySet& propSet);
275 bool decodeContext(
int* resultId)
const;
276 void encodeContext(
int resultId);
302 COLOR_MARKER_POSITIONS,
304 COLOR_MARKER_DESCRIPTIONS,
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,
317 TICKMARKS_SKIP_OVERLAPPING_LABELS,
318 TICKMARKS_MINIMUM_LABEL_DISTANCE,
328 static Str propertySetClassType();
329 static bool isValidPropertySet(
const PropertySet& propSet);
333 bool decodeContext(
int* resultId)
const;
334 void encodeContext(
int resultId);
362 CONTOUR_LINES_SINGLE_COLOR
369 static Str propertySetClassType();
370 static bool isValidPropertySet(
const PropertySet& propSet);
374 bool decodeContext(
int* resultId)
const;
375 void encodeContext(
int resultId);
420 static Str propertySetClassType();
421 static bool isValidPropertySet(
const PropertySet& propSet);
425 bool decodeContext(
int* resultId)
const;
426 void encodeContext(
int resultId);
468 TEXTURE_FILTER_NEAREST
475 static Str propertySetClassType();
476 static bool isValidPropertySet(
const PropertySet& propSet);
480 bool decodeContext(
size_t* geoIdx,
int* partId)
const;
481 void encodeContext(
size_t geoIdx,
int partId);
482 void applyToPartSettings(
PartSettings* partSettings)
const;
525 static Str propertySetClassType();
526 static bool isValidPropertySet(
const PropertySet& propSet);
566 static Str propertySetClassType();
567 static bool isValidPropertySet(
const PropertySet& propSet);
603 TEXTURE_ENVIRONMENT_MAPPING
610 static Str propertySetClassType();
611 static bool isValidPropertySet(
const PropertySet& propSet);
655 static Str propertySetClassType();
656 static bool isValidPropertySet(
const PropertySet& propSet);
699 static Str propertySetClassType();
700 static bool isValidPropertySet(
const PropertySet& propSet);
731 static Str propertySetClassType();
732 static bool isValidPropertySet(
const PropertySet& propSet);
736 void applyToClippingPlane(
Plane* plane)
const;
737 void buildProperties(
const Plane& plane);
767 static Str propertySetClassType();
768 static bool isValidPropertySet(
const PropertySet& propSet);
794 BOTTOM_BACKGROUND_COLOR
801 static Str propertySetClassType();
802 static bool isValidPropertySet(
const PropertySet& propSet);
838 static Str propertySetClassType();
839 static bool isValidPropertySet(
const PropertySet& propSet);
879 static Str propertySetClassType();
880 static bool isValidPropertySet(
const PropertySet& propSet);
884 double defaultFramesPerSecond()
const;
885 void setDefaultFramesPerSecond(
double animationFPS);
887 int firstFrameDelay()
const;
888 void setFirstFrameDelay(
int milliSeconds);
890 int lastFrameDelay()
const;
891 void setLastFrameDelay(
int milliSeconds);
893 int numberOfParticleTraceAnimationSteps()
const;
894 void setNumberOfParticleTraceAnimationSteps(
int numAnimationSteps);
896 bool hasStartAnimation()
const;
897 void setStartAnimation(
bool start);
900 void setHaloColor(
const Color3f& color);
902 int animatedCuttingPlaneIndex()
const;
903 void setAnimatedCuttingPlaneIndex(
int index);
905 int animatedCuttingPlaneNumberOfFrames()
const;
906 void setAnimatedCuttingPlaneNumberOfFrames(
int numFrames);
908 double animatedCuttingPlaneDistancePerFrame()
const;
909 void setAnimatedCuttingPlaneDistancePerFrame(
double distance);
911 Str viewTitle()
const;
912 void setViewTitle(
const Str& title);
962 static Str propertySetClassType();
963 static bool isValidPropertySet(
const PropertySet& propSet);
995 static Str propertySetClassType();
996 static bool isValidPropertySet(
const PropertySet& propSet);
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
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
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
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
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
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
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
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
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
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 'num_colors' 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
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
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
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