GRE::WIREFRAME Class Reference

Container for wireframe in memory. More...

#include <gre/wireframe.h>

List of all members.

Public Member Functions

 WIREFRAME ()
 ~WIREFRAME ()
ERRVALUE AddExtrudedLine (const POLYLINE &PolyLine, const DOUBLE_RANGE &ZRange)
ERRVALUE AddExtrudedPoint (const DPOINT3D &Point, const DOUBLE_RANGE &ZRange)
ERRVALUE AddLine (const POLYLINE &PolyLine)
ERRVALUE AddPoint (const DPOINT3D &point)
ERRVALUE AddPoints (const DPOINT3D *points, INT32 NumPoints)
ERRVALUE AttachTableExtrudedLines (const RVC::DBTABLE &table)
ERRVALUE AttachTableExtrudedPoints (const RVC::DBTABLE &table)
void ClearAll ()
void ClearExtrudedLines ()
void ClearExtrudedPoints ()
void ClearGrid ()
void ClearLines ()
void ClearNetwork ()
ERRVALUE CreateGrid (INT32 NumRows, INT32 NumColumns, const DPOINT2D &ObjectSpacing, const DPOINT2D &ObjectOrigin)
ERRVALUE Draw (LAYERDC &layerdc)
bool HasExtrudedLines () const
bool HasExtrudedPoints () const
bool HasGrid () const
bool HasLines () const
bool HasPoints () const
void SetExtrudedLineColors (const COLOR &ColorBelow, const COLOR &ColorAbove)
void SetExtrudedPointColors (const COLOR &ColorBelow, const COLOR &ColorAbove)
void SetGridValues (INT32 row, INT32 column, const double *values, const UINT8 *mask, INT32 numcolumns=1)

Detailed Description

Container for wireframe in memory.

Designed for compact storage and efficent drawing for 3D. Wireframe coordinates match associated layer object coordinates.


Constructor & Destructor Documentation

GRE::WIREFRAME::WIREFRAME (  ) 
GRE::WIREFRAME::~WIREFRAME (  ) 

Member Function Documentation

ERRVALUE GRE::WIREFRAME::AddExtrudedLine ( const POLYLINE PolyLine,
const DOUBLE_RANGE ZRange 
)

Add extruded line to wireframe.

ERRVALUE GRE::WIREFRAME::AddExtrudedPoint ( const DPOINT3D Point,
const DOUBLE_RANGE ZRange 
)

Add extruded point to wireframe.

ERRVALUE GRE::WIREFRAME::AddLine ( const POLYLINE PolyLine  ) 

Add line to wireframe.

ERRVALUE GRE::WIREFRAME::AddPoint ( const DPOINT3D point  ) 

Add point to wireframe.

ERRVALUE GRE::WIREFRAME::AddPoints ( const DPOINT3D points,
INT32  NumPoints 
)

Add points to wireframe.

ERRVALUE GRE::WIREFRAME::AttachTableExtrudedLines ( const RVC::DBTABLE table  ) 

Attach table to use for extruded lines.

Will automatically clear extruded lines when attached table changes.

Parameters:
table Table to attach
ERRVALUE GRE::WIREFRAME::AttachTableExtrudedPoints ( const RVC::DBTABLE table  ) 

Attach table to use for extruded points.

Will automatically clear extruded points when attached table changes.

Parameters:
table Table to attach
void GRE::WIREFRAME::ClearAll (  ) 

Clear all wireframe components.

void GRE::WIREFRAME::ClearExtrudedLines (  ) 
void GRE::WIREFRAME::ClearExtrudedPoints (  ) 
void GRE::WIREFRAME::ClearGrid (  )  [inline]

Clear grid.

void GRE::WIREFRAME::ClearLines (  ) 

Clear lines.

void GRE::WIREFRAME::ClearNetwork (  )  [inline]

Clear network.

ERRVALUE GRE::WIREFRAME::CreateGrid ( INT32  NumRows,
INT32  NumColumns,
const DPOINT2D ObjectSpacing,
const DPOINT2D ObjectOrigin 
) [inline]

Create grid.

ERRVALUE GRE::WIREFRAME::Draw ( LAYERDC layerdc  ) 

Draw the wireframe.

bool GRE::WIREFRAME::HasExtrudedLines (  )  const [inline]
bool GRE::WIREFRAME::HasExtrudedPoints (  )  const [inline]
bool GRE::WIREFRAME::HasGrid (  )  const [inline]
bool GRE::WIREFRAME::HasLines (  )  const [inline]
bool GRE::WIREFRAME::HasPoints (  )  const [inline]
void GRE::WIREFRAME::SetExtrudedLineColors ( const COLOR ColorBelow,
const COLOR ColorAbove 
) [inline]
void GRE::WIREFRAME::SetExtrudedPointColors ( const COLOR ColorBelow,
const COLOR ColorAbove 
) [inline]
void GRE::WIREFRAME::SetGridValues ( INT32  row,
INT32  column,
const double *  values,
const UINT8 mask,
INT32  numcolumns = 1 
) [inline]

Set grid values.

Attempting to set values outside grid will be ignored.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:34:57 2012 for TNTsdk 2012 by  doxygen 1.6.1