GRE::GROUPVIEW Class Reference

Container for layer information retained for each view. More...

#include <gre/groupview.h>

List of all members.

Public Types

enum  RENDERTYPE {
  RENDERTYPE_Group = 0, RENDERTYPE_ActiveElems, RENDERTYPE_Matte, RENDERTYPE_Overlay,
  RENDERTYPE_COUNT
}

Public Member Functions

void CheckRendered ()
ERRVALUE ComputeTrans ()
ERRVALUE DrawActiveOverlay ()
const GRE::VIEWPOINT3DGet3dViewPoint () const
const LRECT2DGetDeviceRectUsed () const
GRE::GROUPGetGroup () const
RENDERBUFFERGetRenderBuffer (RENDERTYPE RenderType)
const RENDERBUFFERGetRenderBuffer (RENDERTYPE RenderType) const
double GetRotationAngle () const
double GetRotationCos () const
double GetRotationSin () const
GRE::VIEWGetView () const
 GROUPVIEW (GRE::GROUP *group, GRE::VIEW *view)
bool Is3D () const
bool Is3dStereo () const
bool IsGroupOverlappedDevice () const
void ResetRendered (GRE::RENDERTARGET target=GRE::RENDERTARGET_GroupAll)
 ~GROUPVIEW ()


Detailed Description

Container for layer information retained for each view.

Definition at line 50 of file groupview.h.


Member Enumeration Documentation

enum GRE::GROUPVIEW::RENDERTYPE

Rendering buffer types.

Enumerator:
RENDERTYPE_Group 
RENDERTYPE_ActiveElems 
RENDERTYPE_Matte 
RENDERTYPE_Overlay 
RENDERTYPE_COUNT 

Definition at line 54 of file groupview.h.


Constructor & Destructor Documentation

GRE::GROUPVIEW::GROUPVIEW ( GRE::GROUP group,
GRE::VIEW view 
)

Constructor.

GRE::GROUPVIEW::~GROUPVIEW (  ) 


Member Function Documentation

void GRE::GROUPVIEW::CheckRendered (  ) 

Check if existing renderings are still valid.

ERRVALUE GRE::GROUPVIEW::ComputeTrans (  ) 

Compute all transformations.

ERRVALUE GRE::GROUPVIEW::DrawActiveOverlay (  ) 

Draw all 'active' elements to overlay buffer.

const GRE::VIEWPOINT3D* GRE::GROUPVIEW::Get3dViewPoint (  )  const [inline]

Get 3D viewpoint.

Definition at line 83 of file groupview.h.

const LRECT2D& GRE::GROUPVIEW::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 90 of file groupview.h.

GRE::GROUP* GRE::GROUPVIEW::GetGroup (  )  const [inline]

Get associated GRE::GROUP.

Definition at line 94 of file groupview.h.

RENDERBUFFER& GRE::GROUPVIEW::GetRenderBuffer ( RENDERTYPE  RenderType  )  [inline]

Get rendering buffer for specified rendering type (non-const).

Parameters:
RenderType  Rendering type

Definition at line 103 of file groupview.h.

const RENDERBUFFER& GRE::GROUPVIEW::GetRenderBuffer ( RENDERTYPE  RenderType  )  const [inline]

Get rendering buffer for specified rendering type (const).

Parameters:
RenderType  Rendering type

Definition at line 98 of file groupview.h.

double GRE::GROUPVIEW::GetRotationAngle (  )  const [inline]

Get rotation angle.

Definition at line 108 of file groupview.h.

double GRE::GROUPVIEW::GetRotationCos (  )  const [inline]

Get rotation cosine.

Definition at line 112 of file groupview.h.

double GRE::GROUPVIEW::GetRotationSin (  )  const [inline]

Get rotation sine.

Definition at line 116 of file groupview.h.

GRE::VIEW* GRE::GROUPVIEW::GetView (  )  const [inline]

Get associated GRE::VIEW.

Definition at line 120 of file groupview.h.

bool GRE::GROUPVIEW::Is3D (  )  const [inline]

Determine if drawing in 3D.

Definition at line 124 of file groupview.h.

bool GRE::GROUPVIEW::Is3dStereo (  )  const

Determine if drawing 3D in stereo.

bool GRE::GROUPVIEW::IsGroupOverlappedDevice (  )  const [inline]

Determine if group overlaps view device display area.

Definition at line 132 of file groupview.h.

void GRE::GROUPVIEW::ResetRendered ( GRE::RENDERTARGET  target = GRE::RENDERTARGET_GroupAll  ) 

Reset rendered status so redraws.


The documentation for this class was generated from the following file:
Generated on Thu Apr 26 04:47:57 2007 for TNTsdk by  doxygen 1.5.2