NAME
vtkStructuredPointsGeometryFilter - extract geometry for structured points
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkStructuredPointsGeometryFilter.h"
class VTK_EXPORT vtkStructuredPointsGeometryFilter : public vtkStructuredPointsToPolyDataFilter
vtkStructuredPointsGeometryFilter();
static vtkStructuredPointsGeometryFilter *New() {return new vtkStructuredPointsGeometryFilter;};
const char *GetClassName() {return "vtkStructuredPointsGeometryFilter";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
void SetExtent(int *extent);
int *GetExtent() { return this->Extent;};
DESCRIPTION
vtkStructuredPointsGeometryFilter is a filter that extracts geometry from a structured points dataset. By specifying appropriate i-j-k indices (via the "Extent" instance variable), it is possible to extract a point, a line, a plane (i.e., image), or a "volume" from dataset. (Since the output is of type polydata, the volume is actually a (n x m x o) region of points.)
The extent specification is zero-offset. That is, the first k-plane in a 50x50x50 volume is given by (0,49, 0,49, 0,0).
CAVEATS
If you don't know the dimensions of the input dataset, you can use a large number to specify extent (the number will be clamped appropriately). For example, if the dataset dimensions are 50x50x50, and you want a the fifth k-plane, you can use the extents (0,100, 0,100, 4,4). The 100 will automatically be clamped to 49.
SEE ALSO
vtkGeometryFilter vtkStructuredGridFilter
vtkStructuredPointsGeometryFilter()
Construct with initial extent (0,100, 0,100, 0,0) (i.e., a plane).
void SetExtent(int *extent)
Specify (imin,imax, jmin,jmax, kmin,kmax) indices.