Basic functions for B-Spline

Uniform Cubic Spline Piecewise function: The cubic spline graph: Test code: #include <vtkActor.h> #include <vtkCleanPolyData.h> #include <vtkDistancePolyDataFilter.h> #include <vtkNamedColors.h> #include <vtkNew.h> #include <vtkPointData.h> #include <vtkPolyDataMapper.h> #include <vtkPolyDataReader.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkScalarBarActor.h> #include <vtkSmartPointer.h> #include <vtkSphereSource.h> #include <vtkSTLReader.h> #include <vtkTransform.h> #include <vtkMatrix4x4.h> #include <vector> #include Read more…

Bézier Curves

Bézier Curves Bézier curves are a type of parametric curve that is widely used in computer graphics, computer-aided design, and various other fields for creating smooth, elegant curves. They are named after the French engineer Pierre Bézier, who developed the mathematics behind these curves while working at Renault in the Read more…

Matrix Of ViewTransform In vtkCamera

ViewTransform stores three vectors in the first three rows and position information in the forth column. We can rotate camera around view up direction [ Azimuth operation ] and horizontal line (sideway) [ Elevation operation ] easily. The relative implementation details in VTK:

Book content update 20231007

Books introduction page: Book content update: Add A Short Adventure About Pengjiamu In Xinjiang, Thailand Sleeping Beauty Cave Miracle Rescue Incident, and The Mystery of Shanghai’s Nine Dragon Pillars for Short Stories Book. Add a new e-book Traditional Chinese Medicine Health Tips. Here is a demo video shows how to Read more…

XOR Strings
: Input your strings, the tool can encrypt and decrypt them.

X