ReXio
|
#include <abstract_box.hpp>
Public Member Functions | |
GrainStatistics * | GetGrainStatistics () |
void | SetGrainStatistics (GrainStatistics *gs) |
virtual | ~MCBox () |
virtual void | FindTripleJunctions (int=5)=0 |
virtual void | ImportAng (const std::string &, Pos=0)=0 |
virtual void | ExportAng (const std::string &, Pos=0)=0 |
virtual void | ImportOsc (const std::string &, Pos=0)=0 |
virtual void | ExportOsc (const std::string &, Pos=0)=0 |
virtual void | CreateCubicAngHeader () |
virtual MCPoint * | Get (const int &, const int &, int=0)=0 |
virtual MCPoint * | FastGet (const Pos &, const Pos &, Pos=0)=0 |
virtual MCPoint * | operator() (const Pos &, const Pos &, Pos=0)=0 |
virtual void | TransferEBSDData (int &_oscFileLength, int &_oscDataStartBytePosition, int &_oscDataEndBytePosition, std::string &_bufferOscFileHeader) |
void | Load (const std::string &) |
void | Save (const std::string &) |
void | ExportBinaryVtk (const std::string &) |
void | ExportVtk (const std::string &) |
void | ExportSPVtk (const std::string &) |
void | ExportEulers (const std::string &) |
void | GetPointsFromCircle (MCPoint *p, const float &radius, Neighbours &n) |
void | SetMCNeighboursRange (const Pos &range=1) |
Dim & | Get_xsize () |
Dim & | Get_ysize () |
Dim & | Get_zsize () |
Dim | GetSize () |
void | SetBoundaryColor (Color r=0, Color g=0, Color b=0) |
void | SetBoxColor (Color r=0, Color g=0, Color b=0) |
void | SetSortedBoundaryColor (Color r=0, Color g=0, Color b=0) |
void | SetTripleJunctionsColor (Color r=0, Color g=0, Color b=0) |
void | SetCenterOfGravityColor (Color r=0, Color g=0, Color b=0) |
void | SetNeighboursColor (int i, int j, int k=0, Color=255, Color=0, Color=0) |
void | InitializeRandGen () |
MCPoint * | GetRandomPoint () |
Protected Member Functions | |
MCBox () | |
Protected Attributes | |
Dim | _xsize |
Dim | _ysize |
Dim | _zsize |
GrainStatistics * | _grainStats |
std::random_device | _rd |
std::mt19937 | _rengine |
std::uniform_int_distribution | _disx |
std::uniform_int_distribution | _disy |
std::uniform_int_distribution | _disz |
|
inlineprotected |
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
void MCBox::ExportBinaryVtk | ( | const std::string & | filename | ) |
void MCBox::ExportEulers | ( | const std::string & | filename | ) |
|
pure virtual |
void MCBox::ExportSPVtk | ( | const std::string & | filename | ) |
void MCBox::ExportVtk | ( | const std::string & | filename | ) |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
|
inline |
|
inline |
|
inline |
void MCBox::GetPointsFromCircle | ( | MCPoint * | p, |
const float & | radius, | ||
Neighbours & | n | ||
) |
|
inline |
|
inline |
|
pure virtual |
|
pure virtual |
|
inline |
|
inline |
|
pure virtual |
|
inline |
void MCBox::SetBoundaryColor | ( | Color | r = 0 , |
Color | g = 0 , |
||
Color | b = 0 |
||
) |
|
inline |
void MCBox::SetCenterOfGravityColor | ( | Color | r = 0 , |
Color | g = 0 , |
||
Color | b = 0 |
||
) |
|
inline |
void MCBox::SetMCNeighboursRange | ( | const Pos & | range = 1 | ) |
void MCBox::SetNeighboursColor | ( | int | i, |
int | j, | ||
int | k = 0 , |
||
Color | r = 255 , |
||
Color | g = 0 , |
||
Color | b = 0 |
||
) |
void MCBox::SetSortedBoundaryColor | ( | Color | r = 0 , |
Color | g = 0 , |
||
Color | b = 0 |
||
) |
void MCBox::SetTripleJunctionsColor | ( | Color | r = 0 , |
Color | g = 0 , |
||
Color | b = 0 |
||
) |
|
inlinevirtual |
Reimplemented in MCBox2D.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |