Examples (original) (raw)

This will allow you to see the some live code running in your browser. Just pick a class on the left menu or in the category grouping below. The Simple Cone is a good example to start with if you are new to VTK.

VolumeContour Example
MultiSliceImageMapper Example
PiecewiseGaussianWidget Example

Applications

GeometryViewer Example
OBJViewerFerrari Example
SceneExplorer Example
SkyboxViewer Example
VolumeViewer Example
QuadView Example

Geometry

ImplicitBoolean Example

Volume

Filters

Calculator Example
ClipClosedSurface Example
ContourLoopExtraction Example
ContourTriangulator Example
ImageCropFilter Example
ImageMarchingCubes Example
ImageMarchingSquares Example
ImageStreamline Example
OBBTree Example
OutlineFilter Example
ScalarToRGBA Example
TriangleFilter Example
TubeFilter Example
Cutter Example
PolyDataNormals Example
ThresholdPoints Example

Sources

ArrowSource Example
CircleSource Example
ConcentricCylinderSource Example
ConeSource Example
Cone Example
CubeSource Example
Cursor3D Example
CylinderSource Example
LineSource Example
PlaneSource Example
PointSource Example
SLICSource Example
SphereSource Example
WarpScalar Example
WindowedSincPolyDataFilter Example

IO

DracoReader Example
PLYReader Example
PLYWriter Example
STLReader Example
STLWriter Example
GLTFImporter Example
IFCImporter Example
PolyDataReader Example
ElevationReader Example
OBJReader Example
PDBReader Example
XMLImageDataWriter Example
XMLPolyDataDataWriter Example
ZipHttpReader Example
HttpDataSetReader Example
HttpDataSetSeriesReader Example
HttpSceneLoader Example
OfflineLocalView Example
G-Code Example
HDRReader Example
TGAReader Example
TIFFReader Example

Actors

ScalarBarActor Example
Actor2D Example
CubeAxes Example

Rendering

DepthTest Example
Texture Example
Convolution2DPass Example
ManyRenderers Example
ManyRenderWindows Example

Geometry Rendering

SphereMapper Example
StickMapper Example
Glyph3DMapper Example
SphereArrays Example
GlyphRotation Example
TimeSeries Example
SurfaceLICMapper Example

Image Rendering

ImageLabelOutline Example
ImageMapper Example
ImageResliceMapper Example
ImageCPRMapper Example
VolumeOutline Example

Volume Rendering

VolumeClipPlane Example
VolumeContour Example
VolumeMapperBlendModes Example
VolumeMapperLightAndShadow Example
VolumeMapperParallelProjection Example
VolumeRenderingWithPolyData Example
VolumeMapper Example
LabelmapEdgeProjection Example

Interaction/Picking/Selecting

DeviceOrientationToCamera Example
InteractorStyleHMDXR Example
InteractorStyleManipulator Example
InteractorStyleTrackballCamera Example
InteractorStyleUnicam Example
KeyboardCameraManipulator Example
MouseRangeManipulator Example
PiecewiseGaussianWidget Example
TimeStepBasedAnimationHandler Example
CellPicker Example
PointPicker Example
HardwareSelector Example

Widgets

AngleWidget Example
Box Example
ImageCroppingWidget Example
ImplicitPlaneWidget Example
InteractiveOrientationWidget Example
LabelWidget Example
LineWidget Example
PaintWidget Example
PolyLineWidget Example
ResliceCursorWidget Example
ShapeWidget Example
SphereWidget Example
SplineWidget Example

Connectivity

AR Example
VR Example
LookingGlass Example
ItkWasmVolume Example
RemoteView Example
ImageStream Example