VTK  9.1.0
Public Member Functions | List of all members
omf::OMFFile Struct Reference

#include <OMFFile.h>

Public Member Functions

 OMFFile ()
 
 ~OMFFile ()
 
bool OpenStream (const char *filename)
 
std::string GetFileName ()
 
bool ReadHeader (std::string &uid)
 
bool ParseJSON ()
 
const Json::Value & JSONRoot ()
 
vtkSmartPointer< vtkDataArrayReadArrayFromStream (const std::string &uid, int numComponents=-1)
 
vtkSmartPointer< vtkImageDataReadPNGFromStream (const Json::Value &json)
 
std::vector< std::string > ReadStringArrayFromStream (const std::string &uid)
 

Detailed Description

Definition at line 33 of file OMFFile.h.

Constructor & Destructor Documentation

◆ OMFFile()

omf::OMFFile::OMFFile ( )

◆ ~OMFFile()

omf::OMFFile::~OMFFile ( )

Member Function Documentation

◆ OpenStream()

bool omf::OMFFile::OpenStream ( const char *  filename)

◆ GetFileName()

std::string omf::OMFFile::GetFileName ( )

◆ ReadHeader()

bool omf::OMFFile::ReadHeader ( std::string &  uid)

◆ ParseJSON()

bool omf::OMFFile::ParseJSON ( )

◆ JSONRoot()

const Json::Value & omf::OMFFile::JSONRoot ( )

◆ ReadArrayFromStream()

vtkSmartPointer< vtkDataArray > omf::OMFFile::ReadArrayFromStream ( const std::string &  uid,
int  numComponents = -1 
)

◆ ReadPNGFromStream()

vtkSmartPointer< vtkImageData > omf::OMFFile::ReadPNGFromStream ( const Json::Value &  json)

◆ ReadStringArrayFromStream()

std::vector< std::string > omf::OMFFile::ReadStringArrayFromStream ( const std::string &  uid)

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