VTK
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkSLACReader Class Reference

#include <vtkSLACReader.h>

Inheritance diagram for vtkSLACReader:
[legend]
Collaboration diagram for vtkSLACReader:
[legend]

Classes

class  EdgeEndpoints
 
class  MidpointCoordinateMap
 
class  MidpointCoordinates
 
class  MidpointIdMap
 

Public Types

enum  { SURFACE_OUTPUT = 0, VOLUME_OUTPUT = 1, NUM_OUTPUTS = 2 }
 
typedef vtkMultiBlockDataSetAlgorithm Superclass
 
- Public Types inherited from vtkMultiBlockDataSetAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
typedef vtkObject Superclass
 
enum  DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION }
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkSLACReaderNewInstance () const
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual char * GetMeshFileName ()
 
virtual void SetMeshFileName (const char *)
 
virtual void AddModeFileName (const char *fname)
 
virtual void RemoveAllModeFileNames ()
 
virtual unsigned int GetNumberOfModeFileNames ()
 
virtual const char * GetModeFileName (unsigned int idx)
 
virtual int GetReadInternalVolume ()
 
virtual void SetReadInternalVolume (int)
 
virtual void ReadInternalVolumeOn ()
 
virtual void ReadInternalVolumeOff ()
 
virtual int GetReadExternalSurface ()
 
virtual void SetReadExternalSurface (int)
 
virtual void ReadExternalSurfaceOn ()
 
virtual void ReadExternalSurfaceOff ()
 
virtual int GetReadMidpoints ()
 
virtual void SetReadMidpoints (int)
 
virtual void ReadMidpointsOn ()
 
virtual void ReadMidpointsOff ()
 
virtual int GetNumberOfVariableArrays ()
 
virtual const char * GetVariableArrayName (int idx)
 
virtual int GetVariableArrayStatus (const char *name)
 
virtual void SetVariableArrayStatus (const char *name, int status)
 
virtual void ResetFrequencyScales ()
 
virtual void SetFrequencyScale (int index, double scale)
 
virtual void ResetPhaseShifts ()
 
virtual void SetPhaseShift (int index, double shift)
 
virtual vtkDoubleArrayGetFrequencyScales ()
 
virtual vtkDoubleArrayGetPhaseShifts ()
 
- Public Member Functions inherited from vtkMultiBlockDataSetAlgorithm
vtkMultiBlockDataSetAlgorithmNewInstance () const
 
vtkMultiBlockDataSetGetOutput ()
 
vtkMultiBlockDataSetGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int extent[6])
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSLACReaderSafeDownCast (vtkObjectBase *o)
 
static vtkSLACReaderNew ()
 
static int CanReadFile (const char *filename)
 
static vtkInformationIntegerKeyIS_INTERNAL_VOLUME ()
 
static vtkInformationIntegerKeyIS_EXTERNAL_SURFACE ()
 
static vtkInformationObjectBaseKeyPOINTS ()
 
static vtkInformationObjectBaseKeyPOINT_DATA ()
 
- Static Public Member Functions inherited from vtkMultiBlockDataSetAlgorithm
static vtkMultiBlockDataSetAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMultiBlockDataSetAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Types

enum  { NumPerTetInt = 5, NumPerTetExt = 9 }
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkSLACReader ()
 
 ~vtkSLACReader ()
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int CheckTetrahedraWinding (int meshFD)
 
virtual int MeshUpToDate ()
 
virtual vtkIdType GetNumTuplesInVariable (int ncFD, int varId, int expectedNumComponents)
 
virtual int ReadConnectivity (int meshFD, vtkMultiBlockDataSet *surfaceOutput, vtkMultiBlockDataSet *volumeOutput)
 
virtual int ReadTetrahedronInteriorArray (int meshFD, vtkIdTypeArray *connectivity)
 
virtual int ReadTetrahedronExteriorArray (int meshFD, vtkIdTypeArray *connectivity)
 
virtual vtkSmartPointer< vtkDataArrayReadPointDataArray (int ncFD, int varId)
 
virtual int ReadCoordinates (int meshFD, vtkMultiBlockDataSet *output)
 
virtual int ReadMidpointCoordinates (int meshFD, vtkMultiBlockDataSet *output, MidpointCoordinateMap &map)
 
virtual int ReadMidpointData (int meshFD, vtkMultiBlockDataSet *output, MidpointIdMap &map)
 
virtual int RestoreMeshCache (vtkMultiBlockDataSet *surfaceOutput, vtkMultiBlockDataSet *volumeOutput, vtkMultiBlockDataSet *compositeOutput)
 
