#include <gre/viewable.h>
Inheritance diagram for GRE_VIEWABLE:

Public Member Functions | |
| void | ClearMacroScriptList () |
| void | ClearSaveLocation () |
| void | ClearToolScriptList () |
| ERRVALUE | ControlScriptEdit (MDLGPARENT dlgparent) |
| void | DestroyAllViews () |
| void | DlgObjMgrClose () |
| ERRVALUE | DlgObjMgrCreate (MDLGPARENT dlgparent, const MISTRING &title) |
| ERRVALUE | DlgObjMgrCreate (MDLGPARENT dlgparent) |
| void | DlgObjMgrDestroy () |
| bool | DlgObjMgrIsOpen () const |
| void | DlgObjMgrOpen () |
| virtual ERRVALUE | DrawAllViews (UINT32 drawflags=0)=0 |
| virtual GRE_LAYER * | FindLayerByID (UINT32 LayerID) const =0 |
| MAINSCRIPT & | GetControlScript () |
| double | GetDesignScale () const |
| MDLGPARENT | GetDialogParent () const |
| const DRECT2D & | GetExtents () const |
| GRE_VIEW * | GetFirstView () const |
| virtual void | GetFullName (MISTRING &name) const =0 |
| const char * | GetIniName () const |
| GRE::MACROSCRIPTLIST & | GetMacroScriptList () |
| virtual UINT32 | GetNextLayerID () const =0 |
| const FILEPATH & | GetSaveFilePath () const |
| const RVC::OBJITEM & | GetSaveObjItem () const |
| bool | GetShowInternalTables () const |
| bool | GetShowScaleRanges () const |
| virtual ERRVALUE | GetSizeMeters (DPOINT2D &sizemeters)=0 |
| GRE::TOOLSCRIPTLIST & | GetToolScriptList () |
| GRE_VIEW * | GetView (int ViewNum) const |
| GRE_VIEWABLE (GRE_OBJTYPE type) | |
| virtual bool | HasLayers () const =0 |
| bool | HasSaveLocation () const |
| bool | IsModified () const |
| Widget | ObjMgrCreate (Widget pwidget, Arg *arglist, int argcount) |
| Widget | ObjMgrGetContainer () const |
| void | ObjMgrMakeVisible (Widget widget) |
| short | ObjMgrSetPosition (Widget widget, short newindex) |
| ERRVALUE | RenderToRaster (RVC::OBJITEM &objitem, COLORSPACE colorspace, INT32 rastcols, INT32 rastlins, double cellsize, const COLOR &bgcolor, int viewnum=1, bool savegeoref=true, const SIMPLE_ARRAY< COLOR > *pColors=0, const DRECT2D *pRect=0, MGD::PIXEL *pFallbackPixel=0) |
| void | ResetModified () |
| void | SetDesignScale (double DesignScale, bool notify=true) |
| void | SetDialogParent (MDLGPARENT DialogParent) |
| void | SetIniBase (const char *name) |
| void | SetMacroScriptList (const GRE::MACROSCRIPTLIST &ScriptList) |
| void | SetSaveFilePath (const FILEPATH &SaveFilePath) |
| void | SetSaveObjItem (const FILEPATH &SaveFilePath, const RVCGENINFO &SaveObjInfo) |
| void | SetSaveObjItem (const RVC::OBJITEM &SaveObjItem) |
| void | SetShowInternalTables (bool ShowInternalTables) |
| void | SetShowScaleRanges (bool ShowScaleRanges) |
| void | SetToolScriptList (const GRE::TOOLSCRIPTLIST &ScriptList) |
| void | UpdateViewScriptUI () |
| virtual | ~GRE_VIEWABLE () |
Static Public Member Functions | |
| void | SMLClassInstall (SMLCONTEXT *context) |
Protected Member Functions | |
| ERRVALUE | ControlScriptInitialize () |
| UINT8 | GetIniIndex () const |
| virtual void | ObjMgrInitItems ()=0 |
| void | SetIniIndex (UINT8 IniIndex) |
Static Protected Member Functions | |
| const SERIALIZER::ITEMDEF * | SerialGetItemDef (SERIALIZER &serializer) |
| const SERIALIZER::ITEMDEF * | TemplateGetItemDef () |
Protected Attributes | |
| bool | m_IsModified |
Definition at line 123 of file viewable.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Clear MacroScript list.
Definition at line 185 of file viewable.h. |
|
|
Clear save location specification.
Definition at line 190 of file viewable.h. |
|
|
Clear ToolScript list.
Definition at line 195 of file viewable.h. |
|
|
|
|
|
|
|
|
Destroy all views of this object.
|
|
|
Definition at line 209 of file viewable.h. |
|
||||||||||||
|
Definition at line 216 of file viewable.h. |
|
|
Definition at line 212 of file viewable.h. |
|
|
Definition at line 221 of file viewable.h. |
|
|
Definition at line 224 of file viewable.h. |
|
|
Definition at line 227 of file viewable.h. |
|
|
Draw all views of this object.
Implemented in GRE_GROUP, and GRE_LAYOUT. |
|
|
Find layer using unique ID.
Implemented in GRE_GROUP, and GRE_LAYOUT. |
|
|
Get reference to "display control script".
Definition at line 238 of file viewable.h. |
|
|
Get 'design scale' for layout or group.
Definition at line 252 of file viewable.h. |
|
|
Get parent for dialogs relating to this object.
Definition at line 256 of file viewable.h. |
|
|
Get overall viewable extents.
Definition at line 243 of file viewable.h. |
|
|
Get first view of this object.
for (GRE_VIEW *view = object->GetFirstView(); (view != 0); view = view->GetNext()) { ... } |
|
|
Get full object name.
Implemented in GRE_GROUP, and GRE_LAYOUT. |
|
|
Get unique index for building Ini name.
Definition at line 456 of file viewable.h. |
|
|
Get name of object to use in Ini file access.
Definition at line 277 of file viewable.h. |
|
|
Get MacroScript list.
Definition at line 282 of file viewable.h. |
|
|
Get next available unique ID.
Implemented in GRE_GROUP, and GRE_LAYOUT. |
|
|
Get path to file where viewable saved.
Definition at line 291 of file viewable.h. |
|
|
Get object item reference to save location.
Definition at line 295 of file viewable.h. |
|
|
Get whether to show internal tables in table lists.
Definition at line 299 of file viewable.h. |
|
|
Get whether to show scale ranges in layer lists.
Definition at line 303 of file viewable.h. |
|
|
Compute dimensions of object based on scale and georeference.
Implemented in GRE_GROUP, and GRE_LAYOUT. |
|
|
Get ToolScript list.
Definition at line 313 of file viewable.h. |
|
|
Get view of this object given view number.
|
|
|
Determine if object has any layers.
Implemented in GRE_GROUP, and GRE_LAYOUT. |
|
|
Determine if save location has been specified.
|
|
|
Determine if changes have been made since last save.
Definition at line 332 of file viewable.h. |
|
||||||||||||||||
|
Create "object manager" container (RowColumn) widget.
|
|
|
Get RowColumn widget for creating items in object manager.
Definition at line 347 of file viewable.h. |
|
|
Create initial set of items in object manager.
Implemented in GRE_GROUP, and GRE_LAYOUT. |
|
|
Scroll to make specified widget visible in object manager.
|
|
||||||||||||
|
Set position of item in object manager.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Render to raster.
|
|
|
Reset "is modified" status to "false".
Definition at line 383 of file viewable.h. |
|
|
Get serialization item definition array.
Definition at line 466 of file viewable.h. |
|
||||||||||||
|
Set 'design scale' for layout or group.
Definition at line 387 of file viewable.h. |
|
|
Set parent for dialogs relating to this object.
Definition at line 393 of file viewable.h. |
|
|
Set base name of object for use in Ini file acces.
|
|
|
Set index for building Ini name.
|
|
|
Definition at line 403 of file viewable.h. |
|
|
Set path to file where viewable saved. Also resets object such that expects to save to non-RVC file. |
|
||||||||||||
|
Set object item reference to save location from FILEPATH and RVCGENINFO.
Definition at line 420 of file viewable.h. |
|
|
Set object item reference to save location.
Definition at line 415 of file viewable.h. |
|
|
Set whether to show internal tables in table lists.
|
|
|
Set whether to show scale ranges in layer lists.
|
|
|
Definition at line 436 of file viewable.h. |
|
|
Install SML class, called by internal SML function.
Reimplemented in GRE_GROUP, and GRE_LAYOUT. |
|
|
Get serialization item definition array.
|
|
|
Update user interface for changes to view scripts.
|
|
|
Changes have been made since last save.
Definition at line 449 of file viewable.h. |
1.3.8-20040913