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

return a sorted subset of the original table More...

#include <vtkSortedTableStreamer.h>

Inherits vtkTableAlgorithm.

Public Member Functions

int FillInputPortInformation (int port, vtkInformation *info)
 Only one input which is the table to sort. More...
 
const char * GetColumnNameToSort ()
 Choose on which colum the sort operation should occurs. More...
 
void SetColumnNameToSort (const char *columnName)
 
void SetInvertOrder (int newValue)
 
virtual int GetInvertOrder ()
 
virtual vtkIdType GetBlock ()
 Block index used to select a data range. More...
 
virtual void SetBlock (vtkIdType)
 Block index used to select a data range. More...
 
virtual vtkIdType GetBlockSize ()
 Set the block size. More...
 
virtual void SetBlockSize (vtkIdType)
 Set the block size. More...
 
virtual int GetSelectedComponent ()
 Choose on which colum the sort operation should occurs. More...
 
virtual void SetSelectedComponent (int)
 Choose on which colum the sort operation should occurs. More...
 
void SetController (vtkMultiProcessController *)
 Get/Set the MPI controller used for gathering. More...
 
virtual vtkMultiProcessController * GetController ()
 Get/Set the MPI controller used for gathering. More...
 

Static Public Member Functions

static void PrintInfo (vtkTable *input)
 

Protected Member Functions

 vtkSortedTableStreamer ()
 
 ~vtkSortedTableStreamer ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void CreateInternalIfNeeded (vtkTable *input, vtkDataArray *data)
 
vtkDataArray * GetDataArrayToProcess (vtkTable *input)
 
virtual char * GetColumnToSort ()
 Choose on which colum the sort operation should occurs. More...
 
virtual void SetColumnToSort (const char *)
 Choose on which colum the sort operation should occurs. More...
 

Protected Attributes

vtkIdType Block
 
vtkIdType BlockSize
 
vtkMultiProcessController * Controller
 
char * ColumnToSort
 
int SelectedComponent
 
int InvertOrder
 
typedef vtkTableAlgorithm Superclass
 Test the internal structure and make sure that they behave as expected. More...
 
static bool TestInternalClasses ()
 Test the internal structure and make sure that they behave as expected. More...
 
static vtkSortedTableStreamerNew ()
 Test the internal structure and make sure that they behave as expected. More...
 
static int IsTypeOf (const char *type)
 Test the internal structure and make sure that they behave as expected. More...
 
static vtkSortedTableStreamerSafeDownCast (vtkObject *o)
 Test the internal structure and make sure that they behave as expected. More...
 
virtual const char * GetClassName ()
 Test the internal structure and make sure that they behave as expected. More...
 
virtual int IsA (const char *type)
 Test the internal structure and make sure that they behave as expected. More...
 
void PrintSelf (ostream &os, vtkIndent indent)
 Test the internal structure and make sure that they behave as expected. More...
 

Detailed Description

return a sorted subset of the original table

This filter is used quickly get a sorted subset of a given vtkTable. By sorted we mean a subset build from a global sort even if some optimisation allow us to skip a global table sorting.

Definition at line 34 of file vtkSortedTableStreamer.h.

Member Typedef Documentation

◆ Superclass

typedef vtkTableAlgorithm vtkSortedTableStreamer::Superclass

Test the internal structure and make sure that they behave as expected.

Return true if everything is OK, false otherwise.

Definition at line 51 of file vtkSortedTableStreamer.h.

Constructor & Destructor Documentation

◆ vtkSortedTableStreamer()

vtkSortedTableStreamer::vtkSortedTableStreamer ( )
protected

◆ ~vtkSortedTableStreamer()

vtkSortedTableStreamer::~vtkSortedTableStreamer ( )
protected

Member Function Documentation

◆ PrintInfo()

static void vtkSortedTableStreamer::PrintInfo ( vtkTable *  input)
static

◆ TestInternalClasses()

static bool vtkSortedTableStreamer::TestInternalClasses ( )
static

Test the internal structure and make sure that they behave as expected.

Return true if everything is OK, false otherwise.

◆ New()

static vtkSortedTableStreamer* vtkSortedTableStreamer::New ( )
static

Test the internal structure and make sure that they behave as expected.

Return true if everything is OK, false otherwise.

◆ GetClassName()