virtual int ReadFieldData (const int *modeFDArray, int numModeFDs, vtkMultiBlockDataSet *output)
 
virtual int InterpolateMidpointData (vtkMultiBlockDataSet *output, MidpointIdMap &map)
 
- Protected Member Functions inherited from vtkMultiBlockDataSetAlgorithm
 vtkMultiBlockDataSetAlgorithm ()
 
 ~vtkMultiBlockDataSetAlgorithm ()
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
vtkDataObjectGetInput (int port)
 
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
virtual void SetErrorCode (unsigned long)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Static Protected Member Functions

static void SelectionModifiedCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 

Protected Attributes

vtkInternalInternal
 
char * MeshFileName
 
int ReadInternalVolume
 
int ReadExternalSurface
 
int ReadMidpoints
 
bool ReadModeData
 
bool TimeStepModes
 
bool FrequencyModes
 
vtkTimeStamp MeshReadTime
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Friends

class vtkInternal
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
int AbortExecute
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

A reader for a data format used by Omega3p, Tau3p, and several other tools used at the Standford Linear Accelerator Center (SLAC). The underlying format uses netCDF to store arrays, but also imposes several conventions to form an unstructured grid of elements.

Tests:
vtkSLACReader (Tests)

Definition at line 51 of file vtkSLACReader.h.

Member Typedef Documentation

Definition at line 54 of file vtkSLACReader.h.

Member Enumeration Documentation

anonymous enum
Enumerator
SURFACE_OUTPUT 
VOLUME_OUTPUT 
NUM_OUTPUTS 

Definition at line 190 of file vtkSLACReader.h.

anonymous enum
protected

Helpful constants equal to the amount of identifiers per tet.

Enumerator
NumPerTetInt 
NumPerTetExt 

Definition at line 280 of file vtkSLACReader.h.

Constructor & Destructor Documentation

vtkSLACReader::vtkSLACReader ( )
protected
vtkSLACReader::~vtkSLACReader ( )
protected

Member Function Documentation

static int vtkSLACReader::IsTypeOf ( const char *  type)
static
virtual int vtkSLACReader::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 vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPSLACReader.

static vtkSLACReader* vtkSLACReader::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkSLACReader::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPSLACReader.

vtkSLACReader* vtkSLACReader::NewInstance ( ) const
static vtkSLACReader* vtkSLACReader::New ( )
static
virtual void vtkSLACReader::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 vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPSLACReader.

virtual char* vtkSLACReader::GetMeshFileName ( )
virtual
virtual void vtkSLACReader::SetMeshFileName ( const char *  )
virtual
virtual void vtkSLACReader::AddModeFileName ( const char *  fname)
virtual

There may be one mode file (usually for actual modes) or multiple mode files (which usually actually represent time series). These methods set and clear the list of mode files (which can be a single mode file).

virtual void vtkSLACReader::RemoveAllModeFileNames ( )
virtual

There may be one mode file (usually for actual modes) or multiple mode files (which usually actually represent time series). These methods set and clear the list of mode files (which can be a single mode file).

virtual unsigned int vtkSLACReader::GetNumberOfModeFileNames ( )
virtual

There may be one mode file (usually for actual modes) or multiple mode files (which usually actually represent time series). These methods set and clear the list of mode files (which can be a single mode file).

virtual const char* vtkSLACReader::GetModeFileName ( unsigned int  idx)
virtual

There may be one mode file (usually for actual modes) or multiple mode files (which usually actually represent time series). These methods set and clear the list of mode files (which can be a single mode file).

virtual int vtkSLACReader::GetReadInternalVolume ( )
virtual

If on, reads the internal volume of the data set. Set to off by default.

virtual void vtkSLACReader::SetReadInternalVolume ( int  )
virtual

If on, reads the internal volume of the data set. Set to off by default.

virtual void vtkSLACReader::ReadInternalVolumeOn ( )
virtual

If on, reads the internal volume of the data set. Set to off by default.

virtual void vtkSLACReader::ReadInternalVolumeOff ( )
virtual

If on, reads the internal volume of the data set. Set to off by default.

virtual int vtkSLACReader::GetReadExternalSurface ( )
virtual

If on, reads the external surfaces of the data set. Set to on by default.

virtual void vtkSLACReader::SetReadExternalSurface ( int  )
virtual

If on, reads the external surfaces of the data set. Set to on by default.

virtual void vtkSLACReader::ReadExternalSurfaceOn ( )
virtual

