CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxtestVtkPolyDataTree.h File Reference
#include "vtkForwardDeclarations.h"
#include <vtkCellArray.h>
#include <vtkLine.h>
#include <vtkPoints.h>
#include <vtkPolyData.h>
#include "cxTransform3D.h"

Go to the source code of this file.

Namespaces

 cxtest
 

Functions

vtkPolyDataPtr cxtest::makeDummyCenterLine (int nfork1=100, int nfork2=100, int nfork3=100, int x0=0)
 makeDummyCenterLine This function makes a vtkPolyDataPtr to a dummy centerline looking like a fork: -<, with three branches: - and / and \ The branches has a zig-zag pattern. The number of points in each branch is not including a common branch point. - / \ with two points in each branch will thus be connected by two additional lines, making it 5 cells in the vtkpolydata objec. More...