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);
300 COLOR_MARKER_POSITIONS,
302 COLOR_MARKER_DESCRIPTIONS,
306 USER_SCALING_FIRST_DEGREE,
307 USER_SCALING_CONSTANT,
308 FORCE_UNIFORM_LEVEL_SPACING,
309 ABOVE_BELOW_RANGE_MARKER_MODE,
310 COLOR_MARKER_BOX_HEIGHT,
311 COLOR_MARKER_VERTICAL_MARGIN,
312 FORCE_TICKMARKS_OVER_LEGEND,
324 static Str propertySetClassType();
325 static bool isValidPropertySet(
const PropertySet& propSet);
329 bool decodeContext(
int* resultId)
const;
330 void encodeContext(
int resultId);
358 CONTOUR_LINES_SINGLE_COLOR
365 static Str propertySetClassType();
366 static bool isValidPropertySet(
const PropertySet& propSet);
370 bool decodeContext(
int* resultId)
const;
371 void encodeContext(
int resultId);
415 static Str propertySetClassType();
416 static bool isValidPropertySet(
const PropertySet& propSet);
420 bool decodeContext(
int* resultId)
const;
421 void encodeContext(
int resultId);
463 TEXTURE_FILTER_NEAREST
470 static Str propertySetClassType();
471 static bool isValidPropertySet(
const PropertySet& propSet);
475 bool decodeContext(
size_t* geoIdx,
int* partId)
const;
476 void encodeContext(
size_t geoIdx,
int partId);
477 void applyToPartSettings(
PartSettings* partSettings)
const;
520 static Str propertySetClassType();
521 static bool isValidPropertySet(
const PropertySet& propSet);
561 static Str propertySetClassType();
562 static bool isValidPropertySet(
const PropertySet& propSet);
598 TEXTURE_ENVIRONMENT_MAPPING
605 static Str propertySetClassType();
606 static bool isValidPropertySet(
const PropertySet& propSet);
649 static Str propertySetClassType();
650 static bool isValidPropertySet(
const PropertySet& propSet);
693 static Str propertySetClassType();
694 static bool isValidPropertySet(
const PropertySet& propSet);
725 static Str propertySetClassType();
726 static bool isValidPropertySet(
const PropertySet& propSet);
730 void applyToClippingPlane(
Plane* plane)
const;
731 void buildProperties(
const Plane& plane);
761 static Str propertySetClassType();
762 static bool isValidPropertySet(
const PropertySet& propSet);
788 BOTTOM_BACKGROUND_COLOR
795 static Str propertySetClassType();
796 static bool isValidPropertySet(
const PropertySet& propSet);
832 static Str propertySetClassType();
833 static bool isValidPropertySet(
const PropertySet& propSet);
873 static Str propertySetClassType();
874 static bool isValidPropertySet(
const PropertySet& propSet);
878 double defaultFramesPerSecond()
const;
879 void setDefaultFramesPerSecond(
double animationFPS);
881 int firstFrameDelay()
const;
882 void setFirstFrameDelay(
int milliSeconds);
884 int lastFrameDelay()
const;
885 void setLastFrameDelay(
int milliSeconds);
887 int numberOfParticleTraceAnimationSteps()
const;
888 void setNumberOfParticleTraceAnimationSteps(
int numAnimationSteps);
890 bool hasStartAnimation()
const;
891 void setStartAnimation(
bool start);
894 void setHaloColor(
const Color3f& color);
896 int animatedCuttingPlaneIndex()
const;
897 void setAnimatedCuttingPlaneIndex(
int index);
899 int animatedCuttingPlaneNumberOfFrames()
const;
900 void setAnimatedCuttingPlaneNumberOfFrames(
int numFrames);
902 double animatedCuttingPlaneDistancePerFrame()
const;
903 void setAnimatedCuttingPlaneDistancePerFrame(
double distance);
905 Str viewTitle()
const;
906 void setViewTitle(
const Str& title);
947 AXIS_GRID_LINES_COLOR
954 static Str propertySetClassType();
955 static bool isValidPropertySet(
const PropertySet& propSet);
987 static Str propertySetClassType();
988 static bool isValidPropertySet(
const PropertySet& propSet);
Below range color.
Definition: PropertyHandlers.h:218
Overlay plot width
Definition: PropertyHandlers.h:926
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:406
Unique id for identifying a plot.
Definition: PropertyHandlers.h:924
Compute isovolume from visible parts only.
Definition: PropertyHandlers.h:593
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:633
Draw marker line.
Definition: PropertyHandlers.h:943
Property handler for continuous colormapper properties.
Definition: PropertyHandlers.h:249
Property handler for isovolume properties.
Definition: PropertyHandlers.h:580
Id of scalar result used to calculate isosurface.
Definition: PropertyHandlers.h:546
Undefined color.
Definition: PropertyHandlers.h:219
PropertyKey
List of property keys for ScalarSettingsPropertyHandler.
Definition: PropertyHandlers.h:348
Draw border.
Definition: PropertyHandlers.h:933
Minimum y axis range value.
Definition: PropertyHandlers.h:938
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Isovolume draw style.
Definition: PropertyHandlers.h:594
Maximum y axis range value.
Definition: PropertyHandlers.h:939
Color of text in the plot (labels/titles)
Definition: PropertyHandlers.h:941
Minimum x axis range value.
Definition: PropertyHandlers.h:936
Background opacity
Definition: PropertyHandlers.h:930
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:551
PropertyKey
List of property keys for ParticleTraceGroupPropertyHandler.
Definition: PropertyHandlers.h:628
Property handler for result section properties.
Definition: PropertyHandlers.h:57
PropertyKey
List of property keys for ViewerPropertyHandler.
Definition: PropertyHandlers.h:855
Arrow head, relative length.
Definition: PropertyHandlers.h:402
Arrow head, relative radius.
Definition: PropertyHandlers.h:401
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:404
Border color.
Definition: PropertyHandlers.h:931
Plane first A
Definition: PropertyHandlers.h:674
Configuration of a cutting plane.
Definition: CuttingPlane.h:33
Isovolume specular intensity.
Definition: PropertyHandlers.h:596
Part draw style.
Definition: PropertyHandlers.h:444
Below range color.
Definition: PropertyHandlers.h:261
Property handler for particle trace group properties.
Definition: PropertyHandlers.h:625
Set if the traces in the group should be visible or not.
Definition: PropertyHandlers.h:630
Displacement result id.
Definition: PropertyHandlers.h:65
Isovolume color.
Definition: PropertyHandlers.h:592
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:354
Fringes visibility.
Definition: PropertyHandlers.h:452
The width of the lines drawn.
Definition: PropertyHandlers.h:450
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:636
Smooth shading on/off.
Definition: PropertyHandlers.h:449
The title of the y axis.
Definition: PropertyHandlers.h:935
Number of mirror passes.
Definition: PropertyHandlers.h:673
Draw grid lines.
Definition: PropertyHandlers.h:942
Image scale width
Definition: PropertyHandlers.h:820
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:539
Id of mapped vector result.
Definition: PropertyHandlers.h:500
Cutting plane surface draw style.
Definition: PropertyHandlers.h:507
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:859
The color of halos in the viewer, e.g. those used to highlight parts.
Definition: PropertyHandlers.h:862
Color scheme.
Definition: PropertyHandlers.h:257
Image layout direction
Definition: PropertyHandlers.h:823
Legend text color.
Definition: PropertyHandlers.h:297
Isovolume visibility.
Definition: PropertyHandlers.h:591
Property handler for scalar settings properties.
Definition: PropertyHandlers.h:345
Field of view.
Definition: PropertyHandlers.h:753
Scalar contour lines result id.
Definition: PropertyHandlers.h:63
Contour lines visibility.
Definition: PropertyHandlers.h:453
Surface draw style.
Definition: PropertyHandlers.h:552
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:863
A general unicode based string class.
Definition: Str.h:28
Index of VTFx data block containing the plot data.
Definition: PropertyHandlers.h:976
The distance length (delta) between each frame in the animation (in the direction of the cutting plan...
Definition: PropertyHandlers.h:865
Grid lines visibility.
Definition: PropertyHandlers.h:511
Blending mode.
Definition: PropertyHandlers.h:824
PropertyKey
List of property keys for CameraPropertyHandler.
Definition: PropertyHandlers.h:715
Element set filtering enabled/disabled.
Definition: PropertyHandlers.h:456
Plane second A
Definition: PropertyHandlers.h:678
Surface color.
Definition: PropertyHandlers.h:550
PropertyKey
List of property keys for OverlayPlotCurvePropertyHandler.
Definition: PropertyHandlers.h:973
Up vector.
Definition: PropertyHandlers.h:751
Image name
Definition: PropertyHandlers.h:819
Id of mapped scalar result.
Definition: PropertyHandlers.h:499
Scale factor.
Definition: PropertyHandlers.h:393
Arrow shaft, relative radius.
Definition: PropertyHandlers.h:400
Texture modulate.
Definition: PropertyHandlers.h:462
The title of the x axis.
Definition: PropertyHandlers.h:934
Index of variable in VTFx data block containing curve values for y axis.
Definition: PropertyHandlers.h:978
Enter the duration (in seconds) of the first frame for animation in selected view.
Definition: PropertyHandlers.h:858
PropertyKey
List of property keys for VectorSettingsPropertyHandler.
Definition: PropertyHandlers.h:389
Array of state ids.
Definition: PropertyHandlers.h:132
Eye lift factor (to avoid z-fighting)
Definition: PropertyHandlers.h:457
Animation frames per second.
Definition: PropertyHandlers.h:857
Part color.
Definition: PropertyHandlers.h:445
Contour lines line width.
Definition: PropertyHandlers.h:356
Plane first B
Definition: PropertyHandlers.h:675
Relative thickness of ribbon.
Definition: PropertyHandlers.h:641
Class defining a plane in space.
Definition: Plane.h:27
Top background color for gradient background coloring.
Definition: PropertyHandlers.h:787
Index of context geometry.
Definition: PropertyHandlers.h:441
Context result id.
Definition: PropertyHandlers.h:212
Lighting.
Definition: PropertyHandlers.h:448
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:583
If true, part source color will be used.
Definition: PropertyHandlers.h:510
If true, the vectors are defined in local coordinates and will be transformed with the part...
Definition: PropertyHandlers.h:403
Background color
Definition: PropertyHandlers.h:929
Plane first D
Definition: PropertyHandlers.h:677
If true and there is animation, it will start automatically when loaded.
Definition: PropertyHandlers.h:861
Property handler for view clipping plane properties.
Definition: PropertyHandlers.h:712
Colors at values.
Definition: PropertyHandlers.h:259
Displacement visibility.
Definition: PropertyHandlers.h:455
Property handler for overlay image properties.
Definition: PropertyHandlers.h:814
Marker line color.
Definition: PropertyHandlers.h:945
Filtering minimum length.
Definition: PropertyHandlers.h:398
Color for single background coloring.
Definition: PropertyHandlers.h:786
Result value used for calculating isosurface.
Definition: PropertyHandlers.h:545
PropertyKey
List of property keys for CameraPropertyHandler.
Definition: PropertyHandlers.h:747
Property handler for vector settings properties.
Definition: PropertyHandlers.h:386
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:547
Id of mapped vector result.
Definition: PropertyHandlers.h:590
Plane master D
Definition: PropertyHandlers.h:685
Set if the cutting plane and its features (vectors, grid, etc) should be visible or not...
Definition: PropertyHandlers.h:496
Project the vectors onto the cutting plane.
Definition: PropertyHandlers.h:512
Primitive visualization style (Ribbon, Comet, etc...)
Definition: PropertyHandlers.h:634
Clamping minimum length.
Definition: PropertyHandlers.h:396
Property handler for mirror settings properties.
Definition: PropertyHandlers.h:668
PropertyKey
List of property keys for IsosurfacePropertyHandler.
Definition: PropertyHandlers.h:542
Class for storing an RGB color triplet.
Definition: Color3f.h:25
Draw the curve legend.
Definition: PropertyHandlers.h:940
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:491
PropertyKey
List of property keys for MirrorSettingsPropertyHandler.
Definition: PropertyHandlers.h:671
Grid spacing.
Definition: PropertyHandlers.h:502
PropertyKey
List of property keys for CuttingPlanePropertyHandler.
Definition: PropertyHandlers.h:494
Plane master A
Definition: PropertyHandlers.h:682
Maximum iso value for calculating isovolume.
Definition: PropertyHandlers.h:587
Model clipping.
Definition: PropertyHandlers.h:505
Single color.
Definition: PropertyHandlers.h:395
Property handler for overlay plot properties.
Definition: PropertyHandlers.h:919
The size of the points drawn.
Definition: PropertyHandlers.h:451
Primitive radius factor.
Definition: PropertyHandlers.h:637
Configuration of a group of particle trace objects.
Definition: ParticleTraceGroup.h:31
Eye position.
Definition: PropertyHandlers.h:749
Surface color.
Definition: PropertyHandlers.h:504
Contour lines color mode.
Definition: PropertyHandlers.h:357
Node averaging.
Definition: PropertyHandlers.h:353
View reference point.
Definition: PropertyHandlers.h:750
Color scheme.
Definition: PropertyHandlers.h:213
Image scale height
Definition: PropertyHandlers.h:821
Maximum scalar filtering value.
Definition: PropertyHandlers.h:352
Set if the isovolume and its features (vectors) should be visible or not.
Definition: PropertyHandlers.h:585
Image layout corner
Definition: PropertyHandlers.h:822
Context result id.
Definition: PropertyHandlers.h:254
Set if the isosurface and its features (vectors) should be visible or not.
Definition: PropertyHandlers.h:544
Draw background.
Definition: PropertyHandlers.h:928
Surface opacity.
Definition: PropertyHandlers.h:553
The Variant class acts like a union for the most common data types.
Definition: Variant.h:30
Plane second D
Definition: PropertyHandlers.h:681
Settings for a specific scalar result.
Definition: ScalarSettings.h:34
Scale mode.
Definition: PropertyHandlers.h:392
Surface specular intensity.
Definition: PropertyHandlers.h:509
Point sampling, number of pulses.
Definition: PropertyHandlers.h:638
Property handler for overlay color legend properties.
Definition: PropertyHandlers.h:291
Plane master B
Definition: PropertyHandlers.h:683
PropertyKey
List of property keys for ResultSelectionPropertyHandler.
Definition: PropertyHandlers.h:60
Surface visibility.
Definition: PropertyHandlers.h:549
Surface opacity.
Definition: PropertyHandlers.h:508
Id of scalar result used for isovolume calculation.
Definition: PropertyHandlers.h:588
Marker line value.
Definition: PropertyHandlers.h:944
Array of seed point for particle traces in group.
Definition: PropertyHandlers.h:631
Id of mapped scalar result.
Definition: PropertyHandlers.h:589
Compute cutting plane from visible parts only.
Definition: PropertyHandlers.h:506
The model specification.
Definition: ModelSpec.h:35
Property handler for viewer properties.
Definition: PropertyHandlers.h:852
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:977
Relative width of ribbon.
Definition: PropertyHandlers.h:640
Cutting plane defining normal.
Definition: PropertyHandlers.h:498
Overlay plot height
Definition: PropertyHandlers.h:925
Class for storing image resources.
Definition: ImageResources.h:30
Isovolume opacity.
Definition: PropertyHandlers.h:595
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:684
Id of vector result used to calculate particle trajectories.
Definition: PropertyHandlers.h:632
Maximum x axis range value.
Definition: PropertyHandlers.h:937
PropertyKey
List of property keys for BackgroundPropertyHandler.
Definition: PropertyHandlers.h:784
Number of arrows to skip between each arrow that is drawn.
Definition: PropertyHandlers.h:407
Grid spacing mode for mapped vector result.
Definition: PropertyHandlers.h:501
Texture environment mapping.
Definition: PropertyHandlers.h:459
Surface visibility.
Definition: PropertyHandlers.h:548
Plane first C
Definition: PropertyHandlers.h:676
Context result id.
Definition: PropertyHandlers.h:391
Projection type.
Definition: PropertyHandlers.h:752
Settings for a specific part.
Definition: PartSettings.h:31
Property handler for camera properties.
Definition: PropertyHandlers.h:744
Id of context part.
Definition: PropertyHandlers.h:442
Vector result id.
Definition: PropertyHandlers.h:64
Minimum scalar filtering value.
Definition: PropertyHandlers.h:351
Property handler for part settings properties.
Definition: PropertyHandlers.h:436
PropertyKey
List of property keys for PartSettingsPropertyHandler.
Definition: PropertyHandlers.h:439
Opacity.
Definition: PropertyHandlers.h:446
PropertyKey
List of property keys for OverlayColorLegendPropertyHandler.
Definition: PropertyHandlers.h:294
Plane second C
Definition: PropertyHandlers.h:680
PropertyKey
List of property keys for OverlayImagePropertyHandler.
Definition: PropertyHandlers.h:817
Texture, use automatic image scaling.
Definition: PropertyHandlers.h:461
Specular intensity.
Definition: PropertyHandlers.h:447
Plot title.
Definition: PropertyHandlers.h:927
Visibility result on/off.
Definition: PropertyHandlers.h:67
Property handler for background properties.
Definition: PropertyHandlers.h:781
Axis color.
Definition: PropertyHandlers.h:946
Settings for a specific vector result.
Definition: VectorSettings.h:29
PropertyKey
List of property keys for OverlayPlotPropertyHandler.
Definition: PropertyHandlers.h:922
Filtering maximum length.
Definition: PropertyHandlers.h:399
Minimum iso value for calculating isovolume.
Definition: PropertyHandlers.h:586
Point in plane.
Definition: PropertyHandlers.h:717
Number of frames to include in the cutting plane animation.
Definition: PropertyHandlers.h:864
Context result id.
Definition: PropertyHandlers.h:350
Plane second B
Definition: PropertyHandlers.h:679
Set mode.
Definition: PropertyHandlers.h:99
Number of contour levels.
Definition: PropertyHandlers.h:355
Configuration of an isosurface.
Definition: Isosurface.h:31
Vector visibility.
Definition: PropertyHandlers.h:454
Texture repeat factor.
Definition: PropertyHandlers.h:460
Minimum range value.
Definition: PropertyHandlers.h:255
Surface visibility.
Definition: PropertyHandlers.h:503
Texture image name.
Definition: PropertyHandlers.h:458
Border width.
Definition: PropertyHandlers.h:932
Cutting plane defining point.
Definition: PropertyHandlers.h:497
Primitive color.
Definition: PropertyHandlers.h:635
Visibility on/off.
Definition: PropertyHandlers.h:443
Texture image name.
Definition: PropertyHandlers.h:597
Property handler for overlay plot curve properties.
Definition: PropertyHandlers.h:970
Number of steps for particle tracing.
Definition: PropertyHandlers.h:860
Unique id for identifying a plot.
Definition: PropertyHandlers.h:975
Small class for the view background settings.
Definition: Background.h:27
Curve title
Definition: PropertyHandlers.h:979
Length of comet primitive.
Definition: PropertyHandlers.h:639
Line width of vector arrows when draw mode is simple vectors (not 3D)
Definition: PropertyHandlers.h:405
Clamping maximum length.
Definition: PropertyHandlers.h:397
Color mode.
Definition: PropertyHandlers.h:394