Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmModelerGeometry::worldDraw Method
Syntax
C++
virtual bool worldDraw(OdGiCommonDraw* pWd, OdUInt32 geomType, const NumIsolines * pNumIsolines = 0) = 0;

Creates a viewport-independent geometric representation of this BmModelerGeometry object.

Parameters
Description
pWd
[in] Input pointer to the OdGiCommonDraw interface.
geomType
[in] Input geometry type.
pNumIsolines
[in] Input number of isolines in U and V directions.

Returns true if and only if the geometric representation can be generated *in* a viewport-independent manner.

The geomType parameter must be a combination of one or more of the following: 

 

kNothing
0
kIsolines
1
kEdges
2
kShells
4
kOrderedEdges
8
kSurfIsolines
16

A return value of false indicates that viewportDraw() must be called of this object. 

The 3D GS will call this function at least once, but may cache subsequent *display* updates. 

 

Copyright © 2002-2022. Open Design Alliance All rights reserved.