#include <gre/group.h>

Classes | |
| struct | POSN |
| Layout/Positioning parameters. More... | |
Public Types | |
| enum | CREATEFLAGS { CREATEFLAG_None = 0x0000, CREATEFLAG_NoCallCreateCB = 0x0001, CREATEFLAG_Temporary = 0x0002, CREATEFLAG_3D = 0x0004, CREATEFLAG_NoAutoMatch = 0x0008, CREATEFLAG_NoSetActive = 0x0010, CREATEFLAG_DeferCreate = 0x0020, CREATEFLAG_SML = 0x0040 } |
| enum | EXTENTCOORD { EXTENTCOORD_Group, EXTENTCOORD_Layout, EXTENTCOORD_View } |
| enum | LABEL_MANAGEMENT_MODE { LABEL_MANAGEMENT_MODE_RenderWithLayer = 0, LABEL_MANAGEMENT_MODE_RenderLast } |
| enum | ORIENTATION_BASE { ORIENTATION_BASE_Projection = 0, ORIENTATION_BASE_North = 1 } |
Public Member Functions | |
| GROUP (GRE::LAYOUT *layout, CREATEFLAGS createflags=CREATEFLAG_None, GRE::LISTPOS listpos=GRE::LISTPOS_Last, GROUP *refgroup=0) | |
| GROUP (CREATEFLAGS createflags=CREATEFLAG_None) | |
| virtual | ~GROUP () |
| bool | AdjLatLon () |
| bool | AdjLatLonCanSet () |
| void | AttachLayerCommonParm (LAYER::TYPE LayerType, GRE::LAYER::COMMONPARM *pParmInstance) |
| bool | ChangeListPos (GROUP *refgroup, GRE::LISTPOS listpos) |
| ERRVALUE | CheckAddLayer (GRE::LAYER::TYPE layertype=GRE::LAYER::TYPE_None) const |
| void | CheckGeorefCompatible () const |
| void | ClearPosns () |
| void | ComputeLayoutExtents () |
| ERRVALUE | ComputeMapExtents () |
| ERRVALUE | ComputeRegionFromLayers (REGION2D ®ion, bool IncludeMargins, GRE::LAYER::FILTER *filter=0) const |
| void | Create (CREATEFLAGS createflags=CREATEFLAG_None) |
| void | DestroyAllLayers () |
| void | DestroyLayer (GRE::LAYER *layer) |
| ERRVALUE | DlgGetClipSettings (MDLGPARENT dlgparent) |
| ERRVALUE | DrawActiveOverlay (GRE::DRAWFLAGS DrawFlags=GRE::DRAWFLAG_UpdateScreen, GRE::VIEW *view=0) |
| virtual GRE::LAYER * | FindLayerByID (UINT32 LayerID) const |
| double | GetAspectX () const |
| double | GetAspectY () const |
| const REGION2D & | GetClipRegion () const |
| bool | GetClipToMatchedLayer () const |
| ERRVALUE | GetExtents (DRECT2D &extents, EXTENTCOORD coords) |
| GRE::LAYER * | GetFirstLayer () const |
| UINT32 | GetFlags () const |
| virtual void | GetFullName (MISTRING &name) const |
| const REGION2D & | GetFullRegion () const |
| LABEL_MANAGEMENT_MODE | GetLabelManagementMode () const |
| GRE::LAYER * | GetLastLayer () const |
| GRE::LAYER * | GetLayerActive () const |
| GRE::LAYER::COMMONPARM * | GetLayerCommonParm (LAYER::TYPE LayerType) |
| const GRE::LAYER::COMMONPARM * | GetLayerCommonParm (LAYER::TYPE LayerType) const |
| GRE::LAYER * | GetLayerMatched () const |
| GRE::LAYER * | GetLayerZoom1X (bool PreferredOnly) const |
| GRE::LAYOUT * | GetLayout () const |
| const DRECT2D & | GetLayoutExtents () const |
| int | GetListPos () |
| GROUP * | GetMatchedGroup (bool firstonly=false) const |
| MATTE & | GetMatte () |
| UINT32 | GetMutualExclusiveGroupSet () const |
| const MISTRING & | GetName () const |
| bool | GetNeedUpdateExtents () const |
| GROUP * | GetNext () const |
| virtual UINT32 | GetNextLayerID () const |
| const POSN & | GetPosnX () const |
| const POSN & | GetPosnY () const |
| GROUP * | GetPrevious () const |
| double | GetRelativeScale () const |
| double | GetRotationAngle () const |
| UINT8 | GetRotationBase () const |
| const MISTRING & | GetSavedLocations () const |
| SERIALIZER * | GetSerializer () const |
| virtual ERRVALUE | GetSizeMeters (DPOINT2D &sizemeters) |
| const TRANS2D_AFFINE & | GetTransViewToGroup () const |
| const SPATREF::COORDREFSYS & | GetUsedCoordRefSys () const |
| GRE::VIEWPOINT3D * | GetViewPoint3D () const |
| GRE::VISIBLEVIEW | GetVisible () const |
| void | GetVisibleScaleRange (double &MinScaleVisible, double &MaxScaleVisible) const |
| bool | HasAttachedGroups () const |
| bool | HasHighlightableLayer (GRE::VIEW *view=0) const |
| virtual bool | HasLayers () const |
| bool | HasLegend () const |
| bool | HasMutuallyExclusiveLayers () const |
| bool | HasTempLayers () const |
| bool | HighlightSetupDefault (GRE::VIEW *view=0) |
| void | InvalidateAllViews (GRE::RENDERTARGET Target=GRE::RENDERTARGET_GroupAll|GRE::RENDERTARGET_LayerAll) |
| bool | Is3D () const |
| bool | IsBeingLoaded () const |
| bool | IsClipped () const |
| bool | IsClippedToMatchedLayer () const |
| bool | IsCreated () const |
| bool | IsIgnored () const |
| bool | IsSingleLayer () const |
| bool | IsValid () const |
| bool | IsVisibleAtScale (double scale) const |
| bool | IsVisibleInView (const GRE::VIEW *view) const |
| virtual ERRVALUE | SerialRead (SERIALIZER &serializer) |
| virtual ERRVALUE | SerialWrite (SERIALIZER &serializer, const char *tagname=0) const |
| void | Set2D () |
| void | SetActiveLayer (GRE::LAYER *layer) |
| void | SetAllLayersVisible (VIEW *view, bool visible) |
| void | SetAllLayersVisible (VISIBLEVIEW views, bool visible) |
| void | SetClipRect (const DRECT2D &ClipRect, const SPATREF::COORDREFSYS &RectCRS, bool notify=true) |
| void | SetClipToMatchedLayer (bool ClipToMatchedLayer, bool notify=true) |
| void | SetFlags (UINT32 flags, UINT32 mask, bool notify) |
| void | SetFlags (UINT32 flags, UINT32 mask) |
| void | SetLabelManagementMode (LABEL_MANAGEMENT_MODE mode) |
| void | SetListPos (int newpos) |
| void | SetListPos (GRE::LISTPOS listpos, GROUP *refgroup=0) |
| void | SetMatte (const MATTE &matte, bool notify=true) |
| void | SetModified (bool notify=true, bool ViewsNeedRedraw=true) |
| void | SetMutualExclusiveGroupSet (UINT32 GroupSet) |
| void | SetMutuallyExclusiveLayers (bool LayersMutuallyExclusive=true) |
| ERRVALUE | SetName (const MISTRING &newname) |
| void | SetNeedUpdateExtents () |
| void | SetOrientation (UINT8 NewRotBase, double NewRotAngle) |
| void | SetPosnAttachGeographic (GRE::GROUP *RefGroup=0) |
| void | SetPosnAttachmentX (UINT8 AttachmentThis, UINT8 AttachmentRef) |
| void | SetPosnAttachmentY (UINT8 AttachmentThis, UINT8 AttachmentRef) |
| void | SetPosnAttachToX (UINT8 AttachRefType, GRE::GROUP *RefGroup) |
| void | SetPosnAttachToY (UINT8 AttachRefType, GRE::GROUP *RefGroup) |
| void | SetPosnOffsetX (double offset) |
| void | SetPosnOffsetY (double offset) |
| void | SetPosnStateX (UINT8 PosnState) |
| void | SetPosnStateY (UINT8 PosnState) |
| void | SetPosnValuesX (UINT8 AttachRefType, GRE::GROUP *RefGroup, UINT8 AttachmentThis, UINT8 AttachmentRef, double offset) |
| void | SetPosnValuesY (UINT8 AttachRefType, GRE::GROUP *RefGroup, UINT8 AttachmentThis, UINT8 AttachmentRef, double offset) |
| void | SetProjView (const GRE::LAYER *layer) |
| void | SetRelativeScale (double RelativeScale, bool notify=true) |
| ERRVALUE | SetRenderCoordRefSys (const SPATREF::COORDREFSYS &RenderCRS) |
| void | SetSavedLocations (const MISTRING &string) |
| void | SetSingleLayer (bool SingleLayer) |
| ERRVALUE | SetupEquirectangular (SPATREF::COORDREFSYS &CoordRefSys, const DPOINT2D ¢er) const |
| void | SetViewPoint3D (const GRE::VIEWPOINT3D &ViewPoint3D) |
| void | SetVisible (UINT32 flags, bool set) |
| void | SetVisibleScaleRange (double MinScaleVisible, double MaxScaleVisible) |
| void | SetVisibleView (GRE::VIEW *view, bool visible) |
| ERRVALUE | TemplateWrite (SERIALIZER &serializer, const char *tagname=0) |
| void | ValidateAttachments () |
Static Public Member Functions | |
| static GROUP * | GetFromWidget (Widget w) |
| static void | SMLClassInstall (SMLCONTEXT *context) |
Flags for group creation.
| CREATEFLAG_None | |
| CREATEFLAG_NoCallCreateCB |
Don't call callback list when object created. |
| CREATEFLAG_Temporary |
Object is temporary. |
| CREATEFLAG_3D |
Group is 3D. |
| CREATEFLAG_NoAutoMatch |
Don't default to automatch any layers. |
| CREATEFLAG_NoSetActive |
Don't make newly-created group "active". |
| CREATEFLAG_DeferCreate |
Defer creation until Create() called (standalone group only). |
| CREATEFLAG_SML |
Being created by SML (standalone group only). |
Used with GetExtents().
| GRE::GROUP::GROUP | ( | CREATEFLAGS | createflags = CREATEFLAG_None |
) | [explicit] |
Construct "stand-alone" group.
| GRE::GROUP::GROUP | ( | GRE::LAYOUT * | layout, | |
| CREATEFLAGS | createflags = CREATEFLAG_None, |
|||
| GRE::LISTPOS | listpos = GRE::LISTPOS_Last, |
|||
| GROUP * | refgroup = 0 | |||
| ) |
Construct group within a layout.
| virtual GRE::GROUP::~GROUP | ( | ) | [virtual] |
Destructor.
| bool GRE::GROUP::AdjLatLon | ( | ) |
Determine if lat/lon aspect adjustment will be done.
| bool GRE::GROUP::AdjLatLonCanSet | ( | ) |
Determine if option to adjust lat/lon aspect can be set.
| void GRE::GROUP::AttachLayerCommonParm | ( | LAYER::TYPE | LayerType, | |
| GRE::LAYER::COMMONPARM * | pParmInstance | |||
| ) |
Attach common parameter instance for layer type.
Group will become owner of pointer and delete when necessary.
| bool GRE::GROUP::ChangeListPos | ( | GROUP * | refgroup, | |
| GRE::LISTPOS | listpos | |||
| ) |
Change group position in list.
| ERRVALUE GRE::GROUP::CheckAddLayer | ( | GRE::LAYER::TYPE | layertype = GRE::LAYER::TYPE_None |
) | const |
Check if layer of specified type can be added.
| void GRE::GROUP::CheckGeorefCompatible | ( | ) | const |
Check if georeference for layers in group are compatible.
| void GRE::GROUP::ClearPosns | ( | ) | [inline] |
| void GRE::GROUP::ComputeLayoutExtents | ( | ) |
Compute extents of group in layout.
| ERRVALUE GRE::GROUP::ComputeMapExtents | ( | ) |
Compute map coordinate extents for group.
| ERRVALUE GRE::GROUP::ComputeRegionFromLayers | ( | REGION2D & | region, | |
| bool | IncludeMargins, | |||
| GRE::LAYER::FILTER * | filter = 0 | |||
| ) | const |
| region | Region returned, will be in group's RenderCoordRefSys | |
| IncludeMargins | Include layer margins | |
| filter | Filter |
| void GRE::GROUP::Create | ( | CREATEFLAGS | createflags = CREATEFLAG_None |
) |
Create group if CREATEFLAG_DeferCreate was specified in constructor.
| void GRE::GROUP::DestroyAllLayers | ( | ) |
Destroy all layers in this group.
| void GRE::GROUP::DestroyLayer | ( | GRE::LAYER * | layer | ) |
Destroy specified layer in this group.
| ERRVALUE GRE::GROUP::DlgGetClipSettings | ( | MDLGPARENT | dlgparent | ) |
Dialog to specify group clip settings.
| ERRVALUE GRE::GROUP::DrawActiveOverlay | ( | GRE::DRAWFLAGS | DrawFlags = GRE::DRAWFLAG_UpdateScreen, |
|
| GRE::VIEW * | view = 0 | |||
| ) |
Draw group overlay containing 'active' element for each layer.
| view | View to draw overlay for, 0 for all, will be drawn first if drawing multiple |
| virtual GRE::LAYER* GRE::GROUP::FindLayerByID | ( | UINT32 | LayerID | ) | const [virtual] |
Find layer using unique ID.
Implements GRE::VIEWABLE.
| double GRE::GROUP::GetAspectX | ( | ) | const [inline] |
Get X aspect of group dimensions.
| double GRE::GROUP::GetAspectY | ( | ) | const [inline] |
Get Y aspect of group dimensions.
| const REGION2D& GRE::GROUP::GetClipRegion | ( | ) | const |
Get clipping region for group.
| bool GRE::GROUP::GetClipToMatchedLayer | ( | ) | const [inline] |
Get setting for "clip to matched layer" regardless of whether or not will be auto-matched.
| ERRVALUE GRE::GROUP::GetExtents | ( | DRECT2D & | extents, | |
| EXTENTCOORD | coords | |||
| ) |
Get extents of group in specified coordinates.
| extents | Group extents returned | |
| coords | What to return extents in |
| GRE::LAYER* GRE::GROUP::GetFirstLayer | ( | ) | const [inline] |
Get first layer in group.
| UINT32 GRE::GROUP::GetFlags | ( | ) | const [inline] |
Get current group flag settings.
Get group from object attached to Widget userData.
| virtual void GRE::GROUP::GetFullName | ( | MISTRING & | name | ) | const [virtual] |
| const REGION2D& GRE::GROUP::GetFullRegion | ( | ) | const [inline] |
| LABEL_MANAGEMENT_MODE GRE::GROUP::GetLabelManagementMode | ( | ) | const [inline] |
| GRE::LAYER* GRE::GROUP::GetLastLayer | ( | ) | const [inline] |
Get last layer in group.
| GRE::LAYER* GRE::GROUP::GetLayerActive | ( | ) | const [inline] |
Get layer set as active.
| GRE::LAYER::COMMONPARM* GRE::GROUP::GetLayerCommonParm | ( | LAYER::TYPE | LayerType | ) |
Get common parameter base class pointer for specific layer type.
| const GRE::LAYER::COMMONPARM* GRE::GROUP::GetLayerCommonParm | ( | LAYER::TYPE | LayerType | ) | const |
Get common parameter base class pointer for specific layer type.
| GRE::LAYER* GRE::GROUP::GetLayerMatched | ( | ) | const [inline] |
Get layer matched to for orientation/projection.
| GRE::LAYER* GRE::GROUP::GetLayerZoom1X | ( | bool | PreferredOnly | ) | const |
Get layer to use for 1X zoom.
| PreferredOnly | Use 'preferred' layers only |
| GRE::LAYOUT* GRE::GROUP::GetLayout | ( | ) | const [inline] |
Get layout group is contained in.
| const DRECT2D& GRE::GROUP::GetLayoutExtents | ( | ) | const [inline] |
| int GRE::GROUP::GetListPos | ( | ) |
Get current group drawing order position in list.
| GROUP* GRE::GROUP::GetMatchedGroup | ( | bool | firstonly = false |
) | const |
Return geographically-attached reference group if any.
| firstonly | True to return immediate (first link) matched group |
| MATTE& GRE::GROUP::GetMatte | ( | ) | [inline] |
| UINT32 GRE::GROUP::GetMutualExclusiveGroupSet | ( | ) | const [inline] |
Get "set" for mutual exclusiveness between groups.
| const MISTRING& GRE::GROUP::GetName | ( | ) | const [inline] |
Get group name.
| bool GRE::GROUP::GetNeedUpdateExtents | ( | ) | const [inline] |
Determine if need updated extents.
| GROUP* GRE::GROUP::GetNext | ( | ) | const [inline] |
Get next group in layout.
| virtual UINT32 GRE::GROUP::GetNextLayerID | ( | ) | const [virtual] |
Get next available unique ID.
Implements GRE::VIEWABLE.
| const POSN& GRE::GROUP::GetPosnX | ( | ) | const [inline] |
Get positioning parameters for X axis.
| const POSN& GRE::GROUP::GetPosnY | ( | ) | const [inline] |
Get positioning parameters for Y axis.
| GROUP* GRE::GROUP::GetPrevious | ( | ) | const [inline] |
Get previous group in layout.
| double GRE::GROUP::GetRelativeScale | ( | ) | const [inline] |
Get relative scale.
| double GRE::GROUP::GetRotationAngle | ( | ) | const [inline] |
Get rotation angle relative to base in radians.
| UINT8 GRE::GROUP::GetRotationBase | ( | ) | const [inline] |
Get base for rotation.
| const MISTRING& GRE::GROUP::GetSavedLocations | ( | ) | const [inline] |
Get Saved Locations string.
| SERIALIZER* GRE::GROUP::GetSerializer | ( | ) | const [inline] |
Get serializer instance being used to load group.
Compute dimensions of object based on scale and georeference.
| sizemeters | Size returned in meters |
Implements GRE::VIEWABLE.
| const TRANS2D_AFFINE& GRE::GROUP::GetTransViewToGroup | ( | ) | const [inline] |
Get transformation from group to view.
| const SPATREF::COORDREFSYS& GRE::GROUP::GetUsedCoordRefSys | ( | ) | const |
Get CoordRefSys used for rendering.
| GRE::VIEWPOINT3D* GRE::GROUP::GetViewPoint3D | ( | ) | const [inline] |
| GRE::VISIBLEVIEW GRE::GROUP::GetVisible | ( | ) | const [inline] |
Get view visibility.
| void GRE::GROUP::GetVisibleScaleRange | ( | double & | MinScaleVisible, | |
| double & | MaxScaleVisible | |||
| ) | const [inline] |
Get scale range over which group is visible.
| MinScaleVisible | Minimum scale visible returned, 0 for no minimum | |
| MaxScaleVisible | Maximum scale visible returned, 0 for no maximum |
| bool GRE::GROUP::HasAttachedGroups | ( | ) | const |
Determine if group has other groups attached to it.
| bool GRE::GROUP::HasHighlightableLayer | ( | GRE::VIEW * | view = 0 |
) | const |
Determine if any layers in group have "highlightable" elements.
| view | Reference view for layer visibility test |
| virtual bool GRE::GROUP::HasLayers | ( | ) | const [virtual] |
Determine if group has any layers.
Implements GRE::VIEWABLE.
| bool GRE::GROUP::HasLegend | ( | ) | const [inline] |
Determine if group has a legend.
| bool GRE::GROUP::HasMutuallyExclusiveLayers | ( | ) | const [inline] |
Determine if group has mutually-exclusive layers.
| bool GRE::GROUP::HasTempLayers | ( | ) | const |
Determine if group has any temporary layers.
| bool GRE::GROUP::HighlightSetupDefault | ( | GRE::VIEW * | view = 0 |
) |
Setup for default highlighting of active layer elements.
| view | Optional view for determining layer visibility |
| void GRE::GROUP::InvalidateAllViews | ( | GRE::RENDERTARGET | Target = GRE::RENDERTARGET_GroupAll|GRE::RENDERTARGET_LayerAll |
) |
Invalidate all view buffers for this group.
| bool GRE::GROUP::Is3D | ( | ) | const [inline] |
Determine if group can be viewed in 3D.
| bool GRE::GROUP::IsBeingLoaded | ( | ) | const [inline] |
| bool GRE::GROUP::IsClipped | ( | ) | const |
Determine if group is to be clipped.
| bool GRE::GROUP::IsClippedToMatchedLayer | ( | ) | const [inline] |
Determine if group is to be clipped to the auto-matched layer.
| bool GRE::GROUP::IsCreated | ( | ) | const [inline] |
Determine if group has been created.
This is done automatically by constructor unless CREATEFLAG_DeferCreate was specified.
| bool GRE::GROUP::IsIgnored | ( | ) | const |
Determine if group should be ignored for extents determination.
| bool GRE::GROUP::IsSingleLayer | ( | ) | const [inline] |
Determine if group only allows a single layer.
| bool GRE::GROUP::IsValid | ( | ) | const |
Determine if group is a valid object.
| bool GRE::GROUP::IsVisibleAtScale | ( | double | scale | ) | const [inline] |
Determine if group visible at specified scale.
| bool GRE::GROUP::IsVisibleInView | ( | const GRE::VIEW * | view | ) | const |
Determine if group is visible in specified view.
| virtual ERRVALUE GRE::GROUP::SerialRead | ( | SERIALIZER & | serializer | ) | [virtual] |
Read from serialization.
Implements SERIALIZABLE.
| virtual ERRVALUE GRE::GROUP::SerialWrite | ( | SERIALIZER & | serializer, | |
| const char * | tagname = 0 | |||
| ) | const [virtual] |
Write values to serialization.
Implements SERIALIZABLE.
| void GRE::GROUP::Set2D | ( | ) |
Set group to 2D.
| void GRE::GROUP::SetActiveLayer | ( | GRE::LAYER * | layer | ) |
Set active layer for group.
| layer | Layer to make active |
| void GRE::GROUP::SetAllLayersVisible | ( | VIEW * | view, | |
| bool | visible | |||
| ) |
Set visibility of all layers in specified view.
| void GRE::GROUP::SetAllLayersVisible | ( | VISIBLEVIEW | views, | |
| bool | visible | |||
| ) |
Set visibility of all layers in specified views.
| void GRE::GROUP::SetClipRect | ( | const DRECT2D & | ClipRect, | |
| const SPATREF::COORDREFSYS & | RectCRS, | |||
| bool | notify = true | |||
| ) |
Set clipping rectangle.
| ClipRect | Rectangle to clip to | |
| RectCRS | Rectangle CRS |
| void GRE::GROUP::SetClipToMatchedLayer | ( | bool | ClipToMatchedLayer, | |
| bool | notify = true | |||
| ) |
Set clipping region.
Set whether to clip to 'auto-matched' layer
| ClipToMatchedLayer | 'true' to clip, 'false' to not | |
| notify | Send ACTION_ChangeBegin/End notification |
Set specified group flags.
| flags | GROUPFLAG_... flag values | |
| mask | GROUPFLAG_... mask for which flags to change |
Set specified group flags.
| flags | GROUPFLAG_... flag values | |
| mask | GROUPFLAG_... mask for which flags to change |
| void GRE::GROUP::SetLabelManagementMode | ( | LABEL_MANAGEMENT_MODE | mode | ) | [inline] |
| void GRE::GROUP::SetListPos | ( | int | newpos | ) |
Set group position in list.
| newpos | New list position, starting at 1 |
| void GRE::GROUP::SetListPos | ( | GRE::LISTPOS | listpos, | |
| GROUP * | refgroup = 0 | |||
| ) |
Set position in list.
| listpos | Position | |
| refgroup | Reference group |
| void GRE::GROUP::SetMatte | ( | const MATTE & | matte, | |
| bool | notify = true | |||
| ) |
Set matte values.
| matte | Matte values to set | |
| notify | Set to invoke callbacks with "Changed" message |
| void GRE::GROUP::SetModified | ( | bool | notify = true, |
|
| bool | ViewsNeedRedraw = true | |||
| ) |
Set group to "modified" status.
| notify | Set to invoke callbacks with "Changed" message | |
| ViewsNeedRedraw | Set all views of group as needing redraw |
| void GRE::GROUP::SetMutualExclusiveGroupSet | ( | UINT32 | GroupSet | ) |
Set "group set" which group is mutually-exclusive with.
| GroupSet | Group set bits |
| void GRE::GROUP::SetMutuallyExclusiveLayers | ( | bool | LayersMutuallyExclusive = true |
) |
Set whether layers are mutually-exclusive.
Set group name.
| newname | New name |
| void GRE::GROUP::SetNeedUpdateExtents | ( | ) | [inline] |
Set group to recompute extents.
| void GRE::GROUP::SetOrientation | ( | UINT8 | NewRotBase, | |
| double | NewRotAngle | |||
| ) | [inline] |
Set group rotation base and orientation.
| NewRotBase | ROTBASE_Projection or ROTBASE_North | |
| NewRotAngle | Rotation angle, radians clockwise relative to base |
| void GRE::GROUP::SetPosnAttachGeographic | ( | GRE::GROUP * | RefGroup = 0 |
) |
Set positioning attachment as geographic.
Does not send notification of changes.
| RefGroup | Reference group, will use previous or default if NULL |
Set positioning attachment for X.
Does not send notification of changes.
| AttachmentThis | Attachment place for this group (ATTACHMENT_Left, ATTACHMENT_Center, ATTACHMENT_Right) | |
| AttachmentRef | Attachment place for reference group (ATTACHMENT_Left, ATTACHMENT_Center, ATTACHMENT_Right) |
Set positioning attachment for Y.
Does not send notification of changes.
| AttachmentThis | Attachment place for this group (ATTACHMENT_Left, ATTACHMENT_Center, ATTACHMENT_Right) | |
| AttachmentRef | Attachment place for reference group (ATTACHMENT_Left, ATTACHMENT_Center, ATTACHMENT_Right) |
| void GRE::GROUP::SetPosnAttachToX | ( | UINT8 | AttachRefType, | |
| GRE::GROUP * | RefGroup | |||
| ) |
Set positioning reference item to attach to for X.
Does not send notification of changes.
| AttachRefType | Attachment reference item type (ATTACHREF_...) | |
| RefGroup | Reference group for ATTACHREF_Group |
| void GRE::GROUP::SetPosnAttachToY | ( | UINT8 | AttachRefType, | |
| GRE::GROUP * | RefGroup | |||
| ) |
Set positioning reference item to attach to for Y.
Does not send notification of changes.
| AttachRefType | Attachment reference item type (ATTACHREF_...) | |
| RefGroup | Reference group for ATTACHREF_Group |
| void GRE::GROUP::SetPosnOffsetX | ( | double | offset | ) | [inline] |
Set positioning offset for X.
Does not send notification of changes.
| void GRE::GROUP::SetPosnOffsetY | ( | double | offset | ) | [inline] |
Set positioning offset for Y.
Does not send notification of changes.
| void GRE::GROUP::SetPosnStateX | ( | UINT8 | PosnState | ) | [inline] |
Set positioning state for X.
| void GRE::GROUP::SetPosnStateY | ( | UINT8 | PosnState | ) | [inline] |
Set positioning state for Y.
| void GRE::GROUP::SetPosnValuesX | ( | UINT8 | AttachRefType, | |
| GRE::GROUP * | RefGroup, | |||
| UINT8 | AttachmentThis, | |||
| UINT8 | AttachmentRef, | |||
| double | offset | |||
| ) | [inline] |
Set all positioning values for X.
| AttachRefType | Attachment reference item type (ATTACHREF_...) | |
| RefGroup | Reference group for ATTACHREF_Group | |
| AttachmentThis | Attachment place for this group (ATTACHMENT_Left, ATTACHMENT_Center, ATTACHMENT_Right) | |
| AttachmentRef | Attachment place for reference group (ATTACHMENT_Left, ATTACHMENT_Center, ATTACHMENT_Right) |
| void GRE::GROUP::SetPosnValuesY | ( | UINT8 | AttachRefType, | |
| GRE::GROUP * | RefGroup, | |||
| UINT8 | AttachmentThis, | |||
| UINT8 | AttachmentRef, | |||
| double | offset | |||
| ) | [inline] |
Set all positioning values for Y.
| AttachRefType | Attachment reference item type (ATTACHREF_...) | |
| RefGroup | Reference group for ATTACHREF_Group | |
| AttachmentThis | Attachment place for this group (ATTACHMENT_Left, ATTACHMENT_Center, ATTACHMENT_Right) | |
| AttachmentRef | Attachment place for reference group (ATTACHMENT_Left, ATTACHMENT_Center, ATTACHMENT_Right) |
| void GRE::GROUP::SetProjView | ( | const GRE::LAYER * | layer | ) |
Set group projection to match specified layer.
| layer | Layer to obtain projection from, NULL to match first raster/layer |
| void GRE::GROUP::SetRelativeScale | ( | double | RelativeScale, | |
| bool | notify = true | |||
| ) |
Set group scale relative to layout design scale.
| ERRVALUE GRE::GROUP::SetRenderCoordRefSys | ( | const SPATREF::COORDREFSYS & | RenderCRS | ) |
Set coordinate reference system to render group in.
| void GRE::GROUP::SetSavedLocations | ( | const MISTRING & | string | ) | [inline] |
| void GRE::GROUP::SetSingleLayer | ( | bool | SingleLayer | ) | [inline] |
| ERRVALUE GRE::GROUP::SetupEquirectangular | ( | SPATREF::COORDREFSYS & | CoordRefSys, | |
| const DPOINT2D & | center | |||
| ) | const |
Setup equirectangular CRS based on group datum.
| CoordRefSys | Coordinate Reference System definition returned | |
| center | Projection center in CRS used by group |
| void GRE::GROUP::SetViewPoint3D | ( | const GRE::VIEWPOINT3D & | ViewPoint3D | ) |
Set 3D viewpoint.
| void GRE::GROUP::SetVisible | ( | UINT32 | flags, | |
| bool | set | |||
| ) |
Set group visibility in specified views.
| flags | Bits indicating which views to modify visibility for | |
| set | true if visible, false if not |
| void GRE::GROUP::SetVisibleScaleRange | ( | double | MinScaleVisible, | |
| double | MaxScaleVisible | |||
| ) | [inline] |
Set scale range over which group is visible.
| void GRE::GROUP::SetVisibleView | ( | GRE::VIEW * | view, | |
| bool | visible | |||
| ) |
Set group visibility in specified view.
| view | View to set visibility for | |
| visible | true if visible, false if not |
| static void GRE::GROUP::SMLClassInstall | ( | SMLCONTEXT * | context | ) | [static] |
Install SML class, called by internal SML function.
| context | SML context |
Reimplemented from GRE::VIEWABLE.
| ERRVALUE GRE::GROUP::TemplateWrite | ( | SERIALIZER & | serializer, | |
| const char * | tagname = 0 | |||
| ) |
Write template to serialization.
| void GRE::GROUP::ValidateAttachments | ( | ) |
Validate attachment settings.
1.6.1