VTK: Draw Rectangle And Area Pick

Let’s add three items to the render window. Draw a rectangle and pick all actors in the rectangle. The class vtkAreaPicker can help us to find these picked actors. I will show how to do it in the following code snippet. main.cpp #include <iostream> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include <vtkActor.h> Read more…

VTK: Show Display Bounds

I planed to show the 3D model’s bounds in the display coordinate and update it if the user rotates and zooms in/out in real-time. I’m curious about if the display bounds touch with the 3D model. The display bounds are shown as a red rectangle in the render window, our Read more…

3D Files Converter: Support to write X3D file and VRML file.

X
A prohibited operation