virtual const char* vtkSortedTableStreamer::GetClassName ( )
virtual

Test the internal structure and make sure that they behave as expected.

Return true if everything is OK, false otherwise.

◆ IsTypeOf()

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

Test the internal structure and make sure that they behave as expected.

Return true if everything is OK, false otherwise.

◆ IsA()

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

Test the internal structure and make sure that they behave as expected.

Return true if everything is OK, false otherwise.

◆ SafeDownCast()

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

Test the internal structure and make sure that they behave as expected.

Return true if everything is OK, false otherwise.

◆ PrintSelf()

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

Test the internal structure and make sure that they behave as expected.

Return true if everything is OK, false otherwise.

◆ FillInputPortInformation()

int vtkSortedTableStreamer::FillInputPortInformation ( int  port,
vtkInformation *  info 
)

Only one input which is the table to sort.

◆ GetBlock()

virtual vtkIdType vtkSortedTableStreamer::GetBlock ( )
virtual

Block index used to select a data range.

◆ SetBlock()

virtual void vtkSortedTableStreamer::SetBlock ( vtkIdType  )
virtual

Block index used to select a data range.

◆ GetBlockSize()

virtual vtkIdType vtkSortedTableStreamer::GetBlockSize ( )
virtual

Set the block size.

Default value is 1024

◆ SetBlockSize()

virtual void vtkSortedTableStreamer::SetBlockSize ( vtkIdType  )
virtual

Set the block size.

Default value is 1024

◆ GetSelectedComponent()

virtual int vtkSortedTableStreamer::GetSelectedComponent ( )
virtual

Choose on which colum the sort operation should occurs.

◆ SetSelectedComponent()

virtual void vtkSortedTableStreamer::SetSelectedComponent ( int  )
virtual

Choose on which colum the sort operation should occurs.

◆ SetController()

void vtkSortedTableStreamer::SetController ( vtkMultiProcessController *  )

Get/Set the MPI controller used for gathering.

◆ GetController()

virtual vtkMultiProcessController* vtkSortedTableStreamer::GetController ( )
virtual

Get/Set the MPI controller used for gathering.

◆ GetColumnNameToSort()

const char* vtkSortedTableStreamer::GetColumnNameToSort ( )

Choose on which colum the sort operation should occurs.

◆ SetColumnNameToSort()

void vtkSortedTableStreamer::SetColumnNameToSort ( const char *  columnName)

◆ SetInvertOrder()

void vtkSortedTableStreamer::SetInvertOrder ( int  newValue)

◆ GetInvertOrder()

virtual int vtkSortedTableStreamer::GetInvertOrder ( )
virtual

◆ RequestData()

int vtkSortedTableStreamer::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

◆ CreateInternalIfNeeded()

void vtkSortedTableStreamer::CreateInternalIfNeeded ( vtkTable *  input,
vtkDataArray *  data 
)
protected

◆ GetDataArrayToProcess()

vtkDataArray* vtkSortedTableStreamer::GetDataArrayToProcess ( vtkTable *  input)
protected

◆ GetColumnToSort()

virtual char* vtkSortedTableStreamer::GetColumnToSort ( )
protectedvirtual

Choose on which colum the sort operation should occurs.

◆ SetColumnToSort()

virtual void vtkSortedTableStreamer::SetColumnToSort ( const char *  )
protectedvirtual

Choose on which colum the sort operation should occurs.

Member Data Documentation

◆ Block

vtkIdType vtkSortedTableStreamer::Block
protected

Definition at line 118 of file vtkSortedTableStreamer.h.

◆ BlockSize

vtkIdType vtkSortedTableStreamer::BlockSize
protected

Definition at line 122 of file vtkSortedTableStreamer.h.

◆ Controller

vtkMultiProcessController* vtkSortedTableStreamer::Controller
protected

Definition at line 123 of file vtkSortedTableStreamer.h.

◆ ColumnToSort

char* vtkSortedTableStreamer::ColumnToSort
protected

Definition at line 125 of file vtkSortedTableStreamer.h.

◆ SelectedComponent

int vtkSortedTableStreamer::SelectedComponent
protected

Definition at line 126 of file vtkSortedTableStreamer.h.

◆ InvertOrder

int vtkSortedTableStreamer::InvertOrder
protected

Definition at line 127 of file vtkSortedTableStreamer.h.


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