ParaView
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
vtkSpreadSheetView Class Reference

#include <vtkSpreadSheetView.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void StillRender ()
virtual void InteractiveRender ()
virtual void Update ()
vtkIdType GetNumberOfColumns ()
vtkIdType GetNumberOfRows ()
const char * GetColumnName (vtkIdType index)
bool IsRowSelected (vtkIdType row)
bool IsAvailable (vtkIdType row)
void SetComponentToSort (int val)
void SetInvertSortOrder (bool)
void SetBlockSize (vtkIdType val)
bool Export (vtkCSVExporter *exporter)
void FetchBlockCallback (vtkIdType blockindex)
void SetShowExtractedSelection (bool)
virtual void ShowExtractedSelectionOn ()
virtual void ShowExtractedSelectionOff ()
virtual bool GetShowExtractedSelection ()
vtkVariant GetValue (vtkIdType row, vtkIdType col)
vtkVariant GetValueByName (vtkIdType row, const char *columnName)
void SetColumnNameToSort (const char *)
void SetColumnNameToSort ()

Static Public Member Functions

static vtkSpreadSheetViewNew ()
static int IsTypeOf (const char *type)
static vtkSpreadSheetViewSafeDownCast (vtkObject *o)

Protected Types

enum  { FETCH_BLOCK_TAG = 394732 }

Protected Member Functions

 vtkSpreadSheetView ()
 ~vtkSpreadSheetView ()
int StreamToClient ()
void OnRepresentationUpdated ()
vtkTableFetchBlock (vtkIdType blockindex)
void ClearCache ()

Protected Attributes

bool ShowExtractedSelection
vtkSortedTableStreamerTableStreamer
vtkMarkSelectedRowsTableSelectionMarker
vtkReductionFilterReductionFilter
vtkClientServerMoveDataDeliveryFilter
vtkIdType NumberOfRows

Friends

class vtkInternals

Detailed Description

vtkSpreadSheetView is a vtkPVView subclass for a view used to show any data as a spreadsheet. This view can only show one representation at a time. If more than one representation is added to this view, only the first visible representation will be shown.

Definition at line 36 of file vtkSpreadSheetView.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
FETCH_BLOCK_TAG 

Definition at line 135 of file vtkSpreadSheetView.h.


Constructor & Destructor Documentation

vtkSpreadSheetView::vtkSpreadSheetView ( ) [protected]
vtkSpreadSheetView::~vtkSpreadSheetView ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkView.

virtual const char* vtkSpreadSheetView::GetClassName ( ) [virtual]

Reimplemented from vtkPVView.

static int vtkSpreadSheetView::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkPVView.

virtual int vtkSpreadSheetView::IsA ( const char *  type) [virtual]

Reimplemented from vtkPVView.

static vtkSpreadSheetView* vtkSpreadSheetView::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkPVView.

void vtkSpreadSheetView::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkPVView.

virtual void vtkSpreadSheetView::StillRender ( ) [inline, virtual]

Triggers a high-resolution render.

Implements vtkPVView.

Definition at line 44 of file vtkSpreadSheetView.h.

virtual void vtkSpreadSheetView::InteractiveRender ( ) [inline, virtual]

Triggers a interactive render. Based on the settings on the view, this may result in a low-resolution rendering or a simplified geometry rendering.

Implements vtkPVView.

Definition at line 49 of file vtkSpreadSheetView.h.

virtual void vtkSpreadSheetView::Update ( ) [virtual]

Overridden to identify and locate the active-representation.

Reimplemented from vtkPVView.

void vtkSpreadSheetView::SetShowExtractedSelection ( bool  )

Get/Set if the view shows extracted selection only or the actual data. false by default.

virtual void vtkSpreadSheetView::ShowExtractedSelectionOn ( ) [virtual]

Get/Set if the view shows extracted selection only or the actual data. false by default.

virtual void vtkSpreadSheetView::ShowExtractedSelectionOff ( ) [virtual]

Get/Set if the view shows extracted selection only or the actual data. false by default.

virtual bool vtkSpreadSheetView::GetShowExtractedSelection ( ) [virtual]

Get/Set if the view shows extracted selection only or the actual data. false by default.

vtkIdType vtkSpreadSheetView::GetNumberOfColumns ( )

Get the number of columns.

vtkIdType vtkSpreadSheetView::GetNumberOfRows ( )

Get the number of rows.

const char* vtkSpreadSheetView::GetColumnName ( vtkIdType  index)

Returns the name for the column.

vtkVariant vtkSpreadSheetView::GetValue ( vtkIdType  row,
vtkIdType  col 
)

Returns the value at given location. This may result in collective operations is data is not available locally. This method can only be called on the CLIENT process for now.

vtkVariant vtkSpreadSheetView::GetValueByName ( vtkIdType  row,
const char *  columnName 
)

Returns the value at given location. This may result in collective operations is data is not available locally. This method can only be called on the CLIENT process for now.

bool vtkSpreadSheetView::IsRowSelected ( vtkIdType  row)

Returns true if the row is selected.

bool vtkSpreadSheetView::IsAvailable ( vtkIdType  row)

Returns true is the data for the particular row is locally available.

void vtkSpreadSheetView::SetColumnNameToSort ( const char *  )

Get/Set the column name to sort by.

void vtkSpreadSheetView::SetColumnNameToSort ( ) [inline]

Get/Set the column name to sort by.

Definition at line 90 of file vtkSpreadSheetView.h.

void vtkSpreadSheetView::SetComponentToSort ( int  val)

Get/Set the component to sort with. Use -1 (default) for magnitude.

void vtkSpreadSheetView::SetInvertSortOrder ( bool  )

Get/Set whether the sort order must be Max to Min rather than Min to Max.

void vtkSpreadSheetView::SetBlockSize ( vtkIdType  val)

Set the block size

bool vtkSpreadSheetView::Export ( vtkCSVExporter exporter)

Export the contents of this view using the exporter.

void vtkSpreadSheetView::FetchBlockCallback ( vtkIdType  blockindex)
int vtkSpreadSheetView::StreamToClient ( ) [protected]

On render streams all the data from the processes to the client. Returns 0 on failure. Note: Was removed from update because you can't call update() while in an update

void vtkSpreadSheetView::OnRepresentationUpdated ( ) [protected]
vtkTable* vtkSpreadSheetView::FetchBlock ( vtkIdType  blockindex) [protected]
void vtkSpreadSheetView::ClearCache ( ) [protected]

Friends And Related Function Documentation

friend class vtkInternals [friend]

Definition at line 143 of file vtkSpreadSheetView.h.


Member Data Documentation

Definition at line 127 of file vtkSpreadSheetView.h.

Definition at line 128 of file vtkSpreadSheetView.h.

Definition at line 129 of file vtkSpreadSheetView.h.

Definition at line 130 of file vtkSpreadSheetView.h.

Definition at line 131 of file vtkSpreadSheetView.h.

Definition at line 133 of file vtkSpreadSheetView.h.


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