ParaView
|
vtkSpreadSheetView is a vtkPVView subclass for a view used to show any data as a spreadsheet. More...
#include <vtkSpreadSheetView.h>
Public Types | |
typedef vtkPVView | Superclass |
![]() | |
enum | { ViewTimeChangedEvent = 9000 } |
typedef vtkView | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | StillRender () |
Triggers a high-resolution render. More... | |
virtual void | InteractiveRender () |
Triggers a interactive render. More... | |
virtual void | Update () |
Overridden to identify and locate the active-representation. More... | |
vtkIdType | GetNumberOfColumns () |
Get the number of columns. More... | |
vtkIdType | GetNumberOfRows () |
Get the number of rows. More... | |
const char * | GetColumnName (vtkIdType index) |
Returns the name for the column. More... | |
bool | IsRowSelected (vtkIdType row) |
Returns true if the row is selected. More... | |
bool | IsAvailable (vtkIdType row) |
Returns true is the data for the particular row is locally available. More... | |
void | SetColumnNameToSort (const char *) |
Get/Set the column name to sort by. More... | |
void | SetColumnNameToSort () |
void | SetComponentToSort (int val) |
Get/Set the component to sort with. More... | |
void | SetInvertSortOrder (bool) |
Get/Set whether the sort order must be Max to Min rather than Min to Max. More... | |
void | SetBlockSize (vtkIdType val) |
Set the block size . More... | |
bool | Export (vtkCSVExporter *exporter) |
Export the contents of this view using the exporter. More... | |
void | ClearCache () |
Allow user to clear the cache if he needs to. More... | |
vtkTable * | FetchBlockCallback (vtkIdType blockindex, bool filterColumnForExport=false) |
void | SetShowExtractedSelection (bool) |
Get/Set if the view shows extracted selection only or the actual data. More... | |
virtual void | ShowExtractedSelectionOn () |
Get/Set if the view shows extracted selection only or the actual data. More... | |
virtual void | ShowExtractedSelectionOff () |
Get/Set if the view shows extracted selection only or the actual data. More... | |
virtual bool | GetShowExtractedSelection () |
Get/Set if the view shows extracted selection only or the actual data. More... | |
void | SetColumnVisibility (int fieldAssociation, const char *column, int visibility) |
Manage column visibilities, used only for export. More... | |
void | ClearColumnVisibilities () |
Manage column visibilities, used only for export. More... | |
vtkVariant | GetValue (vtkIdType row, vtkIdType col) |
Returns the value at given location. More... | |
vtkVariant | GetValueByName (vtkIdType row, const char *columnName) |
Returns the value at given location. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Initialize (unsigned int id) |
Initialize the view with an identifier. More... | |
bool | InTileDisplayMode () |
Returns true if the application is currently in tile display mode. More... | |
bool | InCaveDisplayMode () |
Returns true if the application is currently in cave/immersive display mode. More... | |
bool | GetLocalProcessSupportsInteraction () |
Returns true if the local process can support interaction. More... | |
virtual unsigned int | GetIdentifier () |
virtual void | SetPosition (int, int) |
Set the position on this view in the multiview configuration. More... | |
virtual int * | GetPosition () |
Set the position on this view in the multiview configuration. More... | |
virtual void | GetPosition (int &, int &) |
Set the position on this view in the multiview configuration. More... | |
virtual void | GetPosition (int [2]) |
Set the position on this view in the multiview configuration. More... | |
virtual void | SetSize (int, int) |
Set the size of this view in the multiview configuration. More... | |
virtual int * | GetSize () |
Set the size of this view in the multiview configuration. More... | |
virtual void | GetSize (int &, int &) |
Set the size of this view in the multiview configuration. More... | |
virtual void | GetSize (int [2]) |
Set the size of this view in the multiview configuration. More... | |
bool | SynchronizeBounds (double bounds[6]) |
This encapsulates a whole lot of logic for communication between processes. More... | |
bool | SynchronizeSize (double &size) |
This encapsulates a whole lot of logic for communication between processes. More... | |
bool | SynchronizeSize (unsigned int &size) |
This encapsulates a whole lot of logic for communication between processes. More... | |
virtual void | SetViewTime (double value) |
Get/Set the time this view is showing. More... | |
virtual double | GetViewTime () |
Get/Set the time this view is showing. More... | |
virtual void | SetCacheKey (double) |
Get/Set the cache key. More... | |
virtual double | GetCacheKey () |
Get/Set the cache key. More... | |
virtual void | SetUseCache (bool) |
Get/Set whether caching is enabled. More... | |
virtual bool | GetUseCache () |
Get/Set whether caching is enabled. More... | |
virtual void | PrepareForScreenshot () |
These methods are used to setup the view for capturing screen shots. More... | |
virtual void | CleanupAfterScreenshot () |
These methods are used to setup the view for capturing screen shots. More... | |
Static Public Member Functions | |
static vtkSpreadSheetView * | New () |
static int | IsTypeOf (const char *type) |
static vtkSpreadSheetView * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPVView * | SafeDownCast (vtkObject *o) |
static void | SetEnableStreaming (bool) |
static bool | GetEnableStreaming () |
static vtkInformationObjectBaseKey * | VIEW () |
Key used to pass the vtkPVView pointer to the representation during any of the view passes such as REQUEST_UPDATE(), REQUEST_UPDATE_LOD(), REQUEST_RENDER(), etc. More... | |
static vtkInformationRequestKey * | REQUEST_UPDATE () |
This is a Update-Data pass. More... | |
static vtkInformationRequestKey * | REQUEST_UPDATE_LOD () |
This is a Update-LOD-Data pass. More... | |
static vtkInformationRequestKey * | REQUEST_RENDER () |
This is a render pass. More... | |
Protected Types | |
enum | { FETCH_BLOCK_TAG = 394732 } |
Protected Member Functions | |
vtkSpreadSheetView () | |
~vtkSpreadSheetView () | |
int | StreamToClient () |
On render streams all the data from the processes to the client. More... | |
void | OnRepresentationUpdated () |
vtkTable * | FetchBlock (vtkIdType blockindex, bool filterColumnForExport=false) |
![]() | |
vtkPVView () | |
~vtkPVView () | |
virtual void | AddRepresentationInternal (vtkDataRepresentation *rep) |
Overridden to check that the representation has View setup properly. More... | |
void | CallProcessViewRequest (vtkInformationRequestKey *passType, vtkInformation *request, vtkInformationVector *reply) |
Subclasses can use this method to trigger a pass on all representations. More... | |
Protected Attributes | |
bool | ShowExtractedSelection |
vtkSortedTableStreamer * | TableStreamer |
vtkMarkSelectedRows * | TableSelectionMarker |
vtkReductionFilter * | ReductionFilter |
vtkClientServerMoveData * | DeliveryFilter |
vtkPassArrays * | PassFilter |
vtkIdType | NumberOfRows |
![]() | |
vtkPVSynchronizedRenderWindows * | SynchronizedWindows |
unsigned int | Identifier |
Every view gets a unique identifier that it uses to register itself with the SynchronizedWindows. More... | |
double | CacheKey |
bool | UseCache |
int | Size [2] |
int | Position [2] |
vtkInformation * | RequestInformation |
These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More... | |
vtkInformationVector * | ReplyInformationVector |
These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More... | |
double | ViewTime |
Subclasses can use this method to trigger a pass on all representations. More... | |
Friends | |
class | vtkInternals |
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 41 of file vtkSpreadSheetView.h.
Definition at line 45 of file vtkSpreadSheetView.h.
|
protected |
Enumerator | |
---|---|
FETCH_BLOCK_TAG |
Definition at line 189 of file vtkSpreadSheetView.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPVView.
|
static |
|
virtual |
Reimplemented from vtkPVView.
|
static |
void vtkSpreadSheetView::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
inlinevirtual |
Triggers a high-resolution render.
Implements vtkPVView.
Definition at line 52 of file vtkSpreadSheetView.h.
|
inlinevirtual |
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 59 of file vtkSpreadSheetView.h.
|
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 |
Get/Set if the view shows extracted selection only or the actual data.
false by default.
|
virtual |
Get/Set if the view shows extracted selection only or the actual data.
false by default.
|
virtual |
Get/Set if the view shows extracted selection only or the actual data.
false by default.
void vtkSpreadSheetView::SetColumnVisibility | ( | int | fieldAssociation, |
const char * | column, | ||
int | visibility | ||
) |
Manage column visibilities, used only for export.
void vtkSpreadSheetView::ClearColumnVisibilities | ( | ) |
Manage column visibilities, used only for export.
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.
|
inline |
Definition at line 131 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::ClearCache | ( | ) |
Allow user to clear the cache if he needs to.
vtkTable* vtkSpreadSheetView::FetchBlockCallback | ( | vtkIdType | blockindex, |
bool | filterColumnForExport = false |
||
) |
|
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
|
protected |
|
protected |
|
friend |
Definition at line 198 of file vtkSpreadSheetView.h.
|
protected |
Definition at line 180 of file vtkSpreadSheetView.h.
|
protected |
Definition at line 181 of file vtkSpreadSheetView.h.
|
protected |
Definition at line 182 of file vtkSpreadSheetView.h.
|
protected |
Definition at line 183 of file vtkSpreadSheetView.h.
|
protected |
Definition at line 184 of file vtkSpreadSheetView.h.
|
protected |
Definition at line 185 of file vtkSpreadSheetView.h.
|
protected |
Definition at line 187 of file vtkSpreadSheetView.h.