If on, reads the external surfaces of the data set. Set to on by default.

virtual void vtkSLACReader::ReadExternalSurfaceOff ( )
virtual

If on, reads the external surfaces of the data set. Set to on by default.

virtual int vtkSLACReader::GetReadMidpoints ( )
virtual

If on, reads midpoint information for external surfaces and builds quadratic surface triangles. Set to on by default.

virtual void vtkSLACReader::SetReadMidpoints ( int  )
virtual

If on, reads midpoint information for external surfaces and builds quadratic surface triangles. Set to on by default.

virtual void vtkSLACReader::ReadMidpointsOn ( )
virtual

If on, reads midpoint information for external surfaces and builds quadratic surface triangles. Set to on by default.

virtual void vtkSLACReader::ReadMidpointsOff ( )
virtual

If on, reads midpoint information for external surfaces and builds quadratic surface triangles. Set to on by default.

virtual int vtkSLACReader::GetNumberOfVariableArrays ( )
virtual

Variable array selection.

virtual const char* vtkSLACReader::GetVariableArrayName ( int  idx)
virtual

Variable array selection.

virtual int vtkSLACReader::GetVariableArrayStatus ( const char *  name)
virtual

Variable array selection.

virtual void vtkSLACReader::SetVariableArrayStatus ( const char *  name,
int  status 
)
virtual

Variable array selection.

virtual void vtkSLACReader::ResetFrequencyScales ( )
virtual

Sets the scale factor for each mode. Each scale factor is reset to 1.

virtual void vtkSLACReader::SetFrequencyScale ( int  index,
double  scale 
)
virtual

Sets the scale factor for each mode. Each scale factor is reset to 1.

virtual void vtkSLACReader::ResetPhaseShifts ( )
virtual

Sets the phase offset for each mode. Each shift is reset to 0.

virtual void vtkSLACReader::SetPhaseShift ( int  index,
double  shift 
)
virtual

Sets the phase offset for each mode. Each shift is reset to 0.

virtual vtkDoubleArray* vtkSLACReader::GetFrequencyScales ( )
virtual

NOTE: This is not thread-safe.

virtual vtkDoubleArray* vtkSLACReader::GetPhaseShifts ( )
virtual

NOTE: This is not thread-safe.

static int vtkSLACReader::CanReadFile ( const char *  filename)
static

Returns true if the given file can be read by this reader.

static vtkInformationIntegerKey* vtkSLACReader::IS_INTERNAL_VOLUME ( )
static

This key is attached to the metadata information of all data sets in the output that are part of the internal volume.

static vtkInformationIntegerKey* vtkSLACReader::IS_EXTERNAL_SURFACE ( )
static

This key is attached to the metadata information of all data sets in the output that are part of the external surface.

static vtkInformationObjectBaseKey* vtkSLACReader::POINTS ( )
static

All the data sets stored in the multiblock output share the same point data. For convienience, the point coordinates (vtkPoints) and point data (vtkPointData) are saved under these keys in the vtkInformation of the output data set.

static vtkInformationObjectBaseKey* vtkSLACReader::POINT_DATA ( )
static

All the data sets stored in the multiblock output share the same point data. For convienience, the point coordinates (vtkPoints) and point data (vtkPointData) are saved under these keys in the vtkInformation of the output data set.

virtual int vtkSLACReader::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
protectedvirtual

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPSLACReader.

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

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Reimplemented in vtkPSLACReader.

