#include <gre/layerview.h>
Inheritance diagram for GRE::LAYERVIEW:

Definition at line 73 of file layerview.h.
| virtual GRE::LAYERVIEW::~LAYERVIEW | ( | ) | [virtual] |
| GRE::LAYERVIEW::LAYERVIEW | ( | GRE::LAYER * | layer, | |
| GRE::VIEW * | view | |||
| ) | [protected] |
Constructor.
| void GRE::LAYERVIEW::CheckRendered | ( | ) |
Check if existing renderings are still valid.
| void GRE::LAYERVIEW::ClearAllDrawnSets | ( | bool | UseHighlighted | ) |
Clear all 'drawn element' sets.
Does not resize the sets.
| void GRE::LAYERVIEW::ClearLabelPlacement | ( | ) |
Clear label placement if any.
| ERRVALUE GRE::LAYERVIEW::ComputeTrans | ( | ) |
Compute all transformations.
| ERRVALUE GRE::LAYERVIEW::DrawElementsToBuffer | ( | ELEMTYPE | ElemType, | |
| const UINT8 * | ElemSet, | |||
| GRE::LAYERVIEW::RENDERTYPE | RenderType, | |||
| GRE::DRAWFLAGS | drawflags | |||
| ) |
Draw set of elements to specified rendering buffer.
| ERRVALUE GRE::LAYERVIEW::DrawElementsToDevice | ( | ELEMTYPE | ElemType, | |
| const UINT8 * | ElemSet, | |||
| MGD::DEVICE * | pDevice, | |||
| GRE::DRAWFLAGS | drawflags | |||
| ) |
Draw set of elements to specified rendering device.
| ERRVALUE GRE::LAYERVIEW::DrawElementToBuffer | ( | ELEMTYPE | ElemType, | |
| INT32 | ElemNum, | |||
| GRE::LAYERVIEW::RENDERTYPE | RenderType, | |||
| GRE::DRAWFLAGS | drawflags | |||
| ) |
Draw single element to specified rendering buffer.
| ERRVALUE GRE::LAYERVIEW::DrawElementToDevice | ( | ELEMTYPE | ElemType, | |
| INT32 | ElemNum, | |||
| MGD::DEVICE * | pDevice, | |||
| GRE::DRAWFLAGS | drawflags | |||
| ) |
Draw single element to specified rendering device.
| double GRE::LAYERVIEW::Get3dDepthScale | ( | ) | const [inline] |
Get depth scaling, multiplied by depth to get drawing scale.
Definition at line 136 of file layerview.h.
| double GRE::LAYERVIEW::Get3dSurfaceIncrement | ( | ) | const [inline] |
Get increment in layer relative to once cell in surface layer.
Definition at line 140 of file layerview.h.
| const GRE::VIEWPOINT3D* GRE::LAYERVIEW::Get3dViewPoint | ( | ) | const [inline] |
| double GRE::LAYERVIEW::Get3dZScale | ( | ) | const [inline] |
| double GRE::LAYERVIEW::GetDesignScale | ( | ) | const [inline] |
| const LRECT2D& GRE::LAYERVIEW::GetDeviceRectUsed | ( | ) | const [inline] |
Get device rectangle used for rendering.
This is a nominal rectangle based on layer extents and may not account for symbology and marginalia. Returned rectangle may not be suitable for clipping during drawing, but will be suitable for selection of source object elements.
Definition at line 159 of file layerview.h.
Get set for elements drawn in view (non-const).
| UseHighlighted | Element type True to return set for visible elements drawn as 'highlighted' |
Definition at line 175 of file layerview.h.
| const BITSET* GRE::LAYERVIEW::GetElemDrawnSet | ( | ELEMTYPE | ElemType, | |
| bool | UseHighlighted | |||
| ) | const [inline] |
Get set for elements drawn in view (const).
| UseHighlighted | Element type True to return set for visible elements drawn as 'highlighted' |
Definition at line 166 of file layerview.h.
| LABELPLACEMENT* GRE::LAYERVIEW::GetLabelPlacement | ( | bool | ReturnNullIfEmpty = true |
) |
Get pointer to label placement instance.
| ReturnNullIfEmpty | Return NULL pointer if no labels |
| GRE::LAYER* GRE::LAYERVIEW::GetLayer | ( | ) | const [inline] |
| RENDERBUFFER& GRE::LAYERVIEW::GetRenderBuffer | ( | RENDERTYPE | RenderType | ) | [inline] |
Get rendering buffer for specified rendering type (non-const).
| RenderType | Rendering type |
Definition at line 196 of file layerview.h.
| const RENDERBUFFER& GRE::LAYERVIEW::GetRenderBuffer | ( | RENDERTYPE | RenderType | ) | const [inline] |
Get rendering buffer for specified rendering type (const).
| RenderType | Rendering type |
Definition at line 191 of file layerview.h.
| GRE::LAYER_SURFACE* GRE::LAYERVIEW::GetSurfaceLayer | ( | ) | const [inline] |
| const TRANS2D_MAPGEN& GRE::LAYERVIEW::GetTransLayerDevice | ( | ) | const [inline] |
| const TRANS2D_MAPGEN& GRE::LAYERVIEW::GetTransLayerSurface | ( | ) | const [inline] |
Get transformation from 'layer' to 'surface' coordinates.
Definition at line 209 of file layerview.h.
| const TRANS2D_MAPGEN& GRE::LAYERVIEW::GetTransLayerView | ( | ) | const [inline] |
| GRE::VIEW* GRE::LAYERVIEW::GetView | ( | ) | const [inline] |
| bool GRE::LAYERVIEW::HasSurfaceNulls | ( | ) | const [inline] |
| bool GRE::LAYERVIEW::Is3D | ( | ) | const [inline] |
| bool GRE::LAYERVIEW::Is3dStereo | ( | ) | const |
Determine if drawing 3D in stereo.
| bool GRE::LAYERVIEW::IsLayerOverlappedDevice | ( | ) | const [inline] |
| bool GRE::LAYERVIEW::IsSurfaceUsed | ( | ) | const [inline] |
| bool GRE::LAYERVIEW::OverlayBufferIfRendered | ( | RENDERTYPE | RenderType, | |
| MGD::DEVICE * | pDevTarget, | |||
| const LRECT2D * | pClipRect = 0 | |||
| ) |
Overlay rendering buffer on device if it has been rendered.
| RenderType | Render type |
| pDevTarget | Target device |
| pClipRect | Optional clip rectangle |
| void GRE::LAYERVIEW::ResetAllDrawnSets | ( | ) |
Reset all 'drawn element' sets to have no entries.
| void GRE::LAYERVIEW::ResetRendered | ( | GRE::RENDERTARGET | target = GRE::RENDERTARGET_LayerAll |
) |
Reset rendered status so redraws.
| virtual BITSET* GRE::LAYERVIEW::v_GetElemDrawnSet | ( | ELEMTYPE | ElemType, | |
| bool | UseHighlighted | |||
| ) | [private, virtual] |
Get set for elements drawn in view.
| virtual LABELPLACEMENT* GRE::LAYERVIEW::v_GetLabelPlacement | ( | ) | [private, virtual] |
Get pointer label placement manager.
1.5.2