23 #ifndef __vtkMRMLTableStorageNode_h 24 #define __vtkMRMLTableStorageNode_h 49 void PrintSelf(ostream& os, vtkIndent indent)
override;
60 virtual void SetSchemaFileName(
const char* schemaFileName);
61 virtual std::string GetSchemaFileName();
64 std::string FindSchemaFileName(
const char* fileName);
68 vtkSetMacro(AutoFindSchema,
bool);
69 vtkGetMacro(AutoFindSchema,
bool);
70 vtkBooleanMacro(AutoFindSchema,
bool);
90 std::string GenerateSchemaFileName(
const char* fileName);
92 virtual std::string GetFieldDelimiterCharacters(std::string filename);
99 int ScalarType = VTK_STRING;
108 std::vector<ColumnInfo> GetColumnInfo(
vtkMRMLTableNode* tableNode, vtkTable* rawTable);
111 void FillDataFromStringArray(vtkStringArray* stringComponentArray, vtkDataArray* dataArray, std::string nullValueString=
"");
vtkMRMLNode * CreateNodeInstance() override=0
Create instance of the default node. Like New only virtual.
virtual int ReadDataInternal(vtkMRMLNode *refNode)
virtual void InitializeSupportedReadFileTypes()
void operator=(const vtkMRMLStorageNode &)
std::string NullValueString
void PrintSelf(ostream &os, vtkIndent indent) override
A superclass for other storage nodes.
virtual void InitializeSupportedWriteFileTypes()
std::vector< vtkAbstractArray * > RawComponentArrays
MRML node to represent a table object.
virtual int WriteDataInternal(vtkMRMLNode *refNode)
std::vector< std::string > ComponentNames
Abstract Superclass for all specific types of MRML nodes.
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0
MRML node for handling Table node storage.