Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkStructuredPointsGeometryFilter Class Reference

extract geometry for structured points. More...

#include <vtkStructuredPointsGeometryFilter.h>

Inheritance diagram for vtkStructuredPointsGeometryFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkStructuredPointsGeometryFilter:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetExtent (int *extent)
void SetExtent (int iMin, int iMax, int jMin, int jMax, int kMin, int kMax)
int * GetExtent ()

Static Public Methods

int IsTypeOf (const char *type)
vtkStructuredPointsGeometryFilter * SafeDownCast (vtkObject *o)
vtkStructuredPointsGeometryFilter * New ()

Protected Methods

 vtkStructuredPointsGeometryFilter ()
 ~vtkStructuredPointsGeometryFilter ()
 vtkStructuredPointsGeometryFilter (const vtkStructuredPointsGeometryFilter &)
void operator= (const vtkStructuredPointsGeometryFilter &)
void Execute ()

Protected Attributes

int Extent [6]

Detailed Description

extract geometry for structured points.

Date:
2000/12/10 20:08:54
Revision:
1.28

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).

Warning:
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
Examples:
vtkStructuredPointsGeometryFilter (examples)


Member Function Documentation

virtual const char* vtkStructuredPointsGeometryFilter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredPointsToPolyDataFilter.

virtual int vtkStructuredPointsGeometryFilter::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredPointsToPolyDataFilter.

int vtkStructuredPointsGeometryFilter::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredPointsToPolyDataFilter.

vtkStructuredPointsGeometryFilter* vtkStructuredPointsGeometryFilter::New   [static]
 

Construct with initial extent of all the data

Reimplemented from vtkPolyDataSource.

void vtkStructuredPointsGeometryFilter::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkSource.

vtkStructuredPointsGeometryFilter* vtkStructuredPointsGeometryFilter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredPointsToPolyDataFilter.

void vtkStructuredPointsGeometryFilter::SetExtent int *    extent
 

Set / get the extent (imin,imax, jmin,jmax, kmin,kmax) indices.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:33:24 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002