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

Definition at line 159 of file viewable.h.
| virtual GRE::VIEWABLE::~VIEWABLE | ( | ) | [virtual] |
Destructor.
| GRE::VIEWABLE::VIEWABLE | ( | OBJECT::TYPE | type, | |
| VIEWABLE * | container | |||
| ) | [explicit, protected] |
Constructor.
| type | Object type |
| container | Containing viewable |
| void GRE::VIEWABLE::ClearMacroScriptList | ( | ) | [inline] |
| void GRE::VIEWABLE::ClearSaveLocation | ( | ) | [inline] |
| void GRE::VIEWABLE::ClearToolScriptList | ( | ) | [inline] |
| ERRVALUE GRE::VIEWABLE::ControlScriptEdit | ( | MDLGPARENT | dlgparent | ) |
| ERRVALUE GRE::VIEWABLE::ControlScriptInitialize | ( | ) | [protected] |
| void GRE::VIEWABLE::DestroyAllViews | ( | ) |
Destroy all views of this object.
| ERRVALUE GRE::VIEWABLE::DrawAllViews | ( | GRE::DRAWCONDITION | condition = GRE::DRAWCONDITION_Always |
) | [inline] |
| virtual GRE::LAYER* GRE::VIEWABLE::FindLayerByID | ( | UINT32 | LayerID | ) | const [pure virtual] |
| MAINSCRIPT& GRE::VIEWABLE::GetControlScript | ( | ) | [inline] |
| double GRE::VIEWABLE::GetDesignScale | ( | ) | const [inline] |
| GRE::HIGHLIGHTMODE GRE::VIEWABLE::GetElemHighlightMode | ( | ) | const [inline] |
| const DRECT2D& GRE::VIEWABLE::GetExtents | ( | ) | const [inline] |
| GRE::VIEW* GRE::VIEWABLE::GetFirstView | ( | ) | const |
Get first view of this object.
for (GRE::VIEW *view = object->GetFirstView(); (view != 0); view = view->GetNext()) { ... }
| virtual void GRE::VIEWABLE::GetFullName | ( | MISTRING & | name | ) | const [pure virtual] |
| UINT8 GRE::VIEWABLE::GetIniIndex | ( | ) | const [inline, protected] |
| const char* GRE::VIEWABLE::GetIniName | ( | ) | const [inline] |
| GRE::MACROSCRIPTLIST& GRE::VIEWABLE::GetMacroScriptList | ( | ) | [inline] |
| double GRE::VIEWABLE::GetMaxScaleVisibleAny | ( | ) | const [inline] |
Get maximum visible scale for any item in viewable.
Definition at line 304 of file viewable.h.
| double GRE::VIEWABLE::GetMinScaleVisibleAny | ( | ) | const [inline] |
| virtual UINT32 GRE::VIEWABLE::GetNextLayerID | ( | ) | const [pure virtual] |
| const FILEPATH& GRE::VIEWABLE::GetSaveFilePath | ( | ) | const [inline] |
| const RVC::OBJITEM& GRE::VIEWABLE::GetSaveObjItem | ( | ) | const [inline] |
Compute dimensions of object based on scale and georeference.
| sizemeters | Size returned in meters |
Implemented in GRE::GROUP, and GRE::LAYOUT.
| GRE::TOOLSCRIPTLIST& GRE::VIEWABLE::GetToolScriptList | ( | ) | [inline] |
| VIEWABLE* GRE::VIEWABLE::GetTopViewable | ( | ) |
Get topmost containing viewable (non-const).
| const VIEWABLE* GRE::VIEWABLE::GetTopViewable | ( | ) | const |
Get topmost containing viewable (const).
| GRE::VIEW* GRE::VIEWABLE::GetView | ( | int | ViewNum | ) | const |
Get view of this object given view number.
| virtual bool GRE::VIEWABLE::HasLayers | ( | ) | const [pure virtual] |
| bool GRE::VIEWABLE::HasSaveLocation | ( | ) | const |
Determine if save location has been specified.
| bool GRE::VIEWABLE::IsModified | ( | ) | const [inline] |
| bool GRE::VIEWABLE::IsTopViewable | ( | ) | const [inline] |
| ERRVALUE GRE::VIEWABLE::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 | |||
| ) |
Render to raster.
| pColors | Colormap to use for COLORSPACE_Indexed |
| pRect | Rectangle in viewable coordinates to limit extent |
| pFallbackPixel | Pointer to fallback pixel, NULL to use 'transparent' |
| void GRE::VIEWABLE::ResetModified | ( | ) | [inline] |
| static const SERIALIZER::ITEMDEF* GRE::VIEWABLE::SerialGetItemDef | ( | SERIALIZER & | ) | [inline, static, protected] |
| void GRE::VIEWABLE::SetDesignScale | ( | double | DesignScale, | |
| bool | notify = true | |||
| ) | [inline] |
Set 'design scale' for layout or group.
| DesignScale | Design scale to set |
| notify | Send notification if changed |
Definition at line 384 of file viewable.h.
| void GRE::VIEWABLE::SetElemHighlightMode | ( | GRE::HIGHLIGHTMODE | HighlightMode | ) |
Set element highlighting mode.
| void GRE::VIEWABLE::SetIniBase | ( | const char * | name | ) |
Set base name of object for use in Ini file acces.
| void GRE::VIEWABLE::SetIniIndex | ( | UINT8 | IniIndex | ) | [protected] |
Set index for building Ini name.
| void GRE::VIEWABLE::SetMacroScriptList | ( | const GRE::MACROSCRIPTLIST & | ScriptList | ) | [inline] |
Definition at line 400 of file viewable.h.
| void GRE::VIEWABLE::SetSaveFilePath | ( | const FILEPATH & | SaveFilePath | ) |
Set path to file where viewable saved.
Also resets object such that expects to save to non-RVC file.
| void GRE::VIEWABLE::SetSaveObjItem | ( | const RVC::OBJITEM & | SaveObjItem | ) | [inline] |
| void GRE::VIEWABLE::SetToolScriptList | ( | const GRE::TOOLSCRIPTLIST & | ScriptList | ) | [inline] |
Definition at line 417 of file viewable.h.
| static void GRE::VIEWABLE::SMLClassInstall | ( | SMLCONTEXT * | context | ) | [static] |
| static const SERIALIZER::ITEMDEF* GRE::VIEWABLE::TemplateGetItemDef | ( | ) | [static, protected] |
Get serialization item definition array.
| void GRE::VIEWABLE::TreeViewGetAll | ( | SIMPLE_ARRAY< GRE::CTRL_TREEVIEW * > & | TreeViewPtrs | ) | const |
Get all TreeViews which may contain this viewable.
| void GRE::VIEWABLE::TreeViewSetPtr | ( | GRE::CTRL_TREEVIEW * | pTreeView | ) | [inline] |
Set TreeView pointer.
Used by GRE CTRL_TREEVIEW implementation, should not be called directly.
Definition at line 432 of file viewable.h.
| void GRE::VIEWABLE::UpdateViewScriptUI | ( | ) |
Update user interface for changes to view scripts.
bool GRE::VIEWABLE::m_IsModified [protected] |
1.5.2