discretize.mixins.vtkModule.vtkXMLRectilinearGridReader

class discretize.mixins.vtkModule.vtkXMLRectilinearGridReader

Bases: vtkIOXMLPython.vtkXMLStructuredDataReader

vtkXMLRectilinearGridReader - Read VTK XML RectilinearGrid files.

Superclass: vtkXMLStructuredDataReader

vtkXMLRectilinearGridReader reads the VTK XML RectilinearGrid file format. One rectilinear grid file can be read to produce one output.

Streaming is supported. The standard extension for this reader’s

file format is “vtr”. This reader is also used to read a single piece of the parallel file format.

@sa vtkXMLPRectilinearGridReader

Attributes

vtkXMLRectilinearGridReader.AbortExecuteOff

virtual void AbortExecuteOff()

Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.

Type:C++
vtkXMLRectilinearGridReader.AbortExecuteOn

virtual void AbortExecuteOn()

Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.

Type:C++
vtkXMLRectilinearGridReader.AddInputConnection
virtual void AddInputConnection(int port,
vtkAlgorithmOutput *input)

V.AddInputConnection(vtkAlgorithmOutput) C++: virtual void AddInputConnection(vtkAlgorithmOutput *input)

Add a connection to the given input port index. See SetInputConnection() for details on input connections. This method is the complement to RemoveInputConnection() in that it adds only the connection specified without affecting other connections. Typical usage is

  • filter2->AddInputConnection(0, filter1->GetOutputPort(0)).
Type:C++
vtkXMLRectilinearGridReader.AddInputDataObject
virtual void AddInputDataObject(int port,
vtkDataObject *data)

V.AddInputDataObject(vtkDataObject) C++: virtual void AddInputDataObject(vtkDataObject *data)

Add the data-object as an input to this given port. This will add a new input connection on the specified port without affecting any existing connections on the same input port.

Type:C++
vtkXMLRectilinearGridReader.AddObserver
unsigned long AddObserver(const char *event,
vtkCommand *command, float priority=0.0f)

Add an event callback function(vtkObject, int) for an event type. Returns a handle that can be used with RemoveEvent(int).

Type:C++
vtkXMLRectilinearGridReader.BreakOnError

static void BreakOnError()

This method is called when vtkErrorMacro executes. It allows the debugger to break on error.

Type:C++
vtkXMLRectilinearGridReader.CAN_HANDLE_PIECE_REQUEST

static vtkInformationIntegerKey *CAN_HANDLE_PIECE_REQUEST()

Key that tells the pipeline that a particular algorithm can or cannot handle piece request. If a filter cannot handle piece requests and is asked for a piece, the executive will flag an error. If a structured data source cannot handle piece requests but can produce sub-extents (CAN_PRODUCE_SUB_EXTENT), the executive will use an extent translator to split the extent into pieces. Otherwise, if a source cannot handle piece requests, the executive will ask for the whole data for piece 0 and not execute the source for other pieces.ingroup InformationKeys

Type:C++
vtkXMLRectilinearGridReader.CAN_PRODUCE_SUB_EXTENT

static vtkInformationIntegerKey *CAN_PRODUCE_SUB_EXTENT()

This key tells the executive that a particular output port is capable of producing an arbitrary subextent of the whole extent. Many image sources and readers fall into this category but some such as the legacy structured data readers cannot support this feature.ingroup InformationKeys

Type:C++
vtkXMLRectilinearGridReader.CELL_DATA = 1
vtkXMLRectilinearGridReader.CanReadFile

virtual int CanReadFile(const char *name)

Test whether the file (type) with the given name can be read by this reader. If the file has a newer version than the reader, we still say we can read the file type and we fail later, when we try to read the file. This enables clients (ParaView) to distinguish between failures when we need to look for another reader and failures when we don’t.

Type:C++
vtkXMLRectilinearGridReader.ConvertTotalInputToPortConnection
void ConvertTotalInputToPortConnection(int ind, int &port,
int &conn)

Convenience routine to convert from a linear ordering of input connections to a port/connection pair.

Type:C++
vtkXMLRectilinearGridReader.CopyOutputInformation
void CopyOutputInformation(vtkInformation *outInfo, int port)
override;

For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo

Type:C++
vtkXMLRectilinearGridReader.DEFAULT_PRECISION = 2
vtkXMLRectilinearGridReader.DOUBLE_PRECISION = 1
vtkXMLRectilinearGridReader.DebugOff

virtual void DebugOff()

Turn debugging output off.

Type:C++
vtkXMLRectilinearGridReader.DebugOn

virtual void DebugOn()

Turn debugging output on.

