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 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 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:

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

X