Skip to content

Commit

Permalink
Remove EMTime functionality. Update Release notes for 6.5.163
Browse files Browse the repository at this point in the history
Update codes to compile on Apple M1 ARM64 arch.
Remove Qt Keywords signals/slots/emit as they clash with oneTBB API

Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson committed Jul 18, 2022
1 parent 02a9aea commit 84f9dd2
Show file tree
Hide file tree
Showing 449 changed files with 1,112 additions and 1,379 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ if(NOT DEFINED CMAKE_ARCHIVE_OUTPUT_DIRECTORY)
)
endif()

add_compile_definitions(QT_NO_KEYWORDS)

#------------------------------------------------------------------------------
# Find the Git Package for Versioning. It should be ok if Git is NOT found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ The developers of DREAM.3D maintain a pair of Google Groups for discussions on t
[DREAM.3D Developers List](https://groups.google.com/forum/?hl=en#!forum/dream3d-developers)


## Version 6.5.xxx ##
## Version 6.5.163 ##

### 6.5.xxx Fixed DREAM3D Issues ###
### 6.5.163 Fixed DREAM3D Issues ###

+ Add sanity check to Generate Ensemble Statistics to ensure that when Calculate Crystallographic Statistics is TRUE only Cubic and Hexagonal phases are present in the data. #984
+ Fix issue in FindBoundingBoxFeatures where the XY coordinates were locked into the XY plane even if the '2D' was on another plane. #985
* Fixed on issue where adding the Import Image Montage would crash DREAM.3D due to nullptr. (ITKImageProcessing Plugin fix)
* fixed issue with linking on Ubuntu 20.04 and above involving rpaths

### SIMPL Changes ###

Expand Down
6 changes: 3 additions & 3 deletions Documentation/ReferenceManual/6_Developer/WritingAFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ Example **preflight()** function:
void ExampleFilter::preflight()
{
setInPreflight(true);
emit preflightAboutToExecute();
emit updateFilterParameters(this);
Q_EMIT preflightAboutToExecute();
Q_EMIT updateFilterParameters(this);
dataCheck();
emit preflightExecuted();
Q_EMIT preflightExecuted();
setInPreflight(false);
}
```
Expand Down
4 changes: 2 additions & 2 deletions Documentation/Tools/GenerateHTMLDocs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ void ReplaceGrepSearchesRecursively(QDir currentDir)

bool parentWritten = false;
QFileInfoList itemList = currentDir.entryInfoList(filters);
foreach(QFileInfo itemInfo, itemList)
Q_FOREACH(QFileInfo itemInfo, itemList)
{
QString itemFilePath = itemInfo.absoluteFilePath();

Expand Down Expand Up @@ -520,7 +520,7 @@ void ReplaceGrepSearchesRecursively(QDir currentDir)
QFileInfoList dirList = currentDir.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot);
if(dirList.size() > 0)
{
foreach(QFileInfo fi, dirList)
Q_FOREACH(QFileInfo fi, dirList)
{

ReplaceGrepSearchesRecursively(QDir(fi.absoluteFilePath())); // Recursive call
Expand Down
2 changes: 1 addition & 1 deletion Resources/CPack/PackageProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ set(CPACK_PACKAGE_EXECUTABLES
set(UPLOAD_FILE_NAME "")

if(APPLE)
set(CPACK_PACKAGE_FILE_NAME "DREAM3D-${DREAM3D_VERSION_SHORT}-OSX")
set(CPACK_PACKAGE_FILE_NAME "DREAM3D-${DREAM3D_VERSION_SHORT}-OSX-${CMAKE_HOST_SYSTEM_PROCESSOR}")
# This ASSUMES we are creating a tar.gz package. If you change that below to
# anything else then you need to update this.
set(UPLOAD_FILE_NAME ${CPACK_PACKAGE_FILE_NAME}.dmg)
Expand Down
1 change: 1 addition & 0 deletions Source/EbsdLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ if(BUILD_SHARED_LIBS)
set(EbsdLib_BUILT_AS_DYNAMIC_LIB 1)
endif(BUILD_SHARED_LIBS)

add_compile_definitions(QT_NO_KEYWORDS)

# Look for our Prerequisite Libraries
if(NOT DEFINED DREAM3DProj_BINARY_DIR)
Expand Down
2 changes: 1 addition & 1 deletion Source/EbsdLib/TSL/H5OIMReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ int H5OIMReader::readHeader(hid_t parId)
// m_Phases.clear();
QVector<AngPhase::Pointer> phaseVector;

foreach(QString phaseGroupName, names)
Q_FOREACH(QString phaseGroupName, names)
{
hid_t pid = H5Gopen(phasesGid, phaseGroupName.toLatin1().data(), H5P_DEFAULT);

Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/CubicLowOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -785,8 +784,7 @@ void CubicLowOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, FloatAr
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -1102,8 +1100,7 @@ QVector<UInt8ArrayType::Pointer> CubicLowOps::generatePoleFigure(PoleFigureConfi
DoubleArrayType::Pointer intensity011 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/CubicOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -1508,8 +1507,7 @@ void CubicOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, FloatArray
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -1831,8 +1829,7 @@ QVector<UInt8ArrayType::Pointer> CubicOps::generatePoleFigure(PoleFigureConfigur
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/HexagonalLowOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -1205,8 +1204,7 @@ void HexagonalLowOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, Flo
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -1391,8 +1389,7 @@ QVector<UInt8ArrayType::Pointer> HexagonalLowOps::generatePoleFigure(PoleFigureC
DoubleArrayType::Pointer intensity011 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/HexagonalOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -1285,8 +1284,7 @@ void HexagonalOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, FloatA
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -1474,8 +1472,7 @@ QVector<UInt8ArrayType::Pointer> HexagonalOps::generatePoleFigure(PoleFigureConf
DoubleArrayType::Pointer intensity011 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/MonoclinicOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -593,8 +592,7 @@ void MonoclinicOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, Float
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -779,8 +777,7 @@ QVector<UInt8ArrayType::Pointer> MonoclinicOps::generatePoleFigure(PoleFigureCon
DoubleArrayType::Pointer intensity011 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/OrthoRhombicOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -611,8 +610,7 @@ void OrthoRhombicOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, Flo
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -799,8 +797,7 @@ QVector<UInt8ArrayType::Pointer> OrthoRhombicOps::generatePoleFigure(PoleFigureC
DoubleArrayType::Pointer intensity100 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity010 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/TetragonalLowOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -604,8 +603,7 @@ void TetragonalLowOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, Fl
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -795,8 +793,7 @@ QVector<UInt8ArrayType::Pointer> TetragonalLowOps::generatePoleFigure(PoleFigure
DoubleArrayType::Pointer intensity011 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/TetragonalOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -646,8 +645,7 @@ void TetragonalOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, Float
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -835,8 +833,7 @@ QVector<UInt8ArrayType::Pointer> TetragonalOps::generatePoleFigure(PoleFigureCon
DoubleArrayType::Pointer intensity011 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/TriclinicOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -587,8 +586,7 @@ void TriclinicOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, FloatA
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -776,8 +774,7 @@ QVector<UInt8ArrayType::Pointer> TriclinicOps::generatePoleFigure(PoleFigureConf
DoubleArrayType::Pointer intensity011 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/TrigonalLowOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -626,8 +625,7 @@ void TrigonalLowOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, Floa
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -813,8 +811,7 @@ QVector<UInt8ArrayType::Pointer> TrigonalLowOps::generatePoleFigure(PoleFigureCo
DoubleArrayType::Pointer intensity011 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
7 changes: 2 additions & 5 deletions Source/OrientationLib/LaueOps/TrigonalOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/partitioner.h>
#include <tbb/task_scheduler_init.h>
#include <tbb/task_group.h>
#include <tbb/task.h>
#endif
Expand Down Expand Up @@ -650,8 +649,7 @@ void TrigonalOps::generateSphereCoordsFromEulers(FloatArrayType* eulers, FloatAr
}

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;
#endif

#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
Expand Down Expand Up @@ -832,8 +830,7 @@ QVector<UInt8ArrayType::Pointer> TrigonalOps::generatePoleFigure(PoleFigureConfi
DoubleArrayType::Pointer intensity011 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label1 + "_Intensity_Image");
DoubleArrayType::Pointer intensity111 = DoubleArrayType::CreateArray(config.imageDim * config.imageDim, label2 + "_Intensity_Image");
#ifdef SIMPL_USE_PARALLEL_ALGORITHMS
tbb::task_scheduler_init init;
bool doParallel = true;
bool doParallel = true;

if(doParallel)
{
Expand Down
Loading

0 comments on commit 84f9dd2

Please sign in to comment.