Click or drag to resize

CMVIEW Class

A view (MVIEW class) has a 2-D/3-D translation matrix, a map projection and a clip region. A view contains any number of "groups", and each "group" contains one or more graphics elements (entities). Different types of groups will contain different types of entities:
Inheritance Hierarchy

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public class CMVIEW : CHANDLE

public class CMVIEW : CHANDLE

The CMVIEW type exposes the following members.

Methods
  NameDescription
Public methodAddFolder2D
Add a Map folder to the MVIEW.
Public methodAddFolder3D(String, String, String)
Add a 3DView folder to the MVIEW.
Public methodAddFolder3D(String, String, String, Int32)
Add a 3DView folder to the MVIEW.
Public methodAggregate
Add an aggregate to a view.
Public methodArc
Draw an arc.
Public methodAxisX
Draw an X axis
Public methodAxisY
Draw a Y axis
Public methodBestFitWindow
Fit an area in ground coordinates centered to an area in mm on map or vise versa keeping X and Y scales the same.
Public methodBox3D
Draw a 3D box
Public methodCapture3DSnapshot(String, String, Int32, String)
Capture current 3D view state to a snapshot.
Public methodCapture3DSnapshot(String, String, Int32, String, Int32)
Capture current 3D view state to a snapshot.
Public methodChangeLineMessage
Change the specified line in a view.
Public methodChord
Draw a filled arc.
Public methodClassifiedSymbols
Plot classified symbols
Public methodClearESRILDTs
Clear ESRI local datum transformations currently in use.
Public methodClipClear
Remove/clear the view clip region.
Public methodClipGroups
Set the Clipping mode on/off for all groups.
Public methodClipMarkedGroups
Set the Clipping mode on/off for marked groups.
Public methodClipMode
Set the view clipping mode on or off.
Public methodClipPoly
Add a polygon to the clip region.
Public methodClipPolyEx
Add a polygon to the clip region.
Public methodClipRect
Add a rectangle to the clip region.
Public methodClipRectEx
Add a rectangle to the clip region.
Public methodStatic memberColor2RGB
Convert to RGB values.
Public methodStatic memberColorDescr(CGXNETCore, Int32, String)
Convert a color to a color string label
Public methodStatic memberColorDescr(CGXNETCore, Int32, String, Int32)
Convert a color to a color string label
Public methodColSymbol
Add a colored symbol object to a view.
Public methodComplexPolygon
Draw a polygon with holes in it.
Public methodCopyMarkedGroups
Copies all marked groups from one view into another view
Public methodCopyRawMarkedGroups
Copies all marked groups raw from one view into another
Public methodCRCGroup
Compute CRC for a group.
Public methodCRCView
Generate an XML CRC of a View
Public methodCRCViewGroup
Generate an XML CRC of a Group
Public methodStatic memberCreate
Create MVIEW.
Public methodStatic memberCreateCrookedSection
Creates a new crooked section view.
Public methodStatic memberCreateCrookedSectionDataProfile
Creates a new crooked section data profile view.
Public methodCSYMB3D
Add a 3D coloured symbol (CSYMB3D) object to the view.
Public methodCylinder3D
Draw a 3D cylinder
Public methodDATALINKD
Add a Data Link Display (DATALINKD) object to the view.
Public methodDefinePlane3D
Define a 2D drawing plane based on point and normal
Public methodDefineViewerAxis3D
Define a 2D drawing plane based on the user's view that oriented around the vector.
Public methodDefineViewerPlane3D
Define a 2D drawing plane based on the user's view.
Public methodDeleteExtClipPLY
Deletes an extended clip PLY object used by this view.
Public methodDeleteFolder2D
Delete a 3DView folder.
Public methodDeleteFolder3D
Delete a Map folder.
Public methodDeleteGroup
Delete a group.
Public methodDeleteGroupITR
Deletes existing ITR associated with a group.
Public methodDeleteGroupStorage
Deletes existing generic storage associated with a group.
Public methodDeleteGroupTPAT
Deletes existing TPAT associated with a group.
Public methodDeletePlane
Delete a plane in a view
Public methodDelMarkedGroups
Delete marked groups.
Protected methodDispose
Releases the unmanaged resources used by the CMVIEW and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodDrawObject3D
Draw a 3D object optimized for rendering
Public methodDrawSurface3DEx
Draw a 3D object built from triangles
Public methodDrawSurface3DFromFile
Draw a 3D object from a surface file
Public methodDrawVectors3D
Display vectors in the view.
Public methodDrawVectorVoxelVectors
Display vectors from a vector voxel in the view.
Public methodEasyMaker
Used for GX makers which use both maps and databases.
Public methodEllipse
Draw an ellipse
Public methodEMFObject
Add an EMF file data object to the view.
Public methodExtClipPLYList
Get the names of existing extended clip PLY objects in this view as list.
Public methodExtent
Get the view extents
Public methodExternalStringObject
Add an external string data object to the view.
Public methodFillColor
Set the fill color.
Public methodFitMapWindow3D
Set the 2D view window for a 3D view.
Public methodFitWindow
Fit an area in ground coordinates to an area in mm on map.
Public methodStatic memberFontWeightLST
Fill a LST with the different font weights.
Public methodGet3DPointOfView
Get 3D point of view (values are will be <define>rDUMMY</define> if view for 2D views)
Public methodGet3DSnapshots
Get the list of 3D snapshots in a 3D view.
Public methodGetAGGFileNames
Get the names of grid files stored in an AGG.
Public methodGetAggregate
Get an existing Aggregate object from the view.
Public methodGetClipPLY
Get clipping polygons, in the user projection
Public methodGetColSymbol
Get an existing colored symbol object from the view.
Public methodGetCSYMB3D
Get an existing 3D coloured symbol CSYMB3D object from the view.
Public methodGetDATALINKD
Get an existing Data Link Display (DATALINKD) object from the view.
Public methodGetExtClipPLY
Get an extended clip PLY object used by this view.
Public methodGetFolderItems2D
Get the list of key-value pairs representing the name(key) and the type(value) of all children in the specified parent folders in the MVIEW.
Public methodGetFolderItems3D
Get the list of folders in the MVIEW.
Public methodGetGroupExtClipPLY
Gets extended clip information for group in view.
Public methodGetGroupExtent
Get extent of a group in a view
Public methodGetGroupFreezeScale
Get a scale freezing value for the group (<define>rDUMMY</define> for disabled).
Public methodGetGroupGUID(Int32, String)
Gets a GUID of a group in the MVIEW.
Public methodGetGroupGUID(Int32, String, Int32)
Gets a GUID of a group in the MVIEW.
Public methodGetGroupITR
Get group ITR
Public methodGetGroupTPAT
Get group TPAT
Public methodGetGroupTransparency
Gets the transparency value of group
Public methodGetGUID(String)
Gets the GUID of the MVIEW.
Public methodGetGUID(String, Int32)
Gets the GUID of the MVIEW.
Public methodGetIPJ
Get the projection of the view.
Public methodGetMakerName(Int32, String)
Used to retrieve the maker for a particular view group.
Public methodGetMakerName(Int32, String, Int32)
Used to retrieve the maker for a particular view group.
Public methodGetMAP
Get the MAP of the view.
Public methodGetPlaneClipPLY
Get the Plane Clip Region
Public methodGetPlaneEquation
Get the equation of a plane
Public methodGetPlaneSurface(Int32, String)
Get the surface image of a plane
Public methodGetPlaneSurface(Int32, String, Int32)
Get the surface image of a plane
Public methodGetPlaneSurfInfo
Get the surface information
Public methodGetPLY
Get clipping polygons, in the base projection
Public methodGetREG
Get the REG of the view.
Public methodGetSurfaceFilename(String, String)
Get the surface filename.
Public methodGetSurfaceFilename(String, String, Int32)
Get the surface filename.
Public methodGetUserIPJ
Get the user projection of the view.
Public methodGetVECTOR3D
Get an existing VECTOR3D object from the view.
Public methodGetViewPlaneEquation
Get the View's Plane Equation
Public methodGetVOXD
Get an existing VOXD object from the view.
Public methodGrid
Draw a grid in the current window
Public methodGroupClipMode
Set the Clipping mode on or off for new groups.
Public methodGroupToPLY
Save all polygons in group into PLY obj.
Public methodHideMarkedGroups
Hide/Show marked groups.
Public methodHideShadow2DInterpretations
Hide/Show 2d shadow interpretations.
Public methodStatic memberiColor
Get a color from a color string label
Public methodStatic memberiColorCMY
Return CMY color.
Public methodStatic memberiColorHSV
Return HSV color.
Public methodStatic memberiColorRGB
Return RGB color.
Public methodiCreatePlane
Create a 3D Plane for 2D Groups
Public methodiExistGroup
Checks to see if a group exists.
Public methodiFindGroup
Find a Group by name.
Public methodiFindGroupByGUID
Find a Group by name.
Public methodiFindPlane
Find a plane in a view
Public methodIGenNewGroupName(String, String)
Generate the name of a group from a base name that is new. (always unique and won't overwrite existing objects).
Public methodIGenNewGroupName(String, String, Int32)
Generate the name of a group from a base name that is new. (always unique and won't overwrite existing objects).
Public methodiGet3DGroupFlags
Get a 3D geometry group's 3D rendering flags.
Public methodIGetClassName(String, String)
Get a class name.
Public methodIGetClassName(String, String, Int32)
Get a class name.
Public methodIGetDefPlane(String)
Get the default drawing plane.
Public methodIGetDefPlane(String, Int32)
Get the default drawing plane.
Public methodIGetMeta(String, String)
Retrieves Metadata from a group
Public methodIGetMeta(String, String, Int32)
Retrieves Metadata from a group
Public methodIGetName(String)
Gets the name of a view.
Public methodIGetName(String, Int32)
Gets the name of a view.
Public methodIGetNameExtClipPLY(Int32, String)
Get the name of the extended clip PLY object in this view.
Public methodIGetNameExtClipPLY(Int32, String, Int32)
Get the name of the extended clip PLY object in this view.
Public methodiGroupITRExists
Determine if group ITR exists.
Public methodIGroupName(Int32, String)
Get a group name
Public methodIGroupName(Int32, String, Int32)
Get a group name
Public methodiGroupStorageExists
Determine if generic storage associated with a group exists.
Public methodiGroupTPATExists
Determine if group TPAT exists.
Public methodiIsGroup
Query a status or characteristic of a group
Public methodiIsGroupEmpty
Is the group empty?
Public methodiIsMovable
Is this view movable?
Public methodiIsPlaneVisible
Is the plane visible?
Public methodiIsProjectionEmpty
Returns 1 if the view projection and view user projection are both empty (undefined).
Public methodiIsSection
Is the view a section view?
Public methodiIsSurfacePlane
Is a surface plane?
Public methodiIsView3D
Is the view 3D?
Public methodiIsVisible
Is this view visible?
Public methodiListGroups
Get a list of the groups in a view.
Public methodiNumExtClipPLY
Get the number of extended clip PLY objects in this view.
Public methodiRenderOrder
Query the view render order
Public methodiSetExtClipPLY
Set an extended clip PLY object used by this view.
Public methodIsGroupExportable
Query whether the group is an exportable type.
Public methodIsSurfaceItemVisible
Is the surface item visible?
Public methodLabelFid
Label fiducials on a profile
Public methodLabelX
Label annotations on the X axis
Public methodLabelY
Label annotations on the Y axis
Public methodLine
Draw a line.
Public methodLineColor
Set the line color.
Public methodLineSmooth
Set the line edge smoothing.
Public methodLineStyle
Set the style of a line.
Public methodLineThick
Set the line thickness.
Public methodLineVV
Draw line segments stored in a GS_D2LINE VV.
Public methodLink
Make a link to a database.
Public methodListPlaneGroups
List all groups in a specific plane of a 3D view
Public methodListPlanes
List all planes in a 3D view
Public methodMaker
Generates a Maker for the database and/or map.
Public methodMapOrigin
Get the map origin from a view
Public methodMarkAllGroups
Mark or unmark all groups.
Public methodMarkEmptyGroups
Mark/unmark all empty groups.
Public methodMarkGroup
Mark or unmark a specific group
Public methodMeasureText
Compute the bounding rectangle in view units of the text using the current attributes.
Public methodMeta
Store Metadata in a group
Public methodModePJ
Set the working projection mode
Public methodMoveGroupBackward
Move the group backward one position (render sooner).
Public methodMoveGroupForward
Move the group forward one position (render later).
Public methodMoveGroupToBack
Move the group to the back (render first).
Public methodMoveGroupToFolder2D
Add group to a Map folder in MVIEW.
Public methodMoveGroupToFolder3D
Add group to a 3DView folder in MVIEW.
Public methodMoveGroupToFront
Move the group to the front (render last).
Public methodStatic memberOptimumTick
Return a default optimum tick interval
Public methodPatAngle
Sets the pattern angle
Public methodPatDensity
Sets the tiling density.
Public methodPatNumber
Sets the pattern number
Public methodPatSize
Sets the pattern unit cell size (X)
Public methodPatStyle
Sets the tiling method (i.e. rectangle, triangle)
Public methodPatThick
Sets the pattern line thickness
Public methodPlotToView
Convert a plot coordinate in mm to a VIEW coordinate.
Public methodPoint3D
Draw a 3D point.
Public methodPolygonDm
Like PolyLineDm, but draw polygons.
Public methodPolygonMPLY
Draw multiple complex polygons from MPLY.
Public methodPolygonPLY
Draw a complex polygon from PLY.
Public methodPolyLine
Draw a polyline or polygon (dummies deleted).
Public methodPolyLine3D
Draw a 3D polyline.
Public methodPolyLineDm
Draw a polyline with gaps defined by dummies in X/Y VVs
Public methodPolyWrap
Draw wrapped polylines from X and Y VV's.
Public methodReadGroupStorage
Reads existing generic storage associated with a group into an in-memory BF.
Public methodRectangle
Draw a rectangle.
Public methodRelocateGroup
Re-locate a group in a view.
Public methodRenameGroup
Rename a group.
Public methodRender
Render a specified area of view onto a Windows DC handle
Public methodRenderEx
Render a specified area of view onto a Windows DC handle, setting the type of it and returning the new data extents
Public methodReScale
Change the scale of a view.
Public methodRestore3DSnapshot
Restore 3D view to specific snapshot state.
Public methodrGetMapScale
Get the current map scale of the view
Public methodrNorth
Returns North direction at center of view.
Public methodrScaleMM
Get the horizontal scale in view X units/mm
Public methodrScalePjMM
Get horizontal scale in projected user units/mm
Public methodrScaleYMM
Get the vertical scale in Y units/mm
Public methodScaleAllGroup
Scale all groups (except for GRID) in a view
Public methodScaleWindow
Assign view coordinates to define a window.
Public methodSegment
Draw a filled segment of an ellipse.
Public methodSet3DGroupFlags
Set a 3D geometry group's 3D rendering flags.
Public methodSet3DPointOfView
Set 3D point of view (no effect on 2D views)
Public methodSetAllGroupsToPlane
Set all groups to be within one plane
Public methodSetAllNewGroupsToPlane
Set all groups that are not in any plane to this plane
Public methodSetClassName
Set a class name.
Public methodSetClipPLY
Set clipping region to a PLY
Public methodSetDefPlane
Set the default drawing plane.
Public methodSetFreezeScale
Set a scale freezing value into stream (<define>rDUMMY</define> for disabled).
Public methodSetGroupExtClipPLY
Sets extended clip information for group in view.
Public methodSetGroupFreezeScale
Set a scale freezing value for the group (<define>rDUMMY</define> for disabled).
Public methodSetGroupITR
Set group ITR
Public methodSetGroupMoveable
Set the movable attribute of a group.
Public methodSetGroupToPlane
Set a group to a plane
Public methodSetGroupTPAT
Set group TPAT
Public methodSetGroupTransparency
Sets the transparency value of group
Public methodSetH3DN
Set the 3DN object for this view
Public methodSetIPJ
Set the projection of the view.
Public methodSetMarkMoveable
Set the movable attribute of marked groups.
Public methodSetMeta
Update the META in this group with the new meta object.
Public methodSetMovability
Set the view movability
Public methodSetPlaneClipPLY
Set the Plane Clip Region
Public methodSetPlaneEquation
Set the equation of a plane
Public methodSetPlaneSurface
Set the surface image of a plane
Public methodSetPlaneSurfInfo
Set the surface information
Public methodSetRenderOrder
Set the view render order
Public methodSetThinRes
Set polyline/polygon thinning resolution
Public methodSetUFac
Set the unit conversion of a view.
Public methodSetUserIPJ
Set the user projection of the view.
Public methodSetVisibility
Set the view visibility
Public methodSetWindow
Set the view window
Public methodSetWorkingIPJ
Set the working projection of the view.
Public methodSizeSymbols
Plot sized symbols
Public methodSphere3D
Draw a 3D sphere
Public methodStartGroup
Start a group.
Public methodSymbAngle
Set the Symb angle.
Public methodSymbColor
Set the Symbol color.
Public methodSymbFillColor
Set the Symbol color fill.
Public methodSymbFont
Set the symbol font and style.
Public methodSymbNumber
Set the Symbol number.
Public methodSymbol
Plot a symbol
Public methodSymbols
Plot symbols
Public methodSymbolsITR
Plot symbols using an ITR
Public methodSymbSize
Set the Symb size.
Public methodText
Draw text.
Public methodTextAngle
Set the text angle.
Public methodTextColor
Set the Text color.
Public methodTextFont
Set the text font.
Public methodTextRef
Set the text plot reference point.
Public methodTextSize
Set the text size.
Public methodTranScale
Set the view translation and scaling
Public methodTransparency
Sets the transparency for new objects.
Public methodUpdateMETAfromGroup
Fill the META with group dataset information
Public methodUserToView
Convert a USERplot in mm to a VIEW coordinate
Public methodViewGroupJSON
Generate a JSON representation of a Group.
Public methodViewToPlot
Convert a VIEW coordinate to a plot coordinate in mm.
Public methodViewToUser
Convert a VIEW coordinate to a USER coordinate.
Public methodVOXD
Add a Voxel Display (VOXD) object to the view.
Public methodWriteGroupStorage
Open generic existing storage associated with a group for reading.
Public methodZValue
Sets Z-value info.
Top
See Also