static void vtkSLACReader::SelectionModifiedCallback ( vtkObject caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected

Callback registered with the VariableArraySelection.

virtual vtkIdType vtkSLACReader::GetNumTuplesInVariable ( int  ncFD,
int  varId,
int  expectedNumComponents 
)
protectedvirtual

Convenience function that checks the dimensions of a 2D netCDF array that is supposed to be a set of tuples. It makes sure that the number of dimensions is expected and that the number of components in each tuple agree with what is expected. It then returns the number of tuples. An error is emitted and 0 is returned if the checks fail.

virtual int vtkSLACReader::CheckTetrahedraWinding ( int  meshFD)
protectedvirtual

Checks the winding of the tetrahedra in the mesh file. Returns 1 if the winding conforms to VTK, 0 if the winding needs to be corrected.

Reimplemented in vtkPSLACReader.

virtual int vtkSLACReader::ReadConnectivity ( int  meshFD,
vtkMultiBlockDataSet surfaceOutput,
vtkMultiBlockDataSet volumeOutput 
)
protectedvirtual

Read the connectivity information from the mesh file. Returns 1 on success, 0 on failure.

Reimplemented in vtkPSLACReader.

virtual int vtkSLACReader::ReadTetrahedronInteriorArray ( int  meshFD,
vtkIdTypeArray connectivity 
)
protectedvirtual

Reads tetrahedron connectivity arrays. Called by ReadConnectivity.

Reimplemented in vtkPSLACReader.

virtual int vtkSLACReader::ReadTetrahedronExteriorArray ( int  meshFD,
vtkIdTypeArray connectivity 
)
protectedvirtual

Reads tetrahedron connectivity arrays. Called by ReadConnectivity.

Reimplemented in vtkPSLACReader.

virtual vtkSmartPointer<vtkDataArray> vtkSLACReader::ReadPointDataArray ( int  ncFD,
int  varId 
)
protectedvirtual

Reads point data arrays. Called by ReadCoordinates and ReadFieldData.

Reimplemented in vtkPSLACReader.

virtual int vtkSLACReader::ReadCoordinates ( int  meshFD,
vtkMultiBlockDataSet output 
)
protectedvirtual

Read in the point coordinate data from the mesh file. Returns 1 on success, 0 on failure.

Reimplemented in vtkPSLACReader.

virtual int vtkSLACReader::ReadMidpointCoordinates ( int  meshFD,
vtkMultiBlockDataSet output,
MidpointCoordinateMap map 
)
protectedvirtual

Reads in the midpoint coordinate data from the mesh file and returns a map from edges to midpoints. This method is called by ReadMidpointData. Returns 1 on success, 0 on failure.

Reimplemented in vtkPSLACReader.

virtual int vtkSLACReader::ReadMidpointData ( int  meshFD,
vtkMultiBlockDataSet output,
MidpointIdMap map 
)
protectedvirtual

Read in the midpoint data from the mesh file. Returns 1 on success, 0 on failure. Also fills a midpoint id map that will be passed into InterpolateMidpointFieldData.

Reimplemented in vtkPSLACReader.

virtual int vtkSLACReader::RestoreMeshCache ( vtkMultiBlockDataSet surfaceOutput,
vtkMultiBlockDataSet volumeOutput,
vtkMultiBlockDataSet compositeOutput 
)
protectedvirtual

Instead of reading data from the mesh file, restore the data from the previous mesh file read.

Reimplemented in vtkPSLACReader.

virtual int vtkSLACReader::ReadFieldData ( const int modeFDArray,
int  numModeFDs,
vtkMultiBlockDataSet output 
)
protectedvirtual

Read in the field data from the mode file. Returns 1 on success, 0 on failure.

Reimplemented in vtkPSLACReader.

virtual int vtkSLACReader::InterpolateMidpointData ( vtkMultiBlockDataSet output,
MidpointIdMap map 
)
protectedvirtual

Takes the data read on the fields and interpolates data for the midpoints. map is the same map that was created in ReadMidpointData.

virtual int vtkSLACReader::MeshUpToDate ( )
protectedvirtual

Returns 1 if the mesh is up to date, 0 if the mesh needs to be read from disk.

Reimplemented in vtkPSLACReader.

Friends And Related Function Documentation

friend class vtkInternal
friend

Definition at line 207 of file vtkSLACReader.h.

Member Data Documentation

vtkInternal* vtkSLACReader::Internal
protected

Definition at line 202 of file vtkSLACReader.h.

char* vtkSLACReader::MeshFileName
protected

Definition at line 209 of file vtkSLACReader.h.

int vtkSLACReader::ReadInternalVolume
protected

Definition at line 211 of file vtkSLACReader.h.

int vtkSLACReader::ReadExternalSurface
protected

Definition at line 212 of file vtkSLACReader.h.

int vtkSLACReader::ReadMidpoints
protected

Definition at line 213 of file vtkSLACReader.h.

bool vtkSLACReader::ReadModeData
protected

True if reading from a proper mode file. Set in RequestInformation.

Definition at line 216 of file vtkSLACReader.h.

bool vtkSLACReader::TimeStepModes
protected

True if "mode" files are a sequence of time steps.

Definition at line 219 of file vtkSLACReader.h.

bool vtkSLACReader::FrequencyModes
protected

True if mode files describe vibrating fields.

Definition at line 222 of file vtkSLACReader.h.

vtkTimeStamp vtkSLACReader::MeshReadTime
protected

A time stamp for the last time the mesh file was read. This is used to determine whether the mesh needs to be read in again or if we just need to read the mode data.

Definition at line 398 of file vtkSLACReader.h.


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