45#ifndef __vtkvmtkPolyDataBranchSections_h
46#define __vtkvmtkPolyDataBranchSections_h
48#include "vtkPolyDataAlgorithm.h"
50#include "vtkvmtkWin32Header.h"
51#include "vtkPolyData.h"
57 void PrintSelf(std::ostream& os, vtkIndent indent)
override;
252 static void ExtractCylinderSection(vtkPolyData* cylinder,
double origin[3],
double normal[3], vtkPolyData* section,
bool & closed,
const char* idsArrayName =
nullptr);
306 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
char * CenterlineRadiusArrayName
vtkvmtkPolyDataBranchSections()
static int CountBranchSectionIds(vtkPolyData *section, const char *idsArrayName)
void PrintSelf(std::ostream &os, vtkIndent indent) override
char * BranchSectionShapeArrayName
vtkPolyData * Centerlines
char * BranchSectionAreaArrayName
char * CenterlineGroupIdsArrayName
char * BranchSectionMaxSizeArrayName
static double ComputeBranchSectionArea(vtkPolyData *branchSection)
char * BranchSectionClosedArrayName
char * BranchSectionMinSizeArrayName
char * CenterlineIdsArrayName
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
char * BranchSectionDistanceSpheresArrayName
void ComputeBranchSections(vtkPolyData *input, int groupId, vtkPolyData *output)
char * BranchSectionGroupIdsArrayName
static void ExtractCylinderSection(vtkPolyData *cylinder, double origin[3], double normal[3], vtkPolyData *section, bool &closed, const char *idsArrayName=nullptr)
static double ComputeBranchSectionShape(vtkPolyData *branchSection, double center[3], double sizeRange[2])
int NumberOfDistanceSpheres
char * CenterlineTractIdsArrayName
static vtkvmtkPolyDataBranchSections * New()
static int CountBranchSectionCenterlines(vtkPolyData *section, vtkPolyData *centerlines, double origin[3], double normal[3])