RVC::CAD::DRAW Class Reference

CAD Interface class to filter CAD elements before drawing Inherits from CADELEMENT::DRAW. More...

#include <rvc/cad.h>

Inheritance diagram for RVC::CAD::DRAW:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DRAW ()
virtual ~DRAW ()
int FilterElement (CADELEMENT &Element, const TRANS2D_AFFINE &BtoC, INT32 InsertLevel, INT32 ElemNum, const DRECT3D &Extents)

Private Member Functions

virtual int v_FilterElement (CADELEMENT &Element, const TRANS2D_AFFINE &BtoC, INT32 InsertLevel, INT32 ElemNum, const DRECT3D &Extents)

Detailed Description

CAD Interface class to filter CAD elements before drawing Inherits from CADELEMENT::DRAW.


Constructor & Destructor Documentation

RVC::CAD::DRAW::DRAW (  )  [inline]

Reimplemented from RVC::CADELEMENT::DRAW.

virtual RVC::CAD::DRAW::~DRAW (  )  [inline, virtual]

Reimplemented from RVC::CADELEMENT::DRAW.


Member Function Documentation

int RVC::CAD::DRAW::FilterElement ( CADELEMENT Element,
const TRANS2D_AFFINE BtoC,
INT32  InsertLevel,
INT32  ElemNum,
const DRECT3D Extents 
) [inline]

Filter CAD elements before they are rendered.

Specific place to modify certain attributes of the element and update element status

Returns:
>0 if the element is to be rendered, ==0 if not, <0 error
Parameters:
Element Original CADELEMENT, can change specific items in the element in the filter call
BtoC Block to CAD transformation
InsertLevel How deep the block insertion stack is, 0 for main block
ElemNum Element number in the current drawing block
Extents Element extents, maybe invalid
virtual int RVC::CAD::DRAW::v_FilterElement ( CADELEMENT Element,
const TRANS2D_AFFINE BtoC,
INT32  InsertLevel,
INT32  ElemNum,
const DRECT3D Extents 
) [inline, private, virtual]

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

Generated on Sun Oct 7 21:36:43 2012 for TNTsdk 2012 by  doxygen 1.6.1