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…

VTK: Find Bounding Shell In Local Coordinate System

The article shows a way to find the bounding shell of the 3D model in its local coordinate system. Let’s create a cone and an axes actor which displays three axes in the world coordinate system. #include <iostream> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include <vtkActor.h> #include <vtkConeSource.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> Read more…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X