GRE::GROUP Class Reference

#include <gre/group.h>

Inheritance diagram for GRE::GROUP:
Inheritance graph
[legend]

List of all members.

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 &region, 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::LAYERFindLayerByID (UINT32 LayerID) const
double GetAspectX () const
double GetAspectY () const
const REGION2DGetClipRegion () const
bool GetClipToMatchedLayer () const
ERRVALUE GetExtents (DRECT2D &extents, EXTENTCOORD coords)
GRE::LAYERGetFirstLayer () const
UINT32 GetFlags () const
virtual void GetFullName (MISTRING &name) const
const REGION2DGetFullRegion () const
LABEL_MANAGEMENT_MODE GetLabelManagementMode () const
GRE::LAYERGetLastLayer () const
GRE::LAYERGetLayerActive () const
GRE::LAYER::COMMONPARMGetLayerCommonParm (LAYER::TYPE LayerType)
const GRE::LAYER::COMMONPARMGetLayerCommonParm (LAYER::TYPE LayerType) const
GRE::LAYERGetLayerMatched () const
GRE::LAYERGetLayerZoom1X (bool PreferredOnly) const
GRE::LAYOUTGetLayout () const
const DRECT2DGetLayoutExtents () const
int GetListPos ()
GROUPGetMatchedGroup (bool firstonly=false) const
MATTEGetMatte ()
UINT32 GetMutualExclusiveGroupSet () const
const MISTRINGGetName () const
bool GetNeedUpdateExtents () const
GROUPGetNext () const
virtual UINT32 GetNextLayerID () const
const POSNGetPosnX () const
const POSNGetPosnY () const
GROUPGetPrevious () const
double GetRelativeScale () const
double GetRotationAngle () const
UINT8 GetRotationBase () const
const MISTRINGGetSavedLocations () const
SERIALIZERGetSerializer () const
virtual ERRVALUE GetSizeMeters (DPOINT2D &sizemeters)
const TRANS2D_AFFINEGetTransViewToGroup () const
const SPATREF::COORDREFSYSGetUsedCoordRefSys () const
GRE::VIEWPOINT3DGetViewPoint3D () 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 &center) 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 GROUPGetFromWidget (Widget w)
static void SMLClassInstall (SMLCONTEXT *context)

Member Enumeration Documentation

Flags for group creation.

Enumerator:
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().

Enumerator:
EXTENTCOORD_Group 
EXTENTCOORD_Layout 
EXTENTCOORD_View 
Enumerator:
LABEL_MANAGEMENT_MODE_RenderWithLayer 
LABEL_MANAGEMENT_MODE_RenderLast 
Enumerator:
ORIENTATION_BASE_Projection 
ORIENTATION_BASE_North 

Constructor & Destructor Documentation

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.


Member Function Documentation

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
Parameters:
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.

Parameters:
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.

Parameters:
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.

static GROUP* GRE::GROUP::GetFromWidget ( Widget  w  )  [static]

Get group from object attached to Widget userData.

virtual void GRE::GROUP::GetFullName ( MISTRING name  )  const [virtual]

Get full group name as MISTRING.

Parameters:
name Name returned

Implements GRE::VIEWABLE.

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.

Returns:
Pointer to parameter instance or NULL if none set for type.
const GRE::LAYER::COMMONPARM* GRE::GROUP::GetLayerCommonParm ( LAYER::TYPE  LayerType  )  const

Get common parameter base class pointer for specific layer type.

Returns:
Pointer to parameter instance or NULL if none set for 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.

Parameters:
PreferredOnly Use 'preferred' layers only
GRE::LAYOUT* GRE::GROUP::GetLayout (  )  const [inline]

Get layout group is contained in.

Returns:
pointer to layout.
const DRECT2D& GRE::GROUP::GetLayoutExtents (  )  const [inline]
int GRE::GROUP::GetListPos (  ) 

Get current group drawing order position in list.

Returns:
0 for first group, 1 for second, etc.
GROUP* GRE::GROUP::GetMatchedGroup ( bool  firstonly = false  )  const

Return geographically-attached reference group if any.

Parameters:
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.

Returns:
Pointer to SERIALIZER, NULL if not being loaded.
virtual ERRVALUE GRE::GROUP::GetSizeMeters ( DPOINT2D sizemeters  )  [virtual]

Compute dimensions of object based on scale and georeference.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Returns:
true if set highlighting, false if not.
Parameters:
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.

Parameters:
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.

Parameters:
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

Parameters:
ClipToMatchedLayer 'true' to clip, 'false' to not
notify Send ACTION_ChangeBegin/End notification
void GRE::GROUP::SetFlags ( UINT32  flags,
UINT32  mask,
bool  notify 
)

Set specified group flags.

Parameters:
flags GROUPFLAG_... flag values
mask GROUPFLAG_... mask for which flags to change
void GRE::GROUP::SetFlags ( UINT32  flags,
UINT32  mask 
)

Set specified group flags.

Parameters:
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.

Parameters:
newpos New list position, starting at 1
void GRE::GROUP::SetListPos ( GRE::LISTPOS  listpos,
GROUP refgroup = 0 
)

Set position in list.

Parameters:
listpos Position
refgroup Reference group
void GRE::GROUP::SetMatte ( const MATTE matte,
bool  notify = true 
)

Set matte values.

Parameters:
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.

Parameters:
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.

Parameters:
GroupSet Group set bits
void GRE::GROUP::SetMutuallyExclusiveLayers ( bool  LayersMutuallyExclusive = true  ) 

Set whether layers are mutually-exclusive.

ERRVALUE GRE::GROUP::SetName ( const MISTRING newname  ) 

Set group name.

Parameters:
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.

Parameters:
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.

Parameters:
RefGroup Reference group, will use previous or default if NULL
void GRE::GROUP::SetPosnAttachmentX ( UINT8  AttachmentThis,
UINT8  AttachmentRef 
)

Set positioning attachment for X.

Does not send notification of changes.

Parameters:
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::SetPosnAttachmentY ( UINT8  AttachmentThis,
UINT8  AttachmentRef 
)

Set positioning attachment for Y.

Does not send notification of changes.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:34:14 2012 for TNTsdk 2012 by  doxygen 1.6.1