VTK  9.1.0
Namespaces | Functions
OMFHelpers.h File Reference
#include "vtk_jsoncpp_fwd.h"
#include <string>
#include <vector>
Include dependency graph for OMFHelpers.h:

Go to the source code of this file.

Namespaces

namespace  omf
 
namespace  omf::helper
 

Functions

void omf::helper::PrintMemberNames (const Json::Value &root)
 print names of members of root.
 
bool omf::helper::GetPointFromJSON (const Json::Value &pointJSON, double point[3])
 read a 3d point stored directly in JSON
 
bool omf::helper::GetIntValue (const Json::Value &root, int &value)
 Get int value from Json variable, with existence and type checks.
 
bool omf::helper::GetUIntValue (const Json::Value &root, unsigned int &value)
 Get int value from Json variable, with existence and type checks.
 
bool omf::helper::GetDoubleValue (const Json::Value &root, double &value)
 Get double value from Json variable, with existence and type checks.
 
bool omf::helper::GetStringValue (const Json::Value &root, std::string &value)
 Get string value from Json variable, with existence and type checks.
 
bool omf::helper::GetBoolValue (const Json::Value &root, bool &value)
 Get bool value from Json variable, with existence and type checks.
 
bool omf::helper::GetIntArray (const Json::Value &root, std::vector< int > &value)
 Get int array from Json variable, with existence and type checks.
 
bool omf::helper::GetUIntArray (const Json::Value &root, std::vector< unsigned int > &value)
 Get int array from Json variable, with existence and type checks.
 
bool omf::helper::GetFloatArray (const Json::Value &root, std::vector< float > &value)
 Get float array from Json variable, with existence and type checks.
 
bool omf::helper::GetDoubleArray (const Json::Value &root, std::vector< double > &value)
 Get double array from Json variable, with existence and type checks.