diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ComputeKMedoids.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ComputeKMedoids.cpp index 2291e75516..591b4343f8 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ComputeKMedoids.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ComputeKMedoids.cpp @@ -18,8 +18,8 @@ class KMedoidsTemplate KMedoidsTemplate(ComputeKMedoids* filter, const IDataArray* inputIDataArray, IDataArray* medoidsIDataArray, const std::unique_ptr& maskDataArray, usize numClusters, Int32AbstractDataStore& fIds, ClusterUtilities::DistanceMetric distMetric, std::mt19937_64::result_type seed) : m_Filter(filter) - , m_InputArray(inputIDataArray->getIDataStoreRefAs>()) - , m_Medoids(medoidsIDataArray->getIDataStoreRefAs>()) + , m_InputArray(inputIDataArray->template getIDataStoreRefAs>()) + , m_Medoids(medoidsIDataArray->template getIDataStoreRefAs>()) , m_Mask(maskDataArray) , m_NumClusters(numClusters) , m_FeatureIds(fIds) diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ExtractComponentAsArray.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ExtractComponentAsArray.cpp index 12726dc980..f778c33010 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ExtractComponentAsArray.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ExtractComponentAsArray.cpp @@ -12,8 +12,8 @@ struct RemoveComponentsFunctor template void operator()(IDataArray* originalArray, IDataArray* resizedArray, usize componentIndexToRemove) // Due to logic structure originalArray cannot be const { - const auto& originalStoreRef = originalArray->getIDataStoreRefAs>(); - auto& resizedStoreRef = resizedArray->getIDataStoreRefAs>(); + const auto& originalStoreRef = originalArray->template getIDataStoreRefAs>(); + auto& resizedStoreRef = resizedArray->template getIDataStoreRefAs>(); const usize originalTupleCount = originalStoreRef.getNumberOfTuples(); const usize originalCompCount = originalStoreRef.getNumberOfComponents(); @@ -42,8 +42,8 @@ struct ExtractComponentsFunctor template void operator()(IDataArray* inputArray, IDataArray* extractedCompArray, usize componentIndexToExtract) // Due to logic structure inputArray cannot be const { - const auto& inputStoreRef = inputArray->getIDataStoreRefAs>(); - auto& extractedStoreRef = extractedCompArray->getIDataStoreRefAs>(); + const auto& inputStoreRef = inputArray->template getIDataStoreRefAs>(); + auto& extractedStoreRef = extractedCompArray->template getIDataStoreRefAs>(); const usize inputTupleCount = inputStoreRef.getNumberOfTuples(); const usize inputCompCount = inputStoreRef.getNumberOfComponents(); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ExtractVertexGeometry.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ExtractVertexGeometry.cpp index 4e6de1ad0a..a7473daece 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ExtractVertexGeometry.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ExtractVertexGeometry.cpp @@ -25,7 +25,7 @@ struct CopyDataFunctor template void operator()(const IDataArray* srcIArray, IDataArray* destIArray, const std::vector& maskArray) { - const auto& srcArray = srcIArray->getIDataStoreRefAs>(); + const auto& srcArray = srcIArray->template getIDataStoreRefAs>(); auto& destArray = destIArray->getIDataStoreRefAs>(); bool useMask = !maskArray.empty(); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/FillBadData.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/FillBadData.cpp index 7439536db8..30e15e25a1 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/FillBadData.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/FillBadData.cpp @@ -41,7 +41,7 @@ struct FillBadDataUpdateTuplesFunctor template void operator()(const Int32AbstractDataStore& featureIds, IDataArray* outputIDataArray, const std::vector& neighbors) { - auto& outputStore = outputIDataArray->getIDataStoreRefAs>(); + auto& outputStore = outputIDataArray->template getIDataStoreRefAs>(); FillBadDataUpdateTuples(featureIds, outputStore, neighbors); } }; diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/FlyingEdges3D.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/FlyingEdges3D.cpp index 44559792d5..309244b167 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/FlyingEdges3D.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/FlyingEdges3D.cpp @@ -12,7 +12,7 @@ struct ExecuteFlyingEdgesFunctor template void operator()(const ImageGeom& image, const IDataArray* iDataArray, float64 isoVal, TriangleGeom& triangleGeom, Float32AbstractDataStore& normals, AttributeMatrix& normAM) { - FlyingEdgesAlgorithm flyingEdges = FlyingEdgesAlgorithm(image, iDataArray->getIDataStoreRefAs>(), static_cast(isoVal), triangleGeom, normals); + FlyingEdgesAlgorithm flyingEdges = FlyingEdgesAlgorithm(image, iDataArray->template getIDataStoreRefAs>(), static_cast(isoVal), triangleGeom, normals); flyingEdges.pass1(); flyingEdges.pass2(); flyingEdges.pass3(); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ScalarSegmentFeatures.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ScalarSegmentFeatures.cpp index e5ca576237..1e8638807c 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ScalarSegmentFeatures.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/ScalarSegmentFeatures.cpp @@ -76,7 +76,7 @@ class TSpecificCompareFunctor : public SegmentFeatures::CompareFunctor : m_Length(length) , m_Tolerance(tolerance) , m_FeatureIdsArray(featureIds) - , m_Data(data->getIDataStoreRefAs()) + , m_Data(data->template getIDataStoreRefAs()) { } TSpecificCompareFunctor() = default; diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/Silhouette.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/Silhouette.cpp index 34393f9f3e..cf652236a4 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/Silhouette.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/Silhouette.cpp @@ -28,7 +28,7 @@ class SilhouetteTemplate SilhouetteTemplate(const IDataArray& inputIDataArray, Float64AbstractDataStore& outputDataArray, const std::unique_ptr& maskDataArray, usize numClusters, const Int32AbstractDataStore& featureIds, ClusterUtilities::DistanceMetric distMetric) - : m_InputData(inputIDataArray.getIDataStoreRefAs()) + : m_InputData(inputIDataArray.template getIDataStoreRefAs()) , m_OutputData(outputDataArray) , m_Mask(maskDataArray) , m_NumClusters(numClusters) diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/SplitAttributeArray.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/SplitAttributeArray.cpp index 5c9223f093..8aab40214b 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/SplitAttributeArray.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/SplitAttributeArray.cpp @@ -13,7 +13,7 @@ struct SplitArraysFunctor template void operator()(DataStructure& dataStructure, const IDataArray* inputIDataArray, const SplitAttributeArrayInputValues* inputValues) { - const auto& inputStore = inputIDataArray->getIDataStoreRefAs>(); + const auto& inputStore = inputIDataArray->template getIDataStoreRefAs>(); usize numTuples = inputStore.getNumberOfTuples(); usize numComponents = inputStore.getNumberOfComponents(); for(const auto& j : inputValues->ExtractComponents) diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/WriteAvizoRectilinearCoordinate.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/WriteAvizoRectilinearCoordinate.cpp index b56d8b54eb..9d6f4a1c51 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/WriteAvizoRectilinearCoordinate.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/WriteAvizoRectilinearCoordinate.cpp @@ -84,7 +84,7 @@ Result<> WriteAvizoRectilinearCoordinate::writeData(FILE* outputFile) const fprintf(outputFile, "@1 # FeatureIds in z, y, x with X moving fastest, then Y, then Z\n"); - const auto& featureIds = m_DataStructure.getDataAs(m_InputValues->FeatureIdsArrayPath)->getIDataStoreRefAs>(); + const auto& featureIds = m_DataStructure.getDataAs(m_InputValues->FeatureIdsArrayPath)->getIDataStoreRefAs>(); const usize totalPoints = featureIds.getNumberOfTuples(); if(m_InputValues->WriteBinaryFile) diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/WriteAvizoUniformCoordinate.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/WriteAvizoUniformCoordinate.cpp index 092e0c46a7..eb2e62e36c 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/WriteAvizoUniformCoordinate.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/WriteAvizoUniformCoordinate.cpp @@ -87,7 +87,7 @@ Result<> WriteAvizoUniformCoordinate::writeData(FILE* outputFile) const { fprintf(outputFile, "@1\n"); - const auto& featureIds = m_DataStructure.getDataAs(m_InputValues->FeatureIdsArrayPath)->getIDataStoreRefAs>(); + const auto& featureIds = m_DataStructure.getDataAs(m_InputValues->FeatureIdsArrayPath)->getIDataStoreRefAs>(); const usize totalPoints = featureIds.getNumberOfTuples(); if(m_InputValues->WriteBinaryFile) diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ComputeDifferencesMapFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ComputeDifferencesMapFilter.cpp index 4a71085c15..698a0a0d2d 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ComputeDifferencesMapFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ComputeDifferencesMapFilter.cpp @@ -83,9 +83,9 @@ struct ExecuteFindDifferenceMapFunctor { using store_type = AbstractDataStore; - auto& firstArray = firstArrayPtr->getIDataStoreRefAs(); - auto& secondArray = secondArrayPtr->getIDataStoreRefAs(); - auto& differenceMap = differenceMapPtr->getIDataStoreRefAs(); + auto& firstArray = firstArrayPtr->template getIDataStoreRefAs(); + auto& secondArray = secondArrayPtr->template getIDataStoreRefAs(); + auto& differenceMap = differenceMapPtr->template getIDataStoreRefAs(); usize numTuples = firstArray.getNumberOfTuples(); int32 numComps = firstArray.getNumberOfComponents(); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ConditionalSetValueFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ConditionalSetValueFilter.cpp index 17a13c746d..b32b95b865 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ConditionalSetValueFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ConditionalSetValueFilter.cpp @@ -35,7 +35,7 @@ struct ReplaceValueInArrayFunctor template void operator()(IDataArray& workingArray, const std::string& removeValue, const std::string& replaceValue) { - auto& dataStore = workingArray.getIDataStoreRefAs>(); + auto& dataStore = workingArray.template getIDataStoreRefAs>(); auto removeVal = convertFromStringToType(removeValue); auto replaceVal = convertFromStringToType(replaceValue); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CopyFeatureArrayToElementArrayFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CopyFeatureArrayToElementArrayFilter.cpp index f6fdbf8ce5..b96a8797da 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CopyFeatureArrayToElementArrayFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CopyFeatureArrayToElementArrayFilter.cpp @@ -24,9 +24,9 @@ class CopyFeatureArrayToElementArrayImpl using StoreType = AbstractDataStore; CopyFeatureArrayToElementArrayImpl(const IDataArray* selectedFeatureArray, const Int32AbstractDataStore& featureIdsStore, IDataArray* createdArray, const std::atomic_bool& shouldCancel) - : m_SelectedFeature(selectedFeatureArray->getIDataStoreRefAs()) + : m_SelectedFeature(selectedFeatureArray->template getIDataStoreRefAs()) , m_FeatureIdsStore(featureIdsStore) - , m_CreatedStore(createdArray->getIDataStoreRefAs()) + , m_CreatedStore(createdArray->template getIDataStoreRefAs()) , m_ShouldCancel(shouldCancel) { } diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CreateDataArrayFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CreateDataArrayFilter.cpp index 06e6da3bef..b93e305e5c 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CreateDataArrayFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CreateDataArrayFilter.cpp @@ -28,7 +28,7 @@ struct CreateAndInitArrayFunctor { Result result = ConvertTo::convert(initValue); - auto* dataStore = iDataArray->getIDataStoreAs>(); + auto* dataStore = iDataArray->template getIDataStoreAs>(); dataStore->fill(result.value()); } }; diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CreateFeatureArrayFromElementArrayFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CreateFeatureArrayFromElementArrayFilter.cpp index 3c6a0fb7d0..fe0e860dcf 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CreateFeatureArrayFromElementArrayFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CreateFeatureArrayFromElementArrayFilter.cpp @@ -20,8 +20,8 @@ struct CopyCellDataFunctor template Result<> operator()(const IDataArray* selectedCellArray, const Int32AbstractDataStore& featureIds, IDataArray* createdArray, const std::atomic_bool& shouldCancel) { - const auto& selectedCellStore = selectedCellArray->getIDataStoreRefAs>(); - auto& createdDataStore = createdArray->getIDataStoreRefAs>(); + const auto& selectedCellStore = selectedCellArray->template getIDataStoreRefAs>(); + auto& createdDataStore = createdArray->template getIDataStoreRefAs>(); // Initialize the output array with a default value createdDataStore.fill(0); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CropImageGeometryFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CropImageGeometryFilter.cpp index dcdc0b92a8..b4b47b87e9 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CropImageGeometryFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CropImageGeometryFilter.cpp @@ -71,8 +71,8 @@ class CropImageGeomDataArray { public: CropImageGeomDataArray(const IDataArray& oldCellArray, IDataArray& newCellArray, const ImageGeom& srcImageGeom, std::array bounds, const std::atomic_bool& shouldCancel) - : m_OldCellStore(oldCellArray.getIDataStoreRefAs>()) - , m_NewCellStore(newCellArray.getIDataStoreRefAs>()) + : m_OldCellStore(oldCellArray.template getIDataStoreRefAs>()) + , m_NewCellStore(newCellArray.template getIDataStoreRefAs>()) , m_SrcImageGeom(srcImageGeom) , m_Bounds(bounds) , m_ShouldCancel(shouldCancel) diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CropVertexGeometryFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CropVertexGeometryFilter.cpp index 792cbc076f..95ad1c725d 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CropVertexGeometryFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/CropVertexGeometryFilter.cpp @@ -21,8 +21,8 @@ struct CopyDataToCroppedGeometryFunctor template void operator()(const IDataArray* inDataRef, IDataArray* outDataRef, const std::vector& croppedPoints) { - const auto& inputData = inDataRef->getIDataStoreRefAs>(); - auto& croppedData = outDataRef->getIDataStoreRefAs>(); + const auto& inputData = inDataRef->template getIDataStoreRefAs>(); + auto& croppedData = outDataRef->template getIDataStoreRefAs>(); usize nComps = inDataRef->getNumberOfComponents(); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ExtractInternalSurfacesFromTriangleGeometryFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ExtractInternalSurfacesFromTriangleGeometryFilter.cpp index 7bd105fb5a..e90f0ebca9 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ExtractInternalSurfacesFromTriangleGeometryFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ExtractInternalSurfacesFromTriangleGeometryFilter.cpp @@ -38,8 +38,8 @@ struct CopyDataFunctor template void operator()(IDataArray* inDataPtr, IDataArray* outDataPtr, std::unordered_map& elementMap) const { - auto& inputData = inDataPtr->getIDataStoreRefAs>(); - auto& outputData = outDataPtr->getIDataStoreRefAs>(); + auto& inputData = inDataPtr->template getIDataStoreRefAs>(); + auto& outputData = outDataPtr->template getIDataStoreRefAs>(); usize nTuples = outDataPtr->getNumberOfTuples(); usize nComps = inDataPtr->getNumberOfComponents(); @@ -64,8 +64,8 @@ struct RemoveFlaggedVerticesFunctor template void operator()(IDataArray* inputDataPtr, IDataArray* outputDataArray, const std::vector& indexMapping) const { - auto& inputData = inputDataPtr->getIDataStoreRefAs>(); - auto& outputData = outputDataArray->getIDataStoreRefAs>(); + auto& inputData = inputDataPtr->template getIDataStoreRefAs>(); + auto& outputData = outputDataArray->template getIDataStoreRefAs>(); usize nComps = inputData.getNumberOfComponents(); IGeometry::MeshIndexType notSeen = std::numeric_limits::max(); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/IdentifySampleFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/IdentifySampleFilter.cpp index 3bfbaf93d4..a3d0190df5 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/IdentifySampleFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/IdentifySampleFilter.cpp @@ -18,7 +18,7 @@ struct IdentifySampleFunctor void operator()(const ImageGeom* imageGeom, IDataArray* goodVoxelsPtr, bool fillHoles) { std::vector cDims = {1}; - auto& goodVoxels = goodVoxelsPtr->getIDataStoreRefAs>(); + auto& goodVoxels = goodVoxelsPtr->template getIDataStoreRefAs>(); const auto totalPoints = static_cast(goodVoxelsPtr->getNumberOfTuples()); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InitializeDataFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InitializeDataFilter.cpp index f6e637dc72..c7867427a1 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InitializeDataFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InitializeDataFilter.cpp @@ -292,7 +292,7 @@ struct FillArrayFunctor template void operator()(IDataArray& iDataArray, const InitializeDataInputValues& inputValues) { - auto& dataStore = iDataArray.getIDataStoreRefAs>(); + auto& dataStore = iDataArray.template getIDataStoreRefAs>(); usize numComp = dataStore.getNumberOfComponents(); // We checked that the values string is greater than max comps size so proceed check free switch(inputValues.initType) diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InitializeImageGeomCellDataFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InitializeImageGeomCellDataFilter.cpp index 364ccfdaf4..4704026470 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InitializeImageGeomCellDataFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InitializeImageGeomCellDataFilter.cpp @@ -119,7 +119,7 @@ struct InitializeArrayFunctor rangeMax = std::numeric_limits().max(); } - auto& dataStore = dataArray.getIDataStoreRefAs>(); + auto& dataStore = dataArray.template getIDataStoreRefAs>(); auto&& [distribution, generator] = CreateRandomGenerator(rangeMin, rangeMax, seed); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InterpolatePointCloudToRegularGridFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InterpolatePointCloudToRegularGridFilter.cpp index eaa520bea0..e01d00b559 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InterpolatePointCloudToRegularGridFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/InterpolatePointCloudToRegularGridFilter.cpp @@ -30,7 +30,7 @@ struct MapPointCloudDataByKernelFunctor template void operator()(IDataArray* source, INeighborList* dynamic, std::vector& kernelVals, const int64 kernel[3], const usize dims[3], usize curX, usize curY, usize curZ, usize vertIdx) { - auto& inputData = source->getIDataStoreRefAs>(); + auto& inputData = source->template getIDataStoreRefAs>(); auto* interpolatedDataPtr = dynamic_cast*>(dynamic); usize index = 0; diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/MultiThresholdObjectsFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/MultiThresholdObjectsFilter.cpp index 308a50afb3..1cc704a041 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/MultiThresholdObjectsFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/MultiThresholdObjectsFilter.cpp @@ -130,7 +130,7 @@ struct ExecuteThresholdHelper template void operator()(ThresholdFilterHelper& helper, const IDataArray* iDataArray, Type trueValue, Type falseValue) { - const auto& dataStore = iDataArray->getIDataStoreRefAs>(); + const auto& dataStore = iDataArray->template getIDataStoreRefAs>(); helper.template filterData(dataStore, trueValue, falseValue); } }; @@ -218,7 +218,7 @@ struct ThresholdValueFunctor { // Traditionally we would do a check to ensure we get a valid pointer, I'm forgoing that check because it // was essentially done in the preflight part. - ThresholdValue(comparisonValue, dataStructure, outputResultArray->getIDataStoreRefAs>(), err, replaceInput, inverse, trueValue, falseValue); + ThresholdValue(comparisonValue, dataStructure, outputResultArray->template getIDataStoreRefAs>(), err, replaceInput, inverse, trueValue, falseValue); } }; @@ -287,7 +287,7 @@ struct ThresholdSetFunctor // Traditionally we would do a check to ensure we get a valid pointer, I'm forgoing that check because it // was essentially done in the preflight part. - ThresholdSet(inputComparisonSet, dataStructure, outputResultArray->getIDataStoreRefAs>(), err, replaceInput, inverse, trueValue, falseValue); + ThresholdSet(inputComparisonSet, dataStructure, outputResultArray->template getIDataStoreRefAs>(), err, replaceInput, inverse, trueValue, falseValue); } }; diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadTextDataArrayFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadTextDataArrayFilter.cpp index 2fc6e278ba..5c5f0be9e3 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadTextDataArrayFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/ReadTextDataArrayFilter.cpp @@ -28,7 +28,7 @@ struct CSVReadFileFunctor template Result<> operator()(IDataArray* inputIDataArray, const fs::path& inputFilePath, uint64 skipLines, char delimiter) { - auto& store = inputIDataArray->getIDataStoreRefAs>(); + auto& store = inputIDataArray->template getIDataStoreRefAs>(); return CsvParser::ReadFile(inputFilePath, store, skipLines, delimiter); } }; diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/RemoveFlaggedVerticesFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/RemoveFlaggedVerticesFilter.cpp index 7f7f50fe7d..54df4afc59 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/RemoveFlaggedVerticesFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/RemoveFlaggedVerticesFilter.cpp @@ -32,8 +32,8 @@ struct RemoveFlaggedVerticesFunctor template void operator()(const IDataArray& sourceIDataArray, IDataArray& destIDataArray, const std::unique_ptr& maskCompare, size_t numVerticesToKeep) const { - const auto& sourceDataStore = sourceIDataArray.getIDataStoreRefAs>(); - auto& destinationDataStore = destIDataArray.getIDataStoreRefAs>(); + const auto& sourceDataStore = sourceIDataArray.template getIDataStoreRefAs>(); + auto& destinationDataStore = destIDataArray.template getIDataStoreRefAs>(); destinationDataStore.resizeTuples({numVerticesToKeep}); const usize numInputTuples = sourceDataStore.getNumberOfTuples(); diff --git a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/RobustAutomaticThresholdFilter.cpp b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/RobustAutomaticThresholdFilter.cpp index f8ea7aa681..99227fa5f2 100644 --- a/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/RobustAutomaticThresholdFilter.cpp +++ b/src/Plugins/SimplnxCore/src/SimplnxCore/Filters/RobustAutomaticThresholdFilter.cpp @@ -22,7 +22,7 @@ struct FindThresholdFunctor template void operator()(const IDataArray* inputObject, const Float32AbstractDataStore& gradMag, BoolAbstractDataStore& maskStore) { - const auto& inputData = inputObject->getIDataStoreRefAs>(); + const auto& inputData = inputObject->template getIDataStoreRefAs>(); usize numTuples = inputData.getNumberOfTuples(); float numerator = 0; float denominator = 0; diff --git a/src/simplnx/Utilities/ImageRotationUtilities.hpp b/src/simplnx/Utilities/ImageRotationUtilities.hpp index 4c9257e612..ded74afb50 100644 --- a/src/simplnx/Utilities/ImageRotationUtilities.hpp +++ b/src/simplnx/Utilities/ImageRotationUtilities.hpp @@ -401,7 +401,7 @@ class RotateImageGeometryWithTrilinearInterpolation m_FilterCallback->sendThreadSafeProgressMessage(fmt::format("{}: Transform Starting", sourceArray.getName())); - auto& newDataStore = m_TargetArray->getIDataStoreRefAs>(); + auto& newDataStore = m_TargetArray->template getIDataStoreRefAs>(); DataStructure tempDataStructure; ImageGeom* origImageGeomPtr = ImageGeom::Create(tempDataStructure, "Temp"); diff --git a/src/simplnx/Utilities/OStreamUtilities.cpp b/src/simplnx/Utilities/OStreamUtilities.cpp index 1fef391315..6ccc78078e 100644 --- a/src/simplnx/Utilities/OStreamUtilities.cpp +++ b/src/simplnx/Utilities/OStreamUtilities.cpp @@ -142,7 +142,7 @@ struct PrintDataArray Result<> operator()(std::ostream& outputStrm, IDataArray* inputDataArray, const IFilter::MessageHandler& mesgHandler, const std::atomic_bool& shouldCancel, const std::string& delimiter = ",", int32 componentsPerLine = 0) { - auto& dataStore = inputDataArray->getIDataStoreRefAs>(); + auto& dataStore = inputDataArray->template getIDataStoreRefAs>(); auto start = std::chrono::steady_clock::now(); auto numTuples = dataStore.getNumberOfTuples(); auto maxLine = static_cast(componentsPerLine); @@ -276,7 +276,7 @@ class TupleWriter : public ITupleWriter public: TupleWriter(const IDataArray& iDataArray, const std::string& delimiter) - : m_DataStore(iDataArray.getIDataStoreRefAs>()) + : m_DataStore(iDataArray.template getIDataStoreRefAs>()) , m_Name(iDataArray.getName()) , m_Delimiter(delimiter) { diff --git a/test/UnitTestCommon/include/simplnx/UnitTest/UnitTestCommon.hpp b/test/UnitTestCommon/include/simplnx/UnitTest/UnitTestCommon.hpp index 27b03cecd1..a3576cc674 100644 --- a/test/UnitTestCommon/include/simplnx/UnitTest/UnitTestCommon.hpp +++ b/test/UnitTestCommon/include/simplnx/UnitTest/UnitTestCommon.hpp @@ -452,8 +452,8 @@ inline void CompareMontage(const AbstractMontage& exemplar, const AbstractMontag template void CompareDataArrays(const IDataArray& left, const IDataArray& right, usize start = 0) { - const auto& oldDataStore = left.getIDataStoreRefAs>(); - const auto& newDataStore = right.getIDataStoreRefAs>(); + const auto& oldDataStore = left.template getIDataStoreRefAs>(); + const auto& newDataStore = right.template getIDataStoreRefAs>(); usize end = oldDataStore.getSize(); INFO(fmt::format("Input Data Array:'{}' Output DataArray: '{}' bad comparison", left.getName(), right.getName())); T oldVal;