From 203e3f7e60c8dc4d9c37387e48fed781c06d21ec Mon Sep 17 00:00:00 2001 From: nyoungbq Date: Fri, 15 Nov 2024 11:39:52 -0500 Subject: [PATCH] clang formatting --- .../Filters/Algorithms/ReadH5OimData.cpp | 6 ++---- .../OrientationAnalysis/Filters/ReadH5EspritDataFilter.cpp | 7 ++++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/Algorithms/ReadH5OimData.cpp b/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/Algorithms/ReadH5OimData.cpp index c2a60d1dfe..987cb77840 100644 --- a/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/Algorithms/ReadH5OimData.cpp +++ b/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/Algorithms/ReadH5OimData.cpp @@ -49,15 +49,13 @@ Result<> ReadH5OimData::copyRawEbsdData(int index) const auto* phi1 = reinterpret_cast(m_Reader->getPointerByName(EbsdLib::Ang::Phi1)); const auto* phi = reinterpret_cast(m_Reader->getPointerByName(EbsdLib::Ang::Phi)); const auto* phi2 = reinterpret_cast(m_Reader->getPointerByName(EbsdLib::Ang::Phi2)); - auto& eulerAngles = - m_DataStructure.getDataRefAs(cellAMPath.createChildPath(EbsdLib::AngFile::EulerAngles)); + auto& eulerAngles = m_DataStructure.getDataRefAs(cellAMPath.createChildPath(EbsdLib::AngFile::EulerAngles)); const auto* imageQual = reinterpret_cast(m_Reader->getPointerByName(EbsdLib::Ang::ImageQuality)); auto& imageQuality = m_DataStructure.getDataRefAs(cellAMPath.createChildPath(EbsdLib::Ang::ImageQuality)); const auto* confIndex = reinterpret_cast(m_Reader->getPointerByName(EbsdLib::Ang::ConfidenceIndex)); - auto& confidenceIndex = - m_DataStructure.getDataRefAs(cellAMPath.createChildPath(EbsdLib::Ang::ConfidenceIndex)); + auto& confidenceIndex = m_DataStructure.getDataRefAs(cellAMPath.createChildPath(EbsdLib::Ang::ConfidenceIndex)); const auto* semSig = reinterpret_cast(m_Reader->getPointerByName(EbsdLib::Ang::SEMSignal)); auto& semSignal = m_DataStructure.getDataRefAs(cellAMPath.createChildPath(EbsdLib::Ang::SEMSignal)); diff --git a/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/ReadH5EspritDataFilter.cpp b/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/ReadH5EspritDataFilter.cpp index 1962737e7c..2e33975a08 100644 --- a/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/ReadH5EspritDataFilter.cpp +++ b/src/Plugins/OrientationAnalysis/src/OrientationAnalysis/Filters/ReadH5EspritDataFilter.cpp @@ -70,8 +70,9 @@ Parameters ReadH5EspritDataFilter::parameters() const OEMEbsdScanSelectionParameter::ValueType{}, /* OEMEbsdScanSelectionParameter::AllowedManufacturers{EbsdLib::OEM::Bruker, EbsdLib::OEM::DREAM3D},*/ OEMEbsdScanSelectionParameter::EbsdReaderType::Esprit, OEMEbsdScanSelectionParameter::ExtensionsType{".h5", ".hdf5"})); - params.insertLinkableParameter(std::make_unique( - k_CombineScans_Key, "Stack Scans Along Z Axis", "If true combines each of the multiple scans into a single image geometry along the z axis, else each will result in an individual geometry", true)); + params.insertLinkableParameter( + std::make_unique(k_CombineScans_Key, "Stack Scans Along Z Axis", + "If true combines each of the multiple scans into a single image geometry along the z axis, else each will result in an individual geometry", true)); params.insert(std::make_unique(k_ZSpacing_Key, "Z Spacing (Microns)", "The spacing in microns between each layer.", 1.0f)); params.insert(std::make_unique(k_Origin_Key, "Origin", "The origin of the volume", std::vector{0.0F, 0.0F, 0.0F}, std::vector{"x", "y", "z"})); params.insert(std::make_unique(k_DegreesToRadians_Key, "Convert Euler Angles to Radians", "Whether or not to convert the euler angles to radians", true)); @@ -175,7 +176,7 @@ IFilter::PreflightResult ReadH5EspritDataFilter::preflightImpl(const DataStructu cellAMPath = imagePath.createChildPath(pCellAttributeMatrixNameValue); // Temporary origin till we read out of file in execute - CreateImageGeometryAction::OriginType origin = {0.0f,0.0f,0.0f}; + CreateImageGeometryAction::OriginType origin = {0.0f, 0.0f, 0.0f}; auto createDataGroupAction = std::make_unique(imagePath, dims, origin, spacing, pCellAttributeMatrixNameValue); resultOutputActions.value().appendAction(std::move(createDataGroupAction));