Maria GDK 4.5.0.137
Documentation of managed code in release branch
|
View model for elevation min/max marker layer. More...
Public Member Functions | |||
MinMaxElevMarkerLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator, IGeoUnitsSetting geoUnitsSetting, IMinMaxElevMarkerViewFactory minmaxViewFactory, IElevationData elevationData) | |||
Create a new instance of MinMaxElevMarkerLayerviewModel. | |||
void | UpdateMinMaxMarkerStyle (IMaxMinElevationObserverData observerdata) | ||
Update observerdata for min/max elevation markers.
| |||
override void | HandleInputEvent (GeoInputEventArgs inputEventArgs) | ||
Called to forward events to the layer.
Handled property to true. | |||
void | CalculateMinMax () | ||
Schedule a new min/max calculation on the next frame update. | |||
override void | SetDirty (bool dirty) | ||
Sets a boolean value indicating the need for an update of the contents of a layer. | |||
override bool | IsDirty () | ||
override void | Update () | ||
Event called at regular intervals to update contents of the layer. | |||
Public Member Functions inherited from TPG.GeoFramework.Core.GeoLayerViewModel | |||
GeoLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator) | |||
abstract void | HandleInputEvent (GeoInputEventArgs inputEventArgs) | ||
Called to forward events to the layer. | |||
virtual void | Generate () | ||
Requests that the layer generates it's view. | |||
abstract void | Update () | ||
Event called at regular intervals to update contents of the layer. | |||
virtual void | SetDirty (bool isDirty) | ||
Sets a boolean value indicating the need for an update of the contents of a layer. | |||
void | SetDirty (object sender) | ||
Sets dirty flag and stores sender, use to avoid cyclic dirtying. | |||
virtual bool | IsDirty () | ||
Public Member Functions inherited from TPG.GeoFramework.Core.ViewModelBase | |||
void | Dispose () | ||
Invoked when this object is being removed from the application and will be subject to garbage collection. | |||
void | HandleInputEvent (GeoInputEventArgs inputEventArgs) | ||
Called to forward events to the layer. | |||
void | Generate () | ||
Requests that the layer generates it's view. | |||
void | Update () | ||
Event called at regular intervals to update contents of the layer. | |||
void | SetDirty (bool isDirty) | ||
Sets a boolean value indicating the need for an update of the contents of a layer. | |||
void | SetDirty (object dirtySource) | ||
Sets dirty flag and stores sender, use to avoid cyclic dirtying. | |||
bool | IsDirty () | ||
void | CalculateMinMax () | ||
Schedule a new min/max calculation on the next frame update. | |||
void | UpdateMinMaxMarkerStyle (IMaxMinElevationObserverData style) | ||
Update observerdata for min/max elevation markers. | |||
Public Attributes | |
IMinMaxElevMarkerLayerViewModel | MinMaxInElevationViewModel |
Properties | |
bool | AutomaticRecalculation [get, set] |
Toggle continous recalc of min/max elevation markers in viewport. | |
Properties inherited from TPG.GeoFramework.Core.GeoLayerViewModel | |
IGeoControlViewModel | GeoControlViewModel [get, set] |
Get or set geo control view model. | |
UIElement | Tooltip [get, set] |
Get or set tooltip UI element. | |
string | Name [get] |
A name representing the type of layer. | |
bool | Visible [get, set] |
Gets or sets the visibility of the layer. | |
IGeoContext | GeoContext [get, set] |
Gets or sets the GeoContext related to the layer. | |
IGeoNavigator | GeoNavigator [get, set] |
Gets or sets the GeoNavigator related to the GeoControl. | |
IGeoLayerViewFactory | GeoLayerViewFactory [get, set] |
Gets a factory responsible for creating a IGeoLayerViewFactory view. | |
IGeoLayerView | GeoLayerView [get, set] |
Gets or sets the view associated with this view model. | |
ClipMargins | ClipMargins [get, set] |
Enables or disables clipping of the contents of the view, based on the specifed clip margins. | |
HashSet< object > | DirtySources [get] |
All contributors to current dirty. | |
Properties inherited from TPG.GeoFramework.Core.ViewModelBase | |
virtual string | DisplayName [get, protected set] |
Returns the user-friendly name of this object. Child classes can set this property to a new value, or override it to determine the value on-demand. | |
Properties inherited from TPG.GeoFramework.Contracts.Geo.Layer.IViewModelBase | |
string | DisplayName [get] |
Properties inherited from TPG.GeoFramework.Contracts.Geo.Layer.IGeoLayerViewModel | |
string | Name [get] |
A name representing the type of layer. | |
bool | Visible [get, set] |
Gets or sets the visibility of the layer. | |
IGeoContext | GeoContext [get, set] |
Gets or sets the GeoContext related to the layer. | |
IGeoLayerViewFactory | GeoLayerViewFactory [get] |
Gets a factory responsible for creating a IGeoLayerViewFactory view. | |
IGeoLayerView | GeoLayerView [get, set] |
Gets or sets the view associated with this view model. | |
IGeoNavigator | GeoNavigator [get, set] |
Gets or sets the GeoNavigator related to the GeoControl. | |
IGeoControlViewModel | GeoControlViewModel [get, set] |
Get or set geo control view model. | |
ClipMargins | ClipMargins [get, set] |
Enables or disables clipping of the contents of the view, based on the specifed clip margins. | |
HashSet< object > | DirtySources [get] |
All contributors to current dirty. | |
UIElement | Tooltip [get, set] |
Get or set tooltip UI element. | |
Properties inherited from TPG.GeoFramework.ElevationAnalysisLayer.Contracts.IMinMaxElevMarkerLayerViewModel | |
bool | AutomaticRecalculation [get, set] |
Toggle continous recalc of min/max elevation markers in viewport. | |
Events | |
new LayerChangedEventHandler | LayerChanged = delegate { } |
Events inherited from TPG.GeoFramework.Core.GeoLayerViewModel | |
VisibleChangedEventHandler | VisibleChanged = delegate { } |
LayerChangedEventHandler | LayerChanged = delegate { } |
Events inherited from TPG.GeoFramework.Core.ViewModelBase | |
PropertyChangedEventHandler | PropertyChanged = delegate { } |
Raised when a property on this object has a new value. | |
Events inherited from TPG.GeoFramework.Contracts.Geo.Layer.IGeoLayerViewModel | |
VisibleChangedEventHandler | VisibleChanged |
Visibility changed. | |
LayerChangedEventHandler | LayerChanged |
Layer changed. | |
Additional Inherited Members | |
Protected Member Functions inherited from TPG.GeoFramework.Core.GeoLayerViewModel | |
virtual void | SetVisible (bool value) |
override void | OnDispose (bool disposing) |
Make sure that all layers disconnect their shared GeoContexts. | |
Protected Member Functions inherited from TPG.GeoFramework.Core.ViewModelBase | |
virtual void | OnDispose (bool disposing) |
Child classes can override this method to perform clean-up logic, such as removing event handlers. | |
void | NotifyPropertyChanged< TProperty > (Expression< Func< TProperty > > property, INotifyPropertyChanged sender) |
void | NotifyPropertyChanged (string propertyName) |
virtual void | OnPropertyChanged ([CallerMemberName] string propertyName=null) |
Protected Attributes inherited from TPG.GeoFramework.Core.GeoLayerViewModel | |
string | _name = null |
View model for elevation min/max marker layer.
|
inline |
Create a new instance of MinMaxElevMarkerLayerviewModel.
geoContext | The associated geo context. |
geoNavigator | The associated geo navigator. |
geoUnitsSetting | The associated geo unit settings. |
minmaxViewFactory | Factory for creating layer view. |
elevationData | Elevation data. |
|
inline |
Schedule a new min/max calculation on the next frame update.
Implements TPG.GeoFramework.ElevationAnalysisLayer.Contracts.IMinMaxElevMarkerLayerViewModel.
|
inlinevirtual |
Called to forward events to the layer.
inputEventArgs |
Handled
property to true.
Implements TPG.GeoFramework.Core.GeoLayerViewModel.
|
inlinevirtual |
Reimplemented from TPG.GeoFramework.Core.GeoLayerViewModel.
|
inlinevirtual |
Sets a boolean value indicating the need for an update of the contents of a layer.
isDirty |
Reimplemented from TPG.GeoFramework.Core.GeoLayerViewModel.
|
inlinevirtual |
Event called at regular intervals to update contents of the layer.
Implements TPG.GeoFramework.Core.GeoLayerViewModel.
|
inline |
Update observerdata for min/max elevation markers.
style | Marker display style |
Implements TPG.GeoFramework.ElevationAnalysisLayer.Contracts.IMinMaxElevMarkerLayerViewModel.
|
getset |
Toggle continous recalc of min/max elevation markers in viewport.
Implements TPG.GeoFramework.ElevationAnalysisLayer.Contracts.IMinMaxElevMarkerLayerViewModel.