How to create a point in vtk?

VTK is too complicate…

I want to find the connectivity region around a point, and I want to use vtkImageConnectivityFilter.

The code should be:

vtkSmartPointer<vtkImageConnectivityFilter> connectivityFilter = vtkSmartPointer<vtkImageConnectivityFilter>::New();
	connectivityFilter->SetInputConnection(extractVOI->GetOutputPort());
connectivityFilter->SetExtractionModeToSeededRegions();
connectivityFilter->SetSeedData(seed);

The seed should be vtkDataSet. But I have no idea how to set this seed. For example, if I want to find the connectivity region around (50, 50), how should I create this center data?

I haven’t used that filter before, and I couldn’t find any examples, but I did find another related question. Perhaps that will help, good luck.

I think that I have to search the connectivity region by myself…The vtkImageConnectivityFilter really make me confuzed.