VrOne/Python Programming

ON-LINE REFERENCE DOCUMENTATION

CARDINAL SYSTEMS, LLC

386-439-2525    

www.cardinalsystems.net    mike@cardinalsystems.net
 

 

PyDtmMgr Class Reference

DTM Manager Class More...

Members


Detailed Description

VrOne can have up to 8 DTM surfaces defined. This class allows you to manage each surface. 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

 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. Will always return 8 in the current release.

GetCg (CgNum)

CgNum

Index from 0 to GetMaxCg()-1

Returns

PyVrDtm object