ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkThreeSliceFilter Class Reference

Cut vtkDataSet along 3 planes. More...

#include <vtkThreeSliceFilter.h>

Inherits vtkPolyDataAlgorithm.

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkMTimeType GetMTime ()
 Override GetMTime because we rely on internal filters that have their own MTime. More...
 
void SetCutNormal (int cutIndex, double normal[3])
 Set a Slice Normal for a given cutter. More...
 
void SetCutOrigin (int cutIndex, double origin[3])
 Set a slice Origin for a given cutter. More...
 
void SetCutValue (int cutIndex, int index, double value)
 Set a slice value for a given cutter. More...
 
void SetNumberOfSlice (int cutIndex, int size)
 Set number of slices for a given cutter. More...
 
void SetToDefaultSettings ()
 Default settings: More...
 
void SetCutOrigins (double origin[3])
 Set slice Origin for all cutter. More...
 
void SetCutOrigins (double x, double y, double z)
 
void EnableProbe (int enable)
 Enable to probe the dataset at the given cut origin. More...
 
bool GetProbedPointData (const char *arrayName, double &value)
 Return true if any data is available and provide the value as argument. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkThreeSliceFilterSafeDownCast (vtkObject *o)
 
static vtkThreeSliceFilterNew ()
 Construct with user-specified implicit function; initial value of 0.0; and generating cut scalars turned off. More...
 

Protected Member Functions

 vtkThreeSliceFilter ()
 
 ~vtkThreeSliceFilter ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void Process (vtkDataSet *input, vtkPolyData *outputs[4], unsigned int compositeIndex)
 

Protected Attributes

vtkCutter * Slices [3]
 
vtkPlane * Planes [3]
 
vtkAppendPolyData * CombinedFilteredInput
 
vtkPProbeFilter * Probe
 
vtkPointSource * PointToProbe
 

Detailed Description

Cut vtkDataSet along 3 planes.

vtkThreeSliceFilter is a filter that slice the input data using 3 plane cut. Each axis cut could embed several slices by providing several values. As output you will find 4 output ports. The output ports are defined as follow:

Definition at line 45 of file vtkThreeSliceFilter.h.

Member Typedef Documentation

◆ Superclass

typedef vtkPolyDataAlgorithm vtkThreeSliceFilter::Superclass

Definition at line 48 of file vtkThreeSliceFilter.h.

Constructor & Destructor Documentation

◆ vtkThreeSliceFilter()

vtkThreeSliceFilter::vtkThreeSliceFilter ( )
protected

◆ ~vtkThreeSliceFilter()

vtkThreeSliceFilter::~vtkThreeSliceFilter ( )
protected

Member Function Documentation

◆ GetClassName()

virtual const char* vtkThreeSliceFilter::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkThreeSliceFilter::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkThreeSliceFilter::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkThreeSliceFilter* vtkThreeSliceFilter::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkThreeSliceFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ New()

static vtkThreeSliceFilter* vtkThreeSliceFilter::New ( )
static

Construct with user-specified implicit function; initial value of 0.0; and generating cut scalars turned off.

◆ GetMTime()

vtkMTimeType vtkThreeSliceFilter::GetMTime ( )

Override GetMTime because we rely on internal filters that have their own MTime.

◆ SetCutNormal()

void vtkThreeSliceFilter::SetCutNormal ( int  cutIndex,
double  normal[3] 
)

Set a Slice Normal for a given cutter.

◆ SetCutOrigin()

void vtkThreeSliceFilter::SetCutOrigin ( int  cutIndex,
double  origin[3] 
)

Set a slice Origin for a given cutter.

◆ SetCutValue()

void vtkThreeSliceFilter::SetCutValue ( int  cutIndex,
int  index,
double  value 
)

Set a slice value for a given cutter.

◆ SetNumberOfSlice()

void vtkThreeSliceFilter::SetNumberOfSlice ( int  cutIndex,
int  size 
)

Set number of slices for a given cutter.

◆ SetToDefaultSettings()

void vtkThreeSliceFilter::SetToDefaultSettings ( )

Default settings:

  • reset the plan origin to be (0,0,0)
  • number of slice for X, Y and Z to be 0
  • Normal for SliceX=[1,0,0], SliceY=[0,1,0], SliceZ=[0,0,1]

◆ SetCutOrigins() [1/2]

void vtkThreeSliceFilter::SetCutOrigins ( double  origin[3])

Set slice Origin for all cutter.

◆ SetCutOrigins() [2/2]

void vtkThreeSliceFilter::SetCutOrigins ( double  x,
double  y,
double  z 
)
inline

Definition at line 94 of file vtkThreeSliceFilter.h.

◆ EnableProbe()

void vtkThreeSliceFilter::EnableProbe ( int  enable)

Enable to probe the dataset at the given cut origin.

◆ GetProbedPointData()

bool vtkThreeSliceFilter::GetProbedPointData ( const char *  arrayName,
double &  value 
)

Return true if any data is available and provide the value as argument.

◆ FillInputPortInformation()

virtual int vtkThreeSliceFilter::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

◆ RequestData()

virtual int vtkThreeSliceFilter::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

◆ Process()

void vtkThreeSliceFilter::Process ( vtkDataSet *  input,
vtkPolyData *  outputs[4],
unsigned int  compositeIndex 
)
protected

Member Data Documentation

◆ Slices

vtkCutter* vtkThreeSliceFilter::Slices[3]
protected

Definition at line 117 of file vtkThreeSliceFilter.h.

◆ Planes

vtkPlane* vtkThreeSliceFilter::Planes[3]
protected

Definition at line 118 of file vtkThreeSliceFilter.h.

◆ CombinedFilteredInput

vtkAppendPolyData* vtkThreeSliceFilter::CombinedFilteredInput
protected

Definition at line 119 of file vtkThreeSliceFilter.h.

◆ Probe

vtkPProbeFilter* vtkThreeSliceFilter::Probe
protected

Definition at line 120 of file vtkThreeSliceFilter.h.

◆ PointToProbe

vtkPointSource* vtkThreeSliceFilter::PointToProbe
protected

Definition at line 121 of file vtkThreeSliceFilter.h.


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