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
Add extruded line to wireframe.
Add extruded point to wireframe.
Attach table to use for extruded lines.
Will automatically clear extruded lines when attached table changes.
- Parameters:
-
Attach table to use for extruded points.
Will automatically clear extruded points when attached table changes.
- Parameters:
-
| void GRE::WIREFRAME::ClearAll |
( |
|
) |
|
Clear all wireframe components.
| void GRE::WIREFRAME::ClearExtrudedLines |
( |
|
) |
|
| void GRE::WIREFRAME::ClearExtrudedPoints |
( |
|
) |
|
| void GRE::WIREFRAME::ClearGrid |
( |
|
) |
[inline] |
| void GRE::WIREFRAME::ClearLines |
( |
|
) |
|
| void GRE::WIREFRAME::ClearNetwork |
( |
|
) |
[inline] |
| 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: