3232#include < Core/IEPlugin/SimpleTextFileToMatrix_Plugin.h>
3333#include < Core/IEPlugin/PointCloudField_Plugin.h>
3434#include < Core/IEPlugin/CurveField_Plugin.h>
35+ #include < Core/IEPlugin/TriSurfField_Plugin.h>
3536#include < Core/ImportExport/Field/FieldIEPlugin.h>
3637#include < Core/ImportExport/Matrix/MatrixIEPlugin.h>
3738#include < Core/IEPlugin/IEPluginInit.h>
@@ -44,10 +45,10 @@ void IEPluginManager::Initialize()
4445 static FieldIEPluginLegacyAdapter ObjToField_plugin (" ObjToField" , " *.obj" , " " , ObjToField_reader, FieldToObj_writer);
4546
4647 static FieldIEPluginLegacyAdapter NrrdToField_plugin (" NrrdFile" ," *.nhdr *.nrrd" , " *.nrrd" , NrrdToField_reader, FieldToNrrd_writer);
47- static FieldIEPluginLegacyAdapter NodalNrrdToField_plugin (" NrrdFile[DataOnNodes]" ," *.nhdr *.nrrd" , " " , Nodal_NrrdToField_reader, 0 );
48- static FieldIEPluginLegacyAdapter ModalNrrdToField_plugin (" NrrdFile[DataOnElements]" ," *.nhdr *.nrrd" , " " , Modal_NrrdToField_reader, 0 );
49- static FieldIEPluginLegacyAdapter IPNodalNrrdToField_plugin (" NrrdFile[DataOnNodes,InvertParity]" ," *.nhdr *.nrrd" , " " , IPNodal_NrrdToField_reader, 0 );
50- static FieldIEPluginLegacyAdapter IPModalNrrdToField_plugin (" NrrdFile[DataOnElements,InvertParity]" ," *.nhdr *.nrrd" , " " , IPModal_NrrdToField_reader, 0 );
48+ static FieldIEPluginLegacyAdapter NodalNrrdToField_plugin (" NrrdFile[DataOnNodes]" ," *.nhdr *.nrrd" , " " , Nodal_NrrdToField_reader, nullptr );
49+ static FieldIEPluginLegacyAdapter ModalNrrdToField_plugin (" NrrdFile[DataOnElements]" ," *.nhdr *.nrrd" , " " , Modal_NrrdToField_reader, nullptr );
50+ static FieldIEPluginLegacyAdapter IPNodalNrrdToField_plugin (" NrrdFile[DataOnNodes,InvertParity]" ," *.nhdr *.nrrd" , " " , IPNodal_NrrdToField_reader, nullptr );
51+ static FieldIEPluginLegacyAdapter IPModalNrrdToField_plugin (" NrrdFile[DataOnElements,InvertParity]" ," *.nhdr *.nrrd" , " " , IPModal_NrrdToField_reader, nullptr );
5152
5253 static FieldIEPluginLegacyAdapter MatlabField_plugin (" Matlab Field" , " *.mat" , " *.mat" , MatlabField_reader, MatlabField_writer);
5354
@@ -60,4 +61,13 @@ void IEPluginManager::Initialize()
6061 static FieldIEPluginLegacyAdapter PointCloudField_plugin (" PointCloudField" , " *.pts *.pos *.txt" , " " , TextToPointCloudField_reader, PointCloudFieldToText_writer);
6162
6263 static FieldIEPluginLegacyAdapter CurveField_plugin (" CurveField" , " *.pts *.pos *.edge" , " " , TextToCurveField_reader, CurveFieldToTextBaseIndexZero_writer);
64+
65+ static FieldIEPluginLegacyAdapter TriSurfField_plugin (" TriSurfField" , " *.fac *.tri *.pts *.pos" , " " , TextToTriSurfField_reader, TriSurfFieldToTextBaseIndexZero_writer);
66+ static FieldIEPluginLegacyAdapter TriSurfFieldBaseIndexOne_plugin (" TriSurfField[BaseIndex 1]" , " *.fac *.pts" , " " , nullptr , TriSurfFieldToTextBaseIndexOne_writer);
67+ static FieldIEPluginLegacyAdapter CVRTI_FacPtsFileToTriSurf_plugin (" CVRTI_FacPtsFileToTriSurf" , " *.fac *.tri *.pts *.pos" , " " , TextToTriSurfField_reader, TriSurfFieldToTextBaseIndexZero_writer);
68+ static FieldIEPluginLegacyAdapter TriSurfFieldToM_plugin (" TriSurfFieldToM" , " *.m" , " " , MToTriSurfField_reader, TriSurfFieldToM_writer);
69+ static FieldIEPluginLegacyAdapter TriSurfFieldVtk_plugin (" TriSurfFieldToVtk" , " *.vtk" , " " , nullptr , TriSurfFieldToVtk_writer);
70+ static FieldIEPluginLegacyAdapter VtkFromTriSurfField_plugin (" VtkToTriSurfField" , " *.vtk" , " " , VtkToTriSurfField_reader, nullptr );
71+ static FieldIEPluginLegacyAdapter TriSurfFieldToExotxt_plugin (" TriSurfFieldToExotxt" , " *.ex2" , " " , nullptr , TriSurfFieldToExotxt_writer);
72+ static FieldIEPluginLegacyAdapter TriSurfFieldToExotxtBaseIndexOne_plugin (" TriSurfFieldToExotxt[BaseIndex 1]" , " *.ex2" , " " , nullptr , TriSurfFieldToExotxtBaseIndexOne_writer);
6373}
0 commit comments