VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPistonSlice Class Reference

A filter that slices on the GPU. More...

#include <vtkPistonSlice.h>

Inheritance diagram for vtkPistonSlice:
Inheritance graph
[legend]
Collaboration diagram for vtkPistonSlice:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPistonAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPistonSliceNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetClippingPlane (vtkPlane *plane)
virtual void SetOffset (float)
virtual float GetOffset ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPistonSliceSafeDownCast (vtkObjectBase *o)
static vtkPistonSliceNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPistonSlice ()
 ~vtkPistonSlice ()
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, int requestFromOutputPort, unsigned long *mtime)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

float Offset
vtkPlanePlane

Detailed Description

A filter that slices on the GPU.

This filter uses LANL's Piston library to slice on the GPU.

Tests:
vtkPistonSlice (Tests)

Definition at line 31 of file vtkPistonSlice.h.


Member Typedef Documentation

Reimplemented from vtkPistonAlgorithm.

Definition at line 34 of file vtkPistonSlice.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkPistonSlice::IsTypeOf ( const char *  name) [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 vtkPistonAlgorithm.

virtual int vtkPistonSlice::IsA ( const char *  name) [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 vtkPistonAlgorithm.

Reimplemented from vtkPistonAlgorithm.

virtual vtkObjectBase* vtkPistonSlice::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPistonAlgorithm.

Reimplemented from vtkPistonAlgorithm.

static vtkPistonSlice* vtkPistonSlice::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPistonAlgorithm.

void vtkPistonSlice::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 vtkPistonAlgorithm.

virtual void vtkPistonSlice::SetOffset ( float  ) [virtual]

An offset from the plane to slice at.

virtual float vtkPistonSlice::GetOffset ( ) [virtual]

An offset from the plane to slice at.

Set the clipping plane.

virtual int vtkPistonSlice::ComputePipelineMTime ( vtkInformation request,
vtkInformationVector **  inInfoVec,
vtkInformationVector outInfoVec,
int  requestFromOutputPort,
unsigned long *  mtime 
) [protected, virtual]

A special version of ProcessRequest meant specifically for the pipeline modified time request. See vtkExecutive::ComputePipelineMTime() for details.

Reimplemented from vtkAlgorithm.

virtual int vtkPistonSlice::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Method that does the actual calculation.

Reimplemented from vtkPistonAlgorithm.


Member Data Documentation

Definition at line 63 of file vtkPistonSlice.h.

Definition at line 64 of file vtkPistonSlice.h.


The documentation for this class was generated from the following file: