A polyline VTK actor built from an ordered list of 3D points. More...
#include <cl_VTK_Curve.hpp>
Public Member Functions | |
| Curve (const Matrix< real > &aPoints, real aLineWidth=2.0, bool aClosed=false) | |
| Build a polyline actor from a 3 x N point matrix. | |
| ~Curve ()=default | |
| Actor | actor () |
| The VTK actor; ownership stays with this wrapper. | |
| void | set_color (real aRed, real aGreen, real aBlue) |
| Set the line color (RGB components in [0,1]). | |
A polyline VTK actor built from an ordered list of 3D points.
Generic and source-agnostic: it knows nothing about meshes, orbits, or kepler — it just turns points into a polyline. Points are a 3 x N matrix (each column one point, contiguous in BELFEM's column-major storage). Pass aClosed = true to join the last point back to the first (e.g. a closed orbit ellipse). Rendered unlit so the curve reads as a flat overlay rather than a shaded tube.
| belfem::vtk::Curve::Curve | ( | const Matrix< real > & | aPoints, |
| real | aLineWidth = 2.0, | ||
| bool | aClosed = false ) |
Build a polyline actor from a 3 x N point matrix.
|
default |
|
inline |
The VTK actor; ownership stays with this wrapper.
Set the line color (RGB components in [0,1]).