File:ContourWidgetOnTerrain.png
Original file (898 × 662 pixels, file size: 614 KB, MIME type: image/png)
Interactively tracing contours on polygonal surfaces.
The contour widget is a complex class. It allows the user to use a custom vtkPointPlacer to dictate the placement of points and a custom vtkContourLineInterpolator to provide a way to interpolate between nodes.
This allows for user-defined constrains on the placement of the points and constraints on the contour shape. Several point placers and interpolators are available in VTK.
vtkClosedSurfacePointPlacer vtkTerrainDataPointPlacer vtkPolygonalSurfacePointPlacer vtkBoundedPlanePointPlacer vtkPolyDataPointPlacer vtkImageActorPointPlacer vtkFocalPlanePointPlacer
vtkPolygonalSurfaceContourLineInterpolator vtkBezierContourLineInterpolator vtkTerrainContourLineInterpolator vtkPolyDataContourLineInterpolator
Here we use a vtkPolygonalSurfacePointPlacer vtkTerrainContourLineInterpolator. The former restricts placement of points to the surface of the polygonal object. The interpolator finds the shortest path between contour nodes by traversing through nodes on the polygonal mesh using Dijkstra's algorithm (see vtkDijkstraGraphGeodesicPath).
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 17:24, 6 February 2008 | 898 × 662 (614 KB) | Karthik (talk | contribs) | <b>Interactively tracing contours on polygonal surfaces.</b> The contour widget is a complex class. It allows the user to use a custom vtkPointPlacer to dictate the placement of points and a custom vtkContourLineInterpolator to provide a way to interpola |
You cannot overwrite this file.
File usage
The following page uses this file: