Vr Mapping

ON-LINE REFERENCE DOCUMENTATION

CARDINAL SYSTEMS, LLC

www.cardinalsystems.net

DTM Manger Class Reference (PyVrDtmMgr)

DTM Manager Class More...

Members

SetAcg (Acg, FileName)
Acg ()
GetMaxCg ()
GetCg (CgNum)

Description

VrOne can have up to 8 DTM surfaces defined. The Python Vr DTM Manager class allows each of the defined DTM surfaces (up to the maximum 8 supported by VrOne) to be managed. A surface can be set as the active surface. Any of the 8 surfaces can be returned as a PyVrDtm object, which can then be used to perform any of the standard DTM operations.

 

Example:

 

DtmMgr = PyVrDtmMgr ()

 

Dtm = DtmMgr.GetCg (2)

 

Dtm.Reset()

Dtm.Process()

 

print "MinZ = %.2f" % Dtm.GetMinZ ()

print "MaxZ = %.2f" % Dtm.GetMaxZ ()

 


Member Function Documentation

SetAcg (Acg)

Sets the current active DTM surface (Contour Generation surface)

Acg

Surface number with index from 0 to GetMaxCg()-1.

Acg ()

Returns

Currently active DTM surface number (Index from 0 to GetMaxCg()-1).

GetMaxCg ()

Returns

Maximum number of surfaces. Always returns 8 in the current release.

GetCg (CgNum)

CgNum

Surface number with index from 0 to GetMaxCg()-1.

Returns

PyVrDtm object.