GRE layer class for viewing CAD spatial object. More...
#include <gre/lrcad.h>

Classes | |
| class | DISPPARM |
Public Member Functions | |
| LAYER_CAD (GRE::GROUP *group, CREATEFLAGS createflags=CREATEFLAG_None, GRE::LISTPOS listpos=GRE::LISTPOS_Last, LAYER *reflayer=0) | |
| virtual | ~LAYER_CAD () |
| const DISPPARM & | GetDispParm () const |
| ERRVALUE | SetDispParm (const DISPPARM &dispparm) |
Static Public Member Functions | |
| static void | RegisterType () |
| static void | SMLClassInstall (SMLCONTEXT *context) |
Protected Member Functions | |
| virtual ERRVALUE | v_AssignObject (const RVC::OBJITEM &objitem, MDLGPARENT dlgparent) |
| virtual void | v_CloseObject () |
Protected Attributes | |
| DISPPARM | m_dispparm |
| COMPINFO | m_ElemCompInfo |
GRE layer class for viewing CAD spatial object.
| GRE::LAYER_CAD::LAYER_CAD | ( | GRE::GROUP * | group, | |
| CREATEFLAGS | createflags = CREATEFLAG_None, |
|||
| GRE::LISTPOS | listpos = GRE::LISTPOS_Last, |
|||
| LAYER * | reflayer = 0 | |||
| ) | [explicit] |
Construct layer and insert into list.
| group | Group to contain layer | |
| createflags | Creation flags | |
| listpos | Position in list | |
| reflayer | Reference layer for insertion |
| virtual GRE::LAYER_CAD::~LAYER_CAD | ( | ) | [virtual] |
| const DISPPARM& GRE::LAYER_CAD::GetDispParm | ( | ) | const [inline] |
Retrieve layer-specific display parameters.
| static void GRE::LAYER_CAD::RegisterType | ( | ) | [static] |
Register this layer type.
Reimplemented in GRE::LAYER_SKETCH.
Set layer-specific display parameters.
This is the recommended method for changing how an existing layer is to be rendered. Validation will be performed on the specified parameters and adjustments made to the layer's copy if necessary. Use of this method usually result in a ChangeBegin / ChangeEnd message pair, and will also generate a ChangeObject message if the spatial object used in the layer is changed.
| dispparm | Parameters to set |
| static void GRE::LAYER_CAD::SMLClassInstall | ( | SMLCONTEXT * | context | ) | [static] |
Install SML class, called by internal SML function.
Reimplemented from GRE::LAYER.
| virtual ERRVALUE GRE::LAYER_CAD::v_AssignObject | ( | const RVC::OBJITEM & | objitem, | |
| MDLGPARENT | dlgparent | |||
| ) | [protected, virtual] |
Reimplemented from GRE::LAYER.
| virtual void GRE::LAYER_CAD::v_CloseObject | ( | ) | [protected, virtual] |
Reimplemented from GRE::LAYER.
DISPPARM GRE::LAYER_CAD::m_dispparm [protected] |
Layer-specific display parameters.
COMPINFO GRE::LAYER_CAD::m_ElemCompInfo [protected] |
1.6.1