File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/Modules/Legacy/Fields Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2929// Reports the quality of each element in the mesh based on the metric that you choose.
3030
3131#include < Core/Algorithms/Legacy/Fields/MeshData/GetMeshQualityFieldAlgo.h>
32- #include < Dataflow/Network/Ports/FieldPort .h>
32+ #include < Core/Datatypes/Legacy/Field/Field .h>
3333#include < Dataflow/Network/Module.h>
3434#include < Modules/Legacy/Fields/GetMeshQualityField.h>
3535
3636using namespace SCIRun ;
3737using namespace SCIRun ::Core::Datatypes;
3838using namespace SCIRun ::Dataflow::Networks;
3939using namespace SCIRun ::Modules::Fields;
40+ using namespace SCIRun ::Core::Algorithms::Fields::Parameters;
4041
4142const ModuleLookupInfo GetMeshQualityField::staticInfo_ (" GetMeshQualityField" , " MiscField" , " SCIRun" );
4243
@@ -49,7 +50,7 @@ GetMeshQualityField::GetMeshQualityField() : Module(staticInfo_)
4950
5051void GetMeshQualityField::setStateDefaults ()
5152{
52- setStateStringFromAlgoOption (GetMeshQualityFieldAlgo:: Metric);
53+ setStateStringFromAlgoOption (Metric);
5354}
5455
5556void GetMeshQualityField::execute ()
@@ -60,7 +61,7 @@ void GetMeshQualityField::execute()
6061 {
6162 update_state (Executing);
6263
63- setAlgoOptionFromState (GetMeshQualityFieldAlgo:: Metric);
64+ setAlgoOptionFromState (Metric);
6465
6566 auto output = algo ().run (withInputData ((InputField,input)));
6667
You can’t perform that action at this time.
0 commit comments