#include <gre/group.h>
Inheritance diagram for GRE::GROUP:

Definition at line 215 of file group.h.
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.
| 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::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] |
| ERRVALUE GRE::GROUP::GeoCatDlgOpen | ( | MDLGPARENT | dlgparent | ) |
Open geocatalog dialog for adding layers to group.
| dlgparent | Parent for dialog |
| void GRE::GROUP::GeoCatDlgSetSearchPoint | ( | const DPOINT2D & | SearchPoint, | |
| const SPATREF::COORDREFSYS & | PointCRS | |||
| ) | const |
Set point for next "point search" operation in geocatalog dialog.
| SearchPoint | Point coordinates |
| PointCRS | Point coordinate reference system |
| GRE::LAYER* GRE::GROUP::GetActiveLayer | ( | ) | const [inline] |
| const REGION2D& GRE::GROUP::GetClipRegion | ( | ) | const |
Get clipping region for group.
| bool GRE::GROUP::GetClipToMatchedLayer | ( | ) | const [inline] |
| 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] |
| UINT32 GRE::GROUP::GetFlags | ( | ) | const [inline] |
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] |
| 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] |
| 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 |
| UINT32 GRE::GROUP::GetMutualExclusiveGroupSet | ( | ) | const [inline] |
| const MISTRING& GRE::GROUP::GetName | ( | ) | const [inline] |
| bool GRE::GROUP::GetNeedUpdateExtents | ( | ) | const [inline] |
| GROUP* GRE::GROUP::GetNext | ( | ) | const [inline] |
| virtual UINT32 GRE::GROUP::GetNextLayerID | ( | ) | const [virtual] |
| GROUP* GRE::GROUP::GetPrevious | ( | ) | const [inline] |
| double GRE::GROUP::GetRelativeScale | ( | ) | const [inline] |
| double GRE::GROUP::GetRotationAngle | ( | ) | const [inline] |
| 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] |
| const SPATREF::COORDREFSYS& GRE::GROUP::GetUsedCoordRefSys | ( | ) | const |
Get CoordRefSys used for rendering.
| GRE::VIEWPOINT3D* GRE::GROUP::GetViewPoint3D | ( | ) | const [inline] |
| UINT32 GRE::GROUP::GetVisible | ( | ) | const [inline] |
| void GRE::GROUP::GetVisibleScaleRange | ( | double & | MinScaleVisible, | |
| double & | MaxScaleVisible | |||
| ) | [inline] |
| 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] |
| bool GRE::GROUP::HasLegend | ( | ) | const [inline] |
| bool GRE::GROUP::HasMutuallyExclusiveLayers | ( | ) | const [inline] |
| bool GRE::GROUP::HasTempLayers | ( | ) | const |
Determine if group has any temporary layers.
| void GRE::GROUP::HighlightSetupDefault | ( | GRE::VIEW * | view = 0 |
) |
Setup for default highlighting of 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] |
| bool GRE::GROUP::IsClipped | ( | ) | const |
Determine if group is to be clipped.
| bool GRE::GROUP::IsClippedToMatchedLayer | ( | ) | const [inline] |
| bool GRE::GROUP::IsCreated | ( | ) | const [inline] |
| bool GRE::GROUP::IsIgnored | ( | ) | const |
Determine if group should be ignored for extents determination.
| bool GRE::GROUP::IsSingleLayer | ( | ) | const [inline] |
| bool GRE::GROUP::IsValid | ( | ) | const |
Determine if group is a valid object.
| bool GRE::GROUP::IsVisibleAtScale | ( | double | scale | ) | const [inline] |
| 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] |
| virtual ERRVALUE GRE::GROUP::SerialWrite | ( | SERIALIZER & | serializer, | |
| const char * | tagname = 0 | |||
| ) | const [virtual] |
| 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::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 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 |
| void GRE::GROUP::SetLabelManagementMode | ( | LABEL_MANAGEMENT_MODE | mode | ) | [inline] |
| void GRE::GROUP::SetListPos | ( | int | newpos | ) |
Set group position in list.
| newpos | New list position |
| 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] |
| void GRE::GROUP::SetOrientation | ( | UINT8 | NewRotBase, | |
| double | NewRotAngle | |||
| ) | [inline] |
| 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.
| 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::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] |