17#include <vtkDataSetAlgorithm.h>
18#include <vtkGlyph3D.h>
19#include <vtkSmartPointer.h>
20#include <vtkSphereSource.h>
27 vtkAlgorithm* inputAlgorithm)
48 vtkSmartPointer<VtkPointsSource> point_source =
49 vtkSmartPointer<VtkPointsSource>::New();
52 vtkSmartPointer<vtkSphereSource> _glyphSource =
53 vtkSmartPointer<vtkSphereSource>::New();
56 vtkGlyph3D* glyphFilter = vtkGlyph3D::New();
57 glyphFilter->SetSourceConnection(_glyphSource->GetOutputPort());
58 glyphFilter->SetInputConnection(point_source->GetOutputPort());
69 const std::vector<unsigned>& point_indeces)
71 for (
unsigned int point_index : point_indeces)
75 ->GetPoint(point_index);
Definition of the VtkCompositeNodeSelectionFilter class.
Definition of the VtkPointsSource class.
Is used to combine several filter in one VtkVisPipelineItem. You can use vtk filter and custom filter...
vtkAlgorithm * _outputAlgorithm
int _outputDataObjectType
double GetInitialRadius() const
Calculates a 1/200th of the largest extension of the bounding box (this is used as default radius for...
vtkAlgorithm * _inputAlgorithm
void setSelectionArray(const std::vector< unsigned > &point_indeces)
Sets the point indices to be highlighted.
std::vector< GeoLib::Point * > _selection
VtkCompositeNodeSelectionFilter(vtkAlgorithm *inputAlgorithm)
~VtkCompositeNodeSelectionFilter() override