Visualizer Class
Abstract base class for all visualizers.
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)
Syntax
public abstract class Visualizer : ResourceObject
Remarks
A Visualizer is an object that draws features on a drawable. Different types of visualizers draw lines, polygons, rasters, texts, symbols and meshes. Note that there is not a one to one mapping from feature types to visualizer types; a SymbolVisualizer can for instance be applied to both point, line and polygon features.
Visualizers are "attached" to features passing through the operators, normally by a VisualizationOperator inserted in the operator chain. Some raster datasets can also attach a visualizer with a raster color table when the feature is first created in the dataset. The actual drawing does not take place until the feature reaches the OrdinaryLayer. Then all the attached visualizers (there may be more than one) are applied to the feature in the order they were attached; usually the same order as they are defined in the VisualizationOperator.
Inheritance Hierarchy
System.Object (not available in C#)
EngineObject
ResourceObject
Visualizer
CustomVisualizerProxy
InteractionVisualizer
LineVisualizer
MeshVisualizer
PointVisualizer
PolygonVisualizer
RasterVisualizer
S52Visualizer
TacticalVisualizer
VisualizerSet
Platforms
Windows, Linux, Android
Visualizer Members
The Visualizer type has the following members.
Properties
Name | Description |
---|---|
Condition | Gets or sets a condition that must evaluate to true if the visualizer shall be applied to a feature. |
IsDisposed | Gets a value that tells whether the current Visualizer has been disposed. Inherited from EngineObject |
Name | Gets or sets the name of the Visualizer. Inherited from ResourceObject |
NativeHandle | Gets the native Carmenta Engine kernel object the current Visualizer represents. Inherited from EngineObject |
PickingSupport | Gets or sets a value specifying how much information is maintained when the visualizer creates a PresentationObject for a feature. |
IUserProperties.UserProperties | Gets the AttributeSet that contains the user properties. Inherited from IUserProperties |
Methods
Name | Description |
---|---|
Clone | Creates a copy of an object. Inherited from EngineObject |
Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
Draw | Draws a feature on a drawable. |
Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
FindChildObject | Overloaded. Finds the child object with the specified name. |
GetChildObjects | Overloaded. Gets the child objects of the current object. |