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 47 of file groupview.h.


Member Enumeration Documentation

enum GRE::GROUPVIEW::RENDERTYPE
 

Rendering buffer types.

Enumeration values:
RENDERTYPE_Group 
RENDERTYPE_ActiveElems 
RENDERTYPE_Matte 
RENDERTYPE_Overlay 
RENDERTYPE_COUNT 

Definition at line 51 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 80 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 87 of file groupview.h.

GRE_GROUP* GRE::GROUPVIEW::GetGroup  )  const [inline]
 

Get associated GRE_GROUP.

Definition at line 91 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 100 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 95 of file groupview.h.

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

Get rotation angle.

Definition at line 105 of file groupview.h.

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

Get rotation cosine.

Definition at line 109 of file groupview.h.

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

Get rotation sine.

Definition at line 113 of file groupview.h.

GRE_VIEW* GRE::GROUPVIEW::GetView  )  const [inline]
 

Get associated GRE_VIEW.

Definition at line 117 of file groupview.h.

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

Determine if drawing in 3D.

Definition at line 121 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 129 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 Wed May 31 15:29:32 2006 for TNTsdk by  doxygen 1.3.8-20040913