vtContourConverter cc; cc.Setup(pTerrain, RGBf(1,1,0), 10); cc.GenerateContours(100); cc.Finish();
vtContourConverter cc; cc.Setup(pTerrain, RGBf(1,1,0), 10); cc.GenerateContour(75); cc.GenerateContour(125); cc.GenerateContour(250); cc.Finish();
vtContourConverter cc; vtGeom *geom = cc.Setup(pTerrain, RGBf(1,1,0), 10); [...] geom->SetEnabled(bool); // set visibility [...] pTerrain->GetScaledFeatures()->RemoveChild(geom); geom->Release(); // delete
Public Member Functions | |
| vtGeom * | Setup (vtTerrain *pTerr, const RGBf &color, float fHeight) |
| void | GenerateContour (float fAlt) |
| void | GenerateContours (float fAInterval) |
| void | Finish () |
|
|
Finishes the contour generation process. Call once when you are done using the class to generate contours. |
|
|
Generate a contour line to be draped on the terrain.
|
|
|
Generate a set of contour lines to be draped on the terrain.
|
|
||||||||||||||||
|
Set up the class to do draping on a terrain.
|
1.4.5