Type:C++
vtkXMLRectilinearGridReader.FastDelete

virtual void FastDelete()

Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.

Type:C++
vtkXMLRectilinearGridReader.GetAbortExecute

virtual int GetAbortExecute()

Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.

Type:C++
vtkXMLRectilinearGridReader.GetAddressAsString

const char *GetAddressAsString()

Get address of C++ object in format ‘Addr=%p’ after casting to the specified type. You can get the same information from o.__this__.

Type:C++
vtkXMLRectilinearGridReader.GetCellArrayName

const char *GetCellArrayName(int index)

Get the name of the point, cell or column array with the given index in the input.

Type:C++
vtkXMLRectilinearGridReader.GetCellArrayStatus

int GetCellArrayStatus(const char *name)

Get/Set whether the point, cell or column array with the given name is to be read.

Type:C++
vtkXMLRectilinearGridReader.GetCellDataArraySelection

virtual vtkDataArraySelection *GetCellDataArraySelection()

Get the data array selection tables used to configure which data arrays are loaded by the reader.

Type:C++
vtkXMLRectilinearGridReader.GetClassName

const char *GetClassName()

Return the class name as a string.

Type:C++
vtkXMLRectilinearGridReader.GetColumnArrayName

const char *GetColumnArrayName(int index)

Get the name of the point, cell or column array with the given index in the input.

Type:C++
vtkXMLRectilinearGridReader.GetColumnArraySelection

virtual vtkDataArraySelection *GetColumnArraySelection()

Get the data array selection tables used to configure which data arrays are loaded by the reader.

Type:C++
vtkXMLRectilinearGridReader.GetColumnArrayStatus

int GetColumnArrayStatus(const char *name)

Get/Set whether the point, cell or column array with the given name is to be read.

Type:C++
vtkXMLRectilinearGridReader.GetCommand

vtkCommand *GetCommand(unsigned long tag)

Allow people to add/remove/invoke observers (callbacks) to any VTK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and a vtkCommand to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. When events are invoked, the observers are called in the order they were added. If a priority value is specified, then the higher priority commands are called first. A command may set an abort flag to stop processing of the event. (See vtkCommand.h for more information.)

Type:C++
vtkXMLRectilinearGridReader.GetDebug

bool GetDebug()

Get the value of the debug flag.

Type:C++
vtkXMLRectilinearGridReader.GetErrorCode

virtual unsigned long GetErrorCode()

The error code contains a possible error that occurred while reading or writing the file.

Type:C++
vtkXMLRectilinearGridReader.GetExecutive

vtkExecutive *GetExecutive()

Get this algorithm’s executive. If it has none, a default executive will be created.

Type:C++
vtkXMLRectilinearGridReader.GetFileName

virtual char *GetFileName()

Get/Set the name of the input file.

Type:C++
vtkXMLRectilinearGridReader.GetGlobalWarningDisplay

static int GetGlobalWarningDisplay()

This is a global flag that controls whether any debug, warning or error messages are displayed.

Type:C++
vtkXMLRectilinearGridReader.GetInformation

virtual vtkInformation *GetInformation()

Set/Get the information object associated with this algorithm.

Type:C++
vtkXMLRectilinearGridReader.GetInputAlgorithm
vtkAlgorithm *GetInputAlgorithm(int port, int index,
int &algPort)

V.GetInputAlgorithm(int, int) -> vtkAlgorithm C++: vtkAlgorithm *GetInputAlgorithm(int port, int index) V.GetInputAlgorithm() -> vtkAlgorithm C++: vtkAlgorithm *GetInputAlgorithm()

Returns the algorithm and the output port index of that algorithm connected to a port-index pair.

Type:C++
vtkXMLRectilinearGridReader.GetInputArrayInformation

vtkInformation *GetInputArrayInformation(int idx)

Get the info object for the specified input array to this algorithm

Type:C++
vtkXMLRectilinearGridReader.GetInputConnection

vtkAlgorithmOutput *GetInputConnection(int port, int index)

Get the algorithm output port connected to an input port.

Type:C++
vtkXMLRectilinearGridReader.GetInputDataObject

vtkDataObject *GetInputDataObject(int port, int connection)

Get the data object that will contain the algorithm input for the given port and given connection.

Type:C++
vtkXMLRectilinearGridReader.GetInputExecutive

vtkExecutive *GetInputExecutive(int port, int index) V.GetInputExecutive() -> vtkExecutive C++: vtkExecutive *GetInputExecutive()

Returns the executive associated with a particular input connection.

Type:C++
vtkXMLRectilinearGridReader.GetInputInformation

vtkInformation *GetInputInformation(int port, int index) V.GetInputInformation() -> vtkInformation C++: vtkInformation *GetInputInformation()

Return the information object that is associated with a particular input connection. This can be used to get meta-data coming from the REQUEST_INFORMATION pass and set requests for the REQUEST_UPDATE_EXTENT pass. NOTE: Do not use this in any of the pipeline passes. Use the information objects passed as arguments instead.

Type:C++
vtkXMLRectilinearGridReader.GetInputPortInformation

vtkInformation *GetInputPortInformation(int port)

Get the information object associated with an input port. There is one input port per kind of input to the algorithm. Each input port tells executives what kind of data and downstream requests this algorithm can handle for that input.

Type:C++
vtkXMLRectilinearGridReader.GetMTime

virtual vtkMTimeType GetMTime()

Return this object’s modified time.

Type:C++
vtkXMLRectilinearGridReader.GetNumberOfCellArrays

int GetNumberOfCellArrays()

Get the number of point, cell or column arrays available in the input.

Type:C++
vtkXMLRectilinearGridReader.GetNumberOfCells

vtkIdType GetNumberOfCells() override;

Get the number of cells in the output.

Type:C++
vtkXMLRectilinearGridReader.GetNumberOfColumnArrays

int GetNumberOfColumnArrays()

Get the number of point, cell or column arrays available in the input.

Type:C++
vtkXMLRectilinearGridReader.GetNumberOfInputConnections

int GetNumberOfInputConnections(int port)

Get the number of inputs currently connected to a port.

Type:C++
vtkXMLRectilinearGridReader.GetNumberOfInputPorts

int GetNumberOfInputPorts()

Get the number of input ports used by the algorithm.

Type:C++
vtkXMLRectilinearGridReader.GetNumberOfOutputPorts

int GetNumberOfOutputPorts()

Get the number of output ports provided by the algorithm.

Type:C++
vtkXMLRectilinearGridReader.GetNumberOfPointArrays

int GetNumberOfPointArrays()

Get the number of point, cell or column arrays available in the input.

Type:C++
vtkXMLRectilinearGridReader.GetNumberOfPoints

vtkIdType GetNumberOfPoints() override;

Get the number of points in the output.

Type:C++
vtkXMLRectilinearGridReader.GetNumberOfTimeSteps

virtual int GetNumberOfTimeSteps()

Type:C++
vtkXMLRectilinearGridReader.GetOutput

vtkRectilinearGrid *GetOutput() V.GetOutput(int) -> vtkRectilinearGrid C++: vtkRectilinearGrid *GetOutput(int idx)

Get the reader’s output.

Type:C++
vtkXMLRectilinearGridReader.GetOutputAsDataSet

vtkDataSet *GetOutputAsDataSet() V.GetOutputAsDataSet(int) -> vtkDataSet C++: vtkDataSet *GetOutputAsDataSet(int index)

Get the output as a vtkDataSet pointer.

Type:C++
vtkXMLRectilinearGridReader.GetOutputDataObject

vtkDataObject *GetOutputDataObject(int port)

Get the data object that will contain the algorithm output for the given port.

Type:C++
vtkXMLRectilinearGridReader.GetOutputInformation

vtkInformation *GetOutputInformation(int port)

Return the information object that is associated with a particular output port. This can be used to set meta-data coming during the REQUEST_INFORMATION. NOTE: Do not use this in any of the pipeline passes. Use the information objects passed as arguments instead.

Type:C++
vtkXMLRectilinearGridReader.GetOutputPort

vtkAlgorithmOutput *GetOutputPort(int index) V.GetOutputPort() -> vtkAlgorithmOutput C++: vtkAlgorithmOutput *GetOutputPort()

Get a proxy object corresponding to the given output port of this algorithm. The proxy object can be passed to another algorithm’s SetInputConnection(), AddInputConnection(), and RemoveInputConnection() methods to modify pipeline connectivity.

Type:C++
vtkXMLRectilinearGridReader.GetOutputPortInformation

vtkInformation *GetOutputPortInformation(int port)

Get the information object associated with an output port. There is one output port per output from the algorithm. Each output port tells executives what kind of upstream requests this algorithm can handle for that output.

Type:C++
vtkXMLRectilinearGridReader.GetParserErrorObserver

virtual vtkCommand *GetParserErrorObserver()

Set/get the ErrorObserver for the internal xml parser This is useful for applications that want to catch error messages.

Type:C++
vtkXMLRectilinearGridReader.GetPointArrayName

const char *GetPointArrayName(int index)

Get the name of the point, cell or column array with the given index in the input.

Type:C++
vtkXMLRectilinearGridReader.GetPointArrayStatus

int GetPointArrayStatus(const char *name)

Get/Set whether the point, cell or column array with the given name is to be read.

Type:C++
vtkXMLRectilinearGridReader.GetPointDataArraySelection

virtual vtkDataArraySelection *GetPointDataArraySelection()

Get the data array selection tables used to configure which data arrays are loaded by the reader.

Type:C++
vtkXMLRectilinearGridReader.GetProgress

virtual double GetProgress()

Set/Get the execution progress of a process object.

Type:C++
vtkXMLRectilinearGridReader.GetProgressMaxValue

virtual double GetProgressMaxValue()

Set/Get the execution progress of a process object.

Type:C++
vtkXMLRectilinearGridReader.GetProgressMinValue

virtual double GetProgressMinValue()

Set/Get the execution progress of a process object.

Type:C++
vtkXMLRectilinearGridReader.GetProgressObserver

virtual vtkProgressObserver *GetProgressObserver()

If an ProgressObserver is set, the algorithm will report progress through it rather than directly. This means that it will call UpdateProgress() on the ProgressObserver rather than itself report it and set progress. This is most useful in situations where multiple threads are executing an algorithm at the same time and want to handle progress locally.

Type:C++
vtkXMLRectilinearGridReader.GetProgressText

virtual char *GetProgressText()

Set the current text message associated with the progress state. This may be used by a calling process/GUI. Note: Because SetProgressText() is called from inside RequestData() it does not modify the algorithm object. Algorithms are not allowed to modify themselves from inside RequestData().

Type:C++
vtkXMLRectilinearGridReader.GetReadFromInputString

virtual int GetReadFromInputString()

Enable reading from an InputString instead of the default, a file.

Type:C++
vtkXMLRectilinearGridReader.GetReaderErrorObserver

virtual vtkCommand *GetReaderErrorObserver()

Set/get the ErrorObserver for the internal reader This is useful for applications that want to catch error messages.

Type:C++
vtkXMLRectilinearGridReader.GetReferenceCount

int GetReferenceCount()

Return the current reference count of this object.

Type:C++
vtkXMLRectilinearGridReader.GetReleaseDataFlag

virtual int GetReleaseDataFlag()

Turn release data flag on or off for all output ports.

Type:C++
vtkXMLRectilinearGridReader.GetTimeStep

virtual int GetTimeStep()

Which TimeStep to read.

Type:C++
vtkXMLRectilinearGridReader.GetTimeStepRange

int *GetTimeStepRange()

Type:C++
vtkXMLRectilinearGridReader.GetTotalNumberOfInputConnections

int GetTotalNumberOfInputConnections()

Get the total number of inputs for this algorithm

Type:C++
vtkXMLRectilinearGridReader.GetUpdateExtent

int *GetUpdateExtent() V.GetUpdateExtent(int) -> (int, int, int, int, int, int) C++: int *GetUpdateExtent(int port) V.GetUpdateExtent(int, int, int, int, int, int) C++: void GetUpdateExtent(int &x0, int &x1, int &y0, int &y1,

int &z0, int &z1)

V.GetUpdateExtent(int, int, int, int, int, int, int) C++: void GetUpdateExtent(int port, int &x0, int &x1, int &y0,

int &y1, int &z0, int &z1)

V.GetUpdateExtent([int, int, int, int, int, int]) C++: void GetUpdateExtent(int extent[6]) V.GetUpdateExtent(int, [int, int, int, int, int, int]) C++: void GetUpdateExtent(int port, int extent[6])

These functions return the update extent for output ports that use 3D extents. Where port is not specified, it is assumed to be 0.

Type:C++
vtkXMLRectilinearGridReader.GetUpdateGhostLevel

int GetUpdateGhostLevel() V.GetUpdateGhostLevel(int) -> int C++: int GetUpdateGhostLevel(int port)

These functions return the update extent for output ports that use piece extents. Where port is not specified, it is assumed to be 0.

Type:C++
vtkXMLRectilinearGridReader.GetUpdateNumberOfPieces

int GetUpdateNumberOfPieces() V.GetUpdateNumberOfPieces(int) -> int C++: int GetUpdateNumberOfPieces(int port)

These functions return the update extent for output ports that use piece extents. Where port is not specified, it is assumed to be 0.

Type:C++
vtkXMLRectilinearGridReader.GetUpdatePiece

int GetUpdatePiece() V.GetUpdatePiece(int) -> int C++: int GetUpdatePiece(int port)

These functions return the update extent for output ports that use piece extents. Where port is not specified, it is assumed to be 0.

Type:C++
vtkXMLRectilinearGridReader.GetWholeSlices

virtual int GetWholeSlices()

Get/Set whether the reader gets a whole slice from disk when only a rectangle inside it is needed. This mode reads more data than necessary, but prevents many short reads from interacting poorly with the compression and encoding schemes.

Type:C++
vtkXMLRectilinearGridReader.GetXMLParser

vtkXMLDataParser *GetXMLParser()

Returns the internal XML parser. This can be used to access the XML DOM after RequestInformation() was called.

Type:C++
vtkXMLRectilinearGridReader.GlobalWarningDisplayOff

static void GlobalWarningDisplayOff()

This is a global flag that controls whether any debug, warning or error messages are displayed.

Type:C++
vtkXMLRectilinearGridReader.GlobalWarningDisplayOn

static void GlobalWarningDisplayOn()

This is a global flag that controls whether any debug, warning or error messages are displayed.

Type:C++
vtkXMLRectilinearGridReader.HasExecutive

int HasExecutive()

Check whether this algorithm has an assigned executive. This will NOT create a default executive.

Type:C++
vtkXMLRectilinearGridReader.HasObserver

int HasObserver(unsigned long event, vtkCommand *) V.HasObserver(string, vtkCommand) -> int C++: int HasObserver(const char *event, vtkCommand *) V.HasObserver(int) -> int C++: int HasObserver(unsigned long event) V.HasObserver(string) -> int C++: int HasObserver(const char *event)

Allow people to add/remove/invoke observers (callbacks) to any VTK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and a vtkCommand to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. When events are invoked, the observers are called in the order they were added. If a priority value is specified, then the higher priority commands are called first. A command may set an abort flag to stop processing of the event. (See vtkCommand.h for more information.)

Type:C++
vtkXMLRectilinearGridReader.INPUT_ARRAYS_TO_PROCESS
static vtkInformationInformationVectorKey *INPUT_ARRAYS_TO_PROCESS(
)

ingroup InformationKeys

Type:C++
vtkXMLRectilinearGridReader.INPUT_CONNECTION

static vtkInformationIntegerKey *INPUT_CONNECTION()

ingroup InformationKeys

Type:C++
vtkXMLRectilinearGridReader.INPUT_IS_OPTIONAL

static vtkInformationIntegerKey *INPUT_IS_OPTIONAL()

Keys used to specify input port requirements.ingroup InformationKeys

Type:C++
vtkXMLRectilinearGridReader.INPUT_IS_REPEATABLE

static vtkInformationIntegerKey *INPUT_IS_REPEATABLE()

ingroup InformationKeys

Type:C++
vtkXMLRectilinearGridReader.INPUT_PORT

static vtkInformationIntegerKey *INPUT_PORT()

ingroup InformationKeys

Type:C++
vtkXMLRectilinearGridReader.INPUT_REQUIRED_DATA_TYPE
static vtkInformationStringVectorKey *INPUT_REQUIRED_DATA_TYPE(
)

ingroup InformationKeys

Type:C++
vtkXMLRectilinearGridReader.INPUT_REQUIRED_FIELDS
static vtkInformationInformationVectorKey *INPUT_REQUIRED_FIELDS(
)

ingroup InformationKeys

Type:C++
vtkXMLRectilinearGridReader.InitializeObjectBase

void InitializeObjectBase()

Type:C++
vtkXMLRectilinearGridReader.InvokeEvent

int InvokeEvent(unsigned long event, void *callData) V.InvokeEvent(string, void) -> int C++: int InvokeEvent(const char *event, void *callData) V.InvokeEvent(int) -> int C++: int InvokeEvent(unsigned long event) V.InvokeEvent(string) -> int C++: int InvokeEvent(const char *event)

This method invokes an event and return whether the event was aborted or not. If the event was aborted, the return value is 1, otherwise it is 0.

Type:C++
vtkXMLRectilinearGridReader.IsA

vtkTypeBool IsA(const char *type) override;

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.

Type:C++
vtkXMLRectilinearGridReader.IsTypeOf

static vtkTypeBool IsTypeOf(const char *type)

Return 1 if this class type 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.

Type:C++
vtkXMLRectilinearGridReader.Modified

virtual void Modified()

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.

Type:C++
vtkXMLRectilinearGridReader.ModifyRequest

virtual int ModifyRequest(vtkInformation *request, int when)

This method gives the algorithm a chance to modify the contents of a request before or after (specified in the when argument) it is forwarded. The default implementation is empty. Returns 1 on success, 0 on failure. When can be either vtkExecutive::BeforeForward or vtkExecutive::AfterForward.

Type:C++
vtkXMLRectilinearGridReader.NewInstance

vtkXMLRectilinearGridReader *NewInstance()

Type:C++
vtkXMLRectilinearGridReader.OTHER = 2
vtkXMLRectilinearGridReader.POINT_DATA = 0
vtkXMLRectilinearGridReader.ProcessRequest
V.ProcessRequest(vtkInformation, vtkCollection,
vtkInformationVector) -> int
C++: int ProcessRequest(vtkInformation *request,
vtkCollection *inInfo, vtkInformationVector *outInfo)

Version of ProcessRequest() that is wrapped. This converts the collection to an array and calls the other version.

vtkXMLRectilinearGridReader.PropagateUpdateExtent

virtual void PropagateUpdateExtent()

Propagate meta-data upstream.

Type:C++
vtkXMLRectilinearGridReader.ReadFromInputStringOff

virtual void ReadFromInputStringOff()

Enable reading from an InputString instead of the default, a file.

Type:C++
vtkXMLRectilinearGridReader.ReadFromInputStringOn

virtual void ReadFromInputStringOn()

Enable reading from an InputString instead of the default, a file.

Type:C++
vtkXMLRectilinearGridReader.Register

virtual void Register(vtkObjectBase *o)

Increase the reference count by 1.

Type:C++
vtkXMLRectilinearGridReader.ReleaseDataFlagOff

void ReleaseDataFlagOff()

Turn release data flag on or off for all output ports.

Type:C++
vtkXMLRectilinearGridReader.ReleaseDataFlagOn

void ReleaseDataFlagOn()

Turn release data flag on or off for all output ports.

Type:C++
vtkXMLRectilinearGridReader.RemoveAllInputConnections

virtual void RemoveAllInputConnections(int port)

Removes all input connections.

Type:C++
vtkXMLRectilinearGridReader.RemoveAllInputs

void RemoveAllInputs()

Remove all the input data.

Type:C++
vtkXMLRectilinearGridReader.RemoveAllObservers

void RemoveAllObservers()

Type:C++
vtkXMLRectilinearGridReader.RemoveInputConnection
virtual void RemoveInputConnection(int port,
vtkAlgorithmOutput *input)

V.RemoveInputConnection(int, int) C++: virtual void RemoveInputConnection(int port, int idx)

Remove a connection from the given input port index. See SetInputConnection() for details on input connection. This method is the complement to AddInputConnection() in that it removes only the connection specified without affecting other connections. Typical usage is

  • filter2->RemoveInputConnection(0, filter1->GetOutputPort(0)).
Type:C++
vtkXMLRectilinearGridReader.RemoveObserver

void RemoveObserver(vtkCommand *) V.RemoveObserver(int) C++: void RemoveObserver(unsigned long tag)

Allow people to add/remove/invoke observers (callbacks) to any VTK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and a vtkCommand to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. When events are invoked, the observers are called in the order they were added. If a priority value is specified, then the higher priority commands are called first. A command may set an abort flag to stop processing of the event. (See vtkCommand.h for more information.)

Type:C++
vtkXMLRectilinearGridReader.RemoveObservers

void RemoveObservers(unsigned long event, vtkCommand *) V.RemoveObservers(string, vtkCommand) C++: void RemoveObservers(const char *event, vtkCommand *) V.RemoveObservers(int) C++: void RemoveObservers(unsigned long event) V.RemoveObservers(string) C++: void RemoveObservers(const char *event)

Allow people to add/remove/invoke observers (callbacks) to any VTK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and a vtkCommand to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. When events are invoked, the observers are called in the order they were added. If a priority value is specified, then the higher priority commands are called first. A command may set an abort flag to stop processing of the event. (See vtkCommand.h for more information.)

Type:C++
vtkXMLRectilinearGridReader.SINGLE_PRECISION = 0
vtkXMLRectilinearGridReader.SafeDownCast

static vtkXMLRectilinearGridReader *SafeDownCast( vtkObjectBase *o)

Type:C++
vtkXMLRectilinearGridReader.SetAbortExecute

virtual void SetAbortExecute(int _arg)

Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.

Type:C++
vtkXMLRectilinearGridReader.SetCellArrayStatus

void SetCellArrayStatus(const char *name, int status)

Get/Set whether the point, cell or column array with the given name is to be read.

Type:C++
vtkXMLRectilinearGridReader.SetColumnArrayStatus

void SetColumnArrayStatus(const char *name, int status)

Get/Set whether the point, cell or column array with the given name is to be read.

Type:C++
vtkXMLRectilinearGridReader.SetDebug

void SetDebug(bool debugFlag)

Set the value of the debug flag. A true value turns debugging on.

Type:C++
vtkXMLRectilinearGridReader.SetDefaultExecutivePrototype

static void SetDefaultExecutivePrototype(vtkExecutive *proto)

If the DefaultExecutivePrototype is set, a copy of it is created in CreateDefaultExecutive() using NewInstance().

Type:C++
vtkXMLRectilinearGridReader.SetExecutive

virtual void SetExecutive(vtkExecutive *executive)

Set this algorithm’s executive. This algorithm is removed from any executive to which it has previously been assigned and then assigned to the given executive.

Type:C++
vtkXMLRectilinearGridReader.SetFileName

virtual void SetFileName(const char *_arg)

Get/Set the name of the input file.

Type:C++
vtkXMLRectilinearGridReader.SetGlobalWarningDisplay

static void SetGlobalWarningDisplay(int val)

This is a global flag that controls whether any debug, warning or error messages are displayed.

Type:C++
vtkXMLRectilinearGridReader.SetInformation

virtual void SetInformation(vtkInformation *)

Set/Get the information object associated with this algorithm.

Type:C++
vtkXMLRectilinearGridReader.SetInputArrayToProcess
virtual void SetInputArrayToProcess(int idx, int port,
int connection, int fieldAssociation, const char *name)

V.SetInputArrayToProcess(int, int, int, int, int) C++: virtual void SetInputArrayToProcess(int idx, int port,

int connection, int fieldAssociation, int fieldAttributeType)

V.SetInputArrayToProcess(int, vtkInformation) C++: virtual void SetInputArrayToProcess(int idx,

vtkInformation *info)

V.SetInputArrayToProcess(int, int, int, string, string) C++: virtual void SetInputArrayToProcess(int idx, int port,

int connection, const char *fieldAssociation, const char *attributeTypeorName)

Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.

Type:C++
vtkXMLRectilinearGridReader.SetInputConnection
virtual void SetInputConnection(int port,
vtkAlgorithmOutput *input)

V.SetInputConnection(vtkAlgorithmOutput) C++: virtual void SetInputConnection(vtkAlgorithmOutput *input)

Set the connection for the given input port index. Each input port of a filter has a specific purpose. A port may have zero or more connections and the required number is specified by each filter. Setting the connection with this method removes all other connections from the port. To add more than one connection use AddInputConnection().

  • The input for the connection is the output port of another
  • filter, which is obtained with GetOutputPort(). Typical usage is
  • filter2->SetInputConnection(0, filter1->GetOutputPort(0)).
Type:C++
vtkXMLRectilinearGridReader.SetInputDataObject
virtual void SetInputDataObject(int port,
vtkDataObject *data)

V.SetInputDataObject(vtkDataObject) C++: virtual void SetInputDataObject(vtkDataObject *data)

Sets the data-object as an input on the given port index. Setting the input with this method removes all other connections from the port. Internally, this method creates a vtkTrivialProducer instance and sets that as the input-connection for the given port. It is safe to call this method repeatedly with the same input data object. The MTime of the vtkAlgorithm will not change unless the data object changed.

Type:C++
vtkXMLRectilinearGridReader.SetInputString

void SetInputString(const std::string &s)

Enable reading from an InputString instead of the default, a file.

Type:C++
vtkXMLRectilinearGridReader.SetParserErrorObserver

void SetParserErrorObserver(vtkCommand *)

Set/get the ErrorObserver for the internal xml parser This is useful for applications that want to catch error messages.

Type:C++
vtkXMLRectilinearGridReader.SetPointArrayStatus

void SetPointArrayStatus(const char *name, int status)

Get/Set whether the point, cell or column array with the given name is to be read.

Type:C++
vtkXMLRectilinearGridReader.SetProgress

virtual void SetProgress(double _arg)

Set/Get the execution progress of a process object.

Type:C++
vtkXMLRectilinearGridReader.SetProgressObserver

void SetProgressObserver(vtkProgressObserver *)

If an ProgressObserver is set, the algorithm will report progress through it rather than directly. This means that it will call UpdateProgress() on the ProgressObserver rather than itself report it and set progress. This is most useful in situations where multiple threads are executing an algorithm at the same time and want to handle progress locally.

Type:C++
vtkXMLRectilinearGridReader.SetProgressText

void SetProgressText(const char *ptext)

Set the current text message associated with the progress state. This may be used by a calling process/GUI. Note: Because SetProgressText() is called from inside RequestData() it does not modify the algorithm object. Algorithms are not allowed to modify themselves from inside RequestData().

Type:C++
vtkXMLRectilinearGridReader.SetReadFromInputString

virtual void SetReadFromInputString(int _arg)

Enable reading from an InputString instead of the default, a file.

Type:C++
vtkXMLRectilinearGridReader.SetReaderErrorObserver

void SetReaderErrorObserver(vtkCommand *)

Set/get the ErrorObserver for the internal reader This is useful for applications that want to catch error messages.

Type:C++
vtkXMLRectilinearGridReader.SetReferenceCount

void SetReferenceCount(int)

Sets the reference count. (This is very dangerous, use with care.)

Type:C++
vtkXMLRectilinearGridReader.SetReleaseDataFlag

virtual void SetReleaseDataFlag(int)

Turn release data flag on or off for all output ports.

Type:C++
vtkXMLRectilinearGridReader.SetTimeStep

virtual void SetTimeStep(int _arg)

Which TimeStep to read.

Type:C++
vtkXMLRectilinearGridReader.SetTimeStepRange

void SetTimeStepRange(int, int) V.SetTimeStepRange((int, int)) C++: void SetTimeStepRange(int a[2])

Type:C++
vtkXMLRectilinearGridReader.SetWholeSlices

virtual void SetWholeSlices(int _arg)

Get/Set whether the reader gets a whole slice from disk when only a rectangle inside it is needed. This mode reads more data than necessary, but prevents many short reads from interacting poorly with the compression and encoding schemes.

Type:C++
vtkXMLRectilinearGridReader.UnRegister

virtual void UnRegister(vtkObjectBase *o)

Decrease the reference count (release by another object). This has the same effect as invoking Delete() (i.e., it reduces the reference count by 1).

Type:C++
vtkXMLRectilinearGridReader.Update

virtual void Update(int port) V.Update() C++: virtual void Update() V.Update(int, vtkInformationVector) -> int C++: virtual int Update(int port, vtkInformationVector *requests) V.Update(vtkInformation) -> int C++: virtual int Update(vtkInformation *requests)

Bring this algorithm’s outputs up-to-date.

Type:C++
vtkXMLRectilinearGridReader.UpdateDataObject

virtual void UpdateDataObject()

Create output object(s).

Type:C++
vtkXMLRectilinearGridReader.UpdateExtent

virtual int UpdateExtent(const int extents[6])

Convenience method to update an algorithm after passing requests to its first output port. Supports extent request.

Type:C++
vtkXMLRectilinearGridReader.UpdateExtentIsEmpty
int UpdateExtentIsEmpty(vtkInformation *pinfo,
vtkDataObject *output)

V.UpdateExtentIsEmpty(vtkInformation, int) -> int C++: int UpdateExtentIsEmpty(vtkInformation *pinfo,

int extentType)

This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,…) or the UpdateNumberOfPieces is 0. The source uses this call to determine whether to call Execute.

Type:C++
vtkXMLRectilinearGridReader.UpdateInformation

virtual void UpdateInformation()

Bring the algorithm’s information up-to-date.

Type:C++
vtkXMLRectilinearGridReader.UpdatePiece

-> int C++: virtual int UpdatePiece(int piece, int numPieces,

int ghostLevels, const int extents[6]=nullptr)

Convenience method to update an algorithm after passing requests to its first output port. See documentation for Update(int port, vtkInformationVector* requests) for details. Supports piece and extent (optional) requests.

vtkXMLRectilinearGridReader.UpdateProgress

void UpdateProgress(double amount)

Update the progress of the process object. If a ProgressMethod exists, executes it. Then set the Progress ivar to amount. The parameter amount should range between (0,1).

Type:C++
vtkXMLRectilinearGridReader.UpdateTimeStep
V.UpdateTimeStep(float, int, int, int, (int, int, int, int, int,
int)) -> int
C++: virtual int UpdateTimeStep(double time, int piece=-1,
int numPieces=1, int ghostLevels=0, const int extents[6]=nullptr)

Convenience method to update an algorithm after passing requests to its first output port. See documentation for Update(int port, vtkInformationVector* requests) for details. Supports time, piece (optional) and extent (optional) requests.

vtkXMLRectilinearGridReader.UpdateWholeExtent

virtual void UpdateWholeExtent()

Bring this algorithm’s outputs up-to-date.

Type:C++
vtkXMLRectilinearGridReader.WholeSlicesOff

virtual void WholeSlicesOff()

Get/Set whether the reader gets a whole slice from disk when only a rectangle inside it is needed. This mode reads more data than necessary, but prevents many short reads from interacting poorly with the compression and encoding schemes.

Type:C++
vtkXMLRectilinearGridReader.WholeSlicesOn

virtual void WholeSlicesOn()

Get/Set whether the reader gets a whole slice from disk when only a rectangle inside it is needed. This mode reads more data than necessary, but prevents many short reads from interacting poorly with the compression and encoding schemes.

Type:C++

Methods