MIE::JOB_VECTOR Class Reference

#include <mie/vector.h>

Inheritance diagram for MIE::JOB_VECTOR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 JOB_VECTOR (const FORMAT &format, const SETTINGS &settings)
virtual ~JOB_VECTOR ()
INT32 AddLabel (RVC::VECTOR::LABEL &Label, const TEXTSTYLE &TextStyle)
INT32 AddLabel (RVC::VECTOR::LABEL &Label, RVC::STYLE *StyleObj=0)
INT32 AddLine (const POLYLINE &PolyLine)
INT32 AddNode (const DPOINT3D &node, const SIMPLE_ARRAY< INT32 > *NodeLineList=0)
INT32 AddPoint (const DPOINT3D &point)
INT32 AddPolygon (const POLYLINE &PolyLine)
INT32 AddSubRegion (const SUBREGION2D &SubRegion)
void GetMakeParms (RVC::VECTOR::MAKEPARMS &MakeParms) const
RVC::VECTORGetVectorObj ()
ERRVALUE MakeVector (const RVC::VECTOR::MAKEPARMS &MakeParms)
ERRVALUE MakeVector ()
ERRVALUE OpenVector (RVC::OBJECT::OPENMODE OpenMode=RVC::OBJECT::OPENMODE_Read)

Protected Member Functions

virtual ERRVALUE v_ImportBegin (const RVC::OBJITEM &DestObj)
virtual ERRVALUE v_ImportEnd (RVC::OBJITEM &DestObj)
virtual bool v_ImportNeedTempFile () const

Constructor & Destructor Documentation

MIE::JOB_VECTOR::JOB_VECTOR ( const FORMAT format,
const SETTINGS settings 
)
virtual MIE::JOB_VECTOR::~JOB_VECTOR (  )  [virtual]

Member Function Documentation

INT32 MIE::JOB_VECTOR::AddLabel ( RVC::VECTOR::LABEL Label,
const TEXTSTYLE TextStyle 
)

Add a label to the vector object This will compute the extents of the label and amend the vector object extents.

Returns:
Number of label added or error if < 0
INT32 MIE::JOB_VECTOR::AddLabel ( RVC::VECTOR::LABEL Label,
RVC::STYLE StyleObj = 0 
)

Add a label to the vector object This will compute the extents of the label and amend the vector object extents.

Returns:
Number of label added or error if < 0
INT32 MIE::JOB_VECTOR::AddLine ( const POLYLINE PolyLine  ) 

Add a line to the vector object This will compute the extents of the line and amend the vector object extents.

Returns:
Number of line added or error if < 0
INT32 MIE::JOB_VECTOR::AddNode ( const DPOINT3D node,
const SIMPLE_ARRAY< INT32 > *  NodeLineList = 0 
)

Add a node to the vector object.

Returns:
Number of node added or error if < 0
INT32 MIE::JOB_VECTOR::AddPoint ( const DPOINT3D point  ) 

Add a point to the vector object.

Returns:
Number of point added or error if < 0
INT32 MIE::JOB_VECTOR::AddPolygon ( const POLYLINE PolyLine  ) 

Add a polygon to the vector object This will compute the extents of the polygon and amend the vector object extents.

Returns:
Number of polygon added or error if < 0
INT32 MIE::JOB_VECTOR::AddSubRegion ( const SUBREGION2D SubRegion  ) 

Add a polygon and its islands to the vector object This will compute the extents of the sub region outer shell polygon and amend the vector object extents.

Returns:
Number of the shell polygon added or error if < 0
void MIE::JOB_VECTOR::GetMakeParms ( RVC::VECTOR::MAKEPARMS MakeParms  )  const

Setup the vector object MAKEPARMS to match the settings.

RVC::VECTOR& MIE::JOB_VECTOR::GetVectorObj (  )  [inline]

Returns a reference to the RVC::VECTOR object for this job.

ERRVALUE MIE::JOB_VECTOR::MakeVector ( const RVC::VECTOR::MAKEPARMS MakeParms  ) 

Make the Vector object.

The RVC::OBJITEM from this JOB will be used when creating the object

ERRVALUE MIE::JOB_VECTOR::MakeVector (  ) 

Make the Vector object.

The RVC::OBJITEM from this JOB will be used when creating the object

ERRVALUE MIE::JOB_VECTOR::OpenVector ( RVC::OBJECT::OPENMODE  OpenMode = RVC::OBJECT::OPENMODE_Read  ) 

Open the Vector object.

The RVC::OBJITEM from this JOB will be used when opening the object

virtual ERRVALUE MIE::JOB_VECTOR::v_ImportBegin ( const RVC::OBJITEM DestObj  )  [protected, virtual]

In case we want to add something to this, if it is here and the derived classes are required to call this, then we will be able to do the changes without many problems.

Reimplemented from MIE::JOB_GEOMETRIC.

virtual ERRVALUE MIE::JOB_VECTOR::v_ImportEnd ( RVC::OBJITEM DestObj  )  [protected, virtual]

Finish importing a vector.

If the user entered extents, it will extract from a temporary vector to the supplied DestObj See v_ImportBegin for and explination of this methods existance

Reimplemented from MIE::JOB_GEOMETRIC.

virtual bool MIE::JOB_VECTOR::v_ImportNeedTempFile (  )  const [protected, virtual]

Determine if we need to import to a tempfile and then do something to transfer to the real file later.

If this returns true, v_ImportEnd() should copy/extract/convert the object from the temp file to its final home. Derived class should call base class implementation and return true if it says a temp file is needed

Reimplemented from MIE::JOB_GEOMETRIC.


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

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