ReXio
 All Classes Namespaces Functions Variables Friends
MCBox2D Class Referenceabstract

#include <abstract_box.hpp>

Inheritance diagram for MCBox2D:
Collaboration diagram for MCBox2D:

Public Member Functions

virtual ~MCBox2D ()
 
MCPointGet (const int &, const int &, int=0)
 
MCPointFastGet (const Pos &i, const Pos &j, Pos=0)
 
MCPointoperator() (const Pos &i, const Pos &j, Pos=0)
 
void ExportOsc (const std::string &, Pos=0)
 
void ImportAng (const std::string &, Pos=0)
 
void ExportAng (const std::string &, Pos=0)
 
void ImportOsc (const std::string &, Pos=0)
 
void FindTripleJunctions (int)
 
void CreateCubicAngHeader ()
 
void TransferEBSDData (int &oscFileLength, int &oscDataStartBytePosition, int &oscDataEndBytePosition, std::string &bufferOscFileHeader)
 
- Public Member Functions inherited from MCBox
GrainStatisticsGetGrainStatistics ()
 
void SetGrainStatistics (GrainStatistics *gs)
 
virtual ~MCBox ()
 
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 ()
 
MCPointGetRandomPoint ()
 

Protected Member Functions

 MCBox2D ()
 
 MCBox2D (Dim x, Dim y)
 
void Initialize ()
 
void FillBox ()
 
void PrepareBoostBox ()
 
void PutPoint (const int &i, const int &j, Neighbours &n)
 
void ClearBox2D ()
 
virtual void FindNeighbours (const Pos &, const Pos &)=0
 
- Protected Member Functions inherited from MCBox
 MCBox ()
 

Protected Attributes

Grid2D _content
 
float _ebsdMapXStep
 
float _ebsdMapYStep
 
int _oscFileLength
 
int _oscDataStartBytePosition
 
int _oscDataEndBytePosition
 
std::vector< string > _bufferAngFileHeader
 
char * _bufferOscFileHeader
 
- Protected Attributes inherited from MCBox
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
 

Constructor & Destructor Documentation

MCBox2D::MCBox2D ( )
inlineprotected

Here is the call graph for this function:

MCBox2D::MCBox2D ( Dim  x,
Dim  y 
)
inlineprotected

Here is the call graph for this function:

virtual MCBox2D::~MCBox2D ( )
inlinevirtual

Here is the call graph for this function:

Member Function Documentation

void MCBox2D::ClearBox2D ( )
protected

Here is the caller graph for this function:

void MCBox2D::CreateCubicAngHeader ( )
virtual

Reimplemented from MCBox.

void MCBox2D::ExportAng ( const std::string &  filename,
Pos  z = 0 
)
virtual

Implements MCBox.

Here is the call graph for this function:

void MCBox2D::ExportOsc ( const std::string &  filename,
Pos  z = 0 
)
virtual

Implements MCBox.

Here is the call graph for this function:

MCPoint* MCBox2D::FastGet ( const Pos &  i,
const Pos &  j,
Pos  = 0 
)
inlinevirtual

Implements MCBox.

void MCBox2D::FillBox ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void MCBox2D::FindNeighbours ( const Pos &  ,
const Pos &   
)
protectedpure virtual

Here is the caller graph for this function:

void MCBox2D::FindTripleJunctions ( int  range)
virtual

Implements MCBox.

MCPoint * MCBox2D::Get ( const int &  i,
const int &  j,
int  = 0 
)
virtual

Implements MCBox.

Here is the caller graph for this function:

void MCBox2D::ImportAng ( const std::string &  filename,
Pos  z = 0 
)
virtual

Implements MCBox.

Here is the call graph for this function:

void MCBox2D::ImportOsc ( const std::string &  filename,
Pos  z = 0 
)
virtual

Implements MCBox.

Here is the call graph for this function:

void MCBox2D::Initialize ( )
protected

Here is the caller graph for this function:

MCPoint* MCBox2D::operator() ( const Pos &  i,
const Pos &  j,
Pos  = 0 
)
inlinevirtual

Implements MCBox.

void MCBox2D::PrepareBoostBox ( )
protected

Here is the caller graph for this function:

void MCBox2D::PutPoint ( const int &  i,
const int &  j,
Neighbours &  n 
)
protected

Here is the call graph for this function:

void MCBox2D::TransferEBSDData ( int &  oscFileLength,
int &  oscDataStartBytePosition,
int &  oscDataEndBytePosition,
std::string &  bufferOscFileHeader 
)
inlinevirtual

Reimplemented from MCBox.

Member Data Documentation

std::vector<string> MCBox2D::_bufferAngFileHeader
protected
char* MCBox2D::_bufferOscFileHeader
protected
Grid2D MCBox2D::_content
protected
float MCBox2D::_ebsdMapXStep
protected
float MCBox2D::_ebsdMapYStep
protected
int MCBox2D::_oscDataEndBytePosition
protected
int MCBox2D::_oscDataStartBytePosition
protected
int MCBox2D::_oscFileLength
protected

The documentation for this class was generated from the following files: