Namespaces | Functions
vtkGenericIOUtilities.h File Reference
#include "vtkType.h"
#include <algorithm>
#include <functional>
#include <string>
#include "vtk_mpi.h"
Include dependency graph for vtkGenericIOUtilities.h:

Go to the source code of this file.

Namespaces

 gio
 
 vtkGenericIOUtilities
 

Functions

std::stringvtkGenericIOUtilities::trim (std::string &s)
 Trims leading & trailing whitespace from a string. More...
 
MPI_Comm vtkGenericIOUtilities::GetMPICommunicator (vtkMultiProcessController *mpc)
 Returns the corresponding MPI communicator for the multi-process controller used by this instance. More...
 
vtkDataArrayvtkGenericIOUtilities::GetVtkDataArray (std::string name, int type, void *rawBuffer, int N)
 This method parses the data in the rawbuffer and reads it into a vtkDataArray that can be attached as vtkPointData to a vtkDataSet, in this case, a vtkUnstructuredGrid that consists of the particles. More...
 
vtkIdType vtkGenericIOUtilities::GetIdFromRawBuffer (const int type, void *buffer, vtkIdType buffer_idx)
 This method accesses the user-supplied buffer at the given index and returns the data as a vtkIdType. More...
 
double vtkGenericIOUtilities::GetDoubleFromRawBuffer (const int type, void *buffer, vtkIdType buffer_idx)
 This method accesses the user-supplied buffer at the given index and returns the data as a double. More...
 
gio::GenericIOReader * vtkGenericIOUtilities::GetReader (MPI_Comm comm, bool posix, int distribution, const std::string &fileName)
 This method constructs and returns the underlying GenericIO reader. More...
 
gio::GenericIOWriter * vtkGenericIOUtilities::GetWriter (MPI_Comm comm, const std::string &fileName)
 This method constructs and returns the underlying GenericIO writer. More...
 
std::stringvtkGenericIOUtilities::ltrim (std::string &s)
 Trims leading whitespace from a string. More...
 
std::stringvtkGenericIOUtilities::rtrim (std::string &s)
 Trims trailing whitespace from a string. More...
 
void vtkGenericIOUtilities::SafeDeleteString (char *&str)
 If the pointer given is non-nullptr this function deletes the string and set the pointer to nullptr. More...