Skip to content

Commit

Permalink
Expose the symSizeX internal variables from LaueOps implementation cl…
Browse files Browse the repository at this point in the history
…asses

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information
imikejackson committed Mar 28, 2023
1 parent b3f4de3 commit b177e78
Show file tree
Hide file tree
Showing 23 changed files with 149 additions and 11 deletions.
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/CubicLowOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ int CubicLowOps::getODFSize() const
return CubicLow::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> CubicLowOps::getNumSymmetry() const
{
return {CubicLow::symSize0, CubicLow::symSize1, CubicLow::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/CubicLowOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,18 @@ class EbsdLib_EXPORT CubicLowOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/CubicOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,12 @@ int CubicOps::getODFSize() const
return CubicHigh::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> CubicOps::getNumSymmetry() const
{
return {CubicHigh::symSize0, CubicHigh::symSize1, CubicHigh::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/CubicOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,18 @@ class EbsdLib_EXPORT CubicOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/HexagonalLowOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ int HexagonalLowOps::getODFSize() const
return HexagonalLow::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> HexagonalLowOps::getNumSymmetry() const
{
return {HexagonalLow::symSize0, HexagonalLow::symSize1, HexagonalLow::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/HexagonalLowOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,18 @@ class EbsdLib_EXPORT HexagonalLowOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/HexagonalOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ int HexagonalOps::getODFSize() const
return HexagonalHigh::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> HexagonalOps::getNumSymmetry() const
{
return {HexagonalHigh::symSize0, HexagonalHigh::symSize1, HexagonalHigh::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/HexagonalOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,18 @@ class EbsdLib_EXPORT HexagonalOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/LaueOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ class EbsdLib_EXPORT LaueOps
*/
virtual int getODFSize() const = 0;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
virtual std::array<int32_t, 3> getNumSymmetry() const = 0;

/**
* @brief Returns the number of bins for an MDF Plot assuming 5 degree increments
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/MonoclinicOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ int MonoclinicOps::getODFSize() const
return Monoclinic::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> MonoclinicOps::getNumSymmetry() const
{
return {Monoclinic::symSize0, Monoclinic::symSize1, Monoclinic::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/MonoclinicOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,18 @@ class EbsdLib_EXPORT MonoclinicOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/OrthoRhombicOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ int OrthoRhombicOps::getODFSize() const
return OrthoRhombic::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> OrthoRhombicOps::getNumSymmetry() const
{
return {OrthoRhombic::symSize0, OrthoRhombic::symSize1, OrthoRhombic::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/OrthoRhombicOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,18 @@ class EbsdLib_EXPORT OrthoRhombicOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/TetragonalLowOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ int TetragonalLowOps::getODFSize() const
return TetragonalLow::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> TetragonalLowOps::getNumSymmetry() const
{
return {TetragonalLow::symSize0, TetragonalLow::symSize1, TetragonalLow::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/TetragonalLowOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,18 @@ class EbsdLib_EXPORT TetragonalLowOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/TetragonalOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ int TetragonalOps::getODFSize() const
return TetragonalHigh::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> TetragonalOps::getNumSymmetry() const
{
return {TetragonalHigh::symSize0, TetragonalHigh::symSize1, TetragonalHigh::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/TetragonalOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,18 @@ class EbsdLib_EXPORT TetragonalOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/TriclinicOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ int TriclinicOps::getODFSize() const
return Triclinic::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> TriclinicOps::getNumSymmetry() const
{
return {Triclinic::symSize0, Triclinic::symSize1, Triclinic::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/TriclinicOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,18 @@ class EbsdLib_EXPORT TriclinicOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/TrigonalLowOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ int TrigonalLowOps::getODFSize() const
return TrigonalLow::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> TrigonalLowOps::getNumSymmetry() const
{
return {TrigonalLow::symSize0, TrigonalLow::symSize1, TrigonalLow::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/TrigonalLowOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,18 @@ class EbsdLib_EXPORT TrigonalLowOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down
6 changes: 6 additions & 0 deletions Source/EbsdLib/LaueOps/TrigonalOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ int TrigonalOps::getODFSize() const
return TrigonalHigh::k_OdfSize;
}

// -----------------------------------------------------------------------------
std::array<int32_t, 3> TrigonalOps::getNumSymmetry() const
{
return {TrigonalHigh::symSize0, TrigonalHigh::symSize1, TrigonalHigh::symSize2};
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Source/EbsdLib/LaueOps/TrigonalOps.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,18 @@ class EbsdLib_EXPORT TrigonalOps : public LaueOps
*/
bool getHasInversion() const override;

/**
/**
* @brief getODFSize Returns the number of ODF bins
* @return
*/
int getODFSize() const override;

/**
* @brief getNumSymmetry Returns the internal variables for symSize0, symSize1, symSize2
* @return
*/
std::array<int32_t, 3> getNumSymmetry() const override;

/**
* @brief getMDFSize Returns the number of MDF bins
* @return
Expand Down

0 comments on commit b177e78

Please sign in to comment.