ReXio
 All Classes Namespaces Functions Variables Friends
MCPoint Class Reference

#include <mcpoint.hpp>

Inheritance diagram for MCPoint:
Collaboration diagram for MCPoint:

Public Member Functions

 MCPoint (Pos i, Pos j, Pos k=0)
 
 ~MCPoint ()
 
void SetId (const int &g)
 
void SetOrientationId (const int &id)
 
void SetSpin (const int &s)
 
void SetColor (Color r=0, Color g=0, Color b=0)
 
void SetXYZ (const float &x, const float &y, const float &z=0)
 
void SetXY (const float &x, const float &y)
 
void SetIQ (const float &iq)
 
void SetCI (const float &ci)
 
void SetSE (float s)
 
const Pos & GetI ()
 
const Pos & GetJ ()
 
const Pos & GetK ()
 
void GetIJK (Pos &i, Pos &j, Pos &k)
 
void GetIJ (Pos &i, Pos &j)
 
void GetColor (Color &r, Color &g, Color &b)
 
const int & GetSpin ()
 
const int & GetId ()
 
const int & GetOrientationId ()
 
const float & GetX ()
 
const float & GetY ()
 
const float & GetZ ()
 
const float & GetIQ ()
 
const float & GetCI ()
 
const float & GetSE ()
 
bool GetInGrain ()
 
void SetInGrain (bool g)
 
bool InSortedBoundary ()
 
void InSortedBoundary (bool b)
 
bool InBoundary ()
 
void InBoundary (bool b)
 
bool InEBSDMap ()
 
void InEBSDMap (bool x)
 
bool IsTripleJunction ()
 
void IsTripleJunction (bool tj)
 
bool IsCenterOfGravity ()
 
void IsCenterOfGravity (bool cog)
 
bool IsNucleus ()
 
void IsNucleus (bool n)
 
void IsActive (bool a)
 
bool IsActive ()
 
void IsRanded (bool r)
 
bool IsRanded ()
 
void IsRandedInt (int r)
 
int IsRandedInt ()
 
void SetRadius (const float &r)
 
const float & GetRadius ()
 
void SetCurvature (const float &c)
 
const float & GetCurvature ()
 
void UpdateColor ()
 
void SetNeighboursXYZ (std::vector< MCPoint * > &nx, std::vector< MCPoint * > &ny, std::vector< MCPoint * > &nz)
 
void SetNeighboursXY (std::vector< MCPoint * > &nx, std::vector< MCPoint * > &ny)
 
void SetNeighbours (std::vector< MCPoint * > &n)
 
void SetMCNeighbours (std::vector< MCPoint * > &n)
 
void GetNeighbours (std::vector< MCPoint * > &nx, std::vector< MCPoint * > &ny, std::vector< MCPoint * > &nz)
 
void GetNeighbours (std::vector< MCPoint * > &n)
 
void GetSecondaryNeighbours (std::vector< MCPoint * > &sen)
 
void GetThirdNeighbours (std::vector< MCPoint * > &thn)
 
void FindNextNeighbours (std::vector< MCPoint * > &in, std::vector< MCPoint * > &compare, std::vector< MCPoint * > &out)
 
void FindNextNeighbours (std::vector< MCPoint * > &in, std::vector< MCPoint * > &out)
 
void GetMCNeighbours (std::vector< MCPoint * > &n)
 
unsigned int GetNeighboursNumber ()
 
float GetDistance (MCPoint *p)
 
float GetDistance (const float &x, const float &y, const float &z)
 
unsigned int GetNumberOfNearestIds ()
 

Public Attributes

std::vector< MCPoint * > _nx
 
std::vector< MCPoint * > _ny
 
std::vector< MCPoint * > _nz
 
std::vector< MCPoint * > _n
 
std::vector< MCPoint * > _mcn
 
std::vector< MCPoint * > _sen
 
std::vector< MCPoint * > _thn
 

Constructor & Destructor Documentation

MCPoint::MCPoint ( Pos  i,
Pos  j,
Pos  k = 0 
)
inline
MCPoint::~MCPoint ( )
inline

Member Function Documentation

void MCPoint::FindNextNeighbours ( std::vector< MCPoint * > &  in,
std::vector< MCPoint * > &  compare,
std::vector< MCPoint * > &  out 
)
inline

Here is the caller graph for this function:

void MCPoint::FindNextNeighbours ( std::vector< MCPoint * > &  in,
std::vector< MCPoint * > &  out 
)
inline
const float& MCPoint::GetCI ( )
inline

Here is the caller graph for this function:

void MCPoint::GetColor ( Color &  r,
Color &  g,
Color &  b 
)
inline

Here is the caller graph for this function:

const float& MCPoint::GetCurvature ( )
inline

Here is the caller graph for this function:

float MCPoint::GetDistance ( MCPoint p)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

float MCPoint::GetDistance ( const float &  x,
const float &  y,
const float &  z 
)
inline
const Pos& MCPoint::GetI ( )
inline
const int& MCPoint::GetId ( )
inline

Here is the caller graph for this function:

void MCPoint::GetIJ ( Pos &  i,
Pos &  j 
)
inline
void MCPoint::GetIJK ( Pos &  i,
Pos &  j,
Pos &  k 
)
inline
bool MCPoint::GetInGrain ( )
inline
const float& MCPoint::GetIQ ( )
inline

Here is the caller graph for this function:

const Pos& MCPoint::GetJ ( )
inline
const Pos& MCPoint::GetK ( )
inline
void MCPoint::GetMCNeighbours ( std::vector< MCPoint * > &  n)
inline

Here is the caller graph for this function:

void MCPoint::GetNeighbours ( std::vector< MCPoint * > &  nx,
std::vector< MCPoint * > &  ny,
std::vector< MCPoint * > &  nz 
)
inline

Here is the caller graph for this function:

void MCPoint::GetNeighbours ( std::vector< MCPoint * > &  n)
inline
unsigned int MCPoint::GetNeighboursNumber ( )
inline
unsigned int MCPoint::GetNumberOfNearestIds ( )
inline

Here is the call graph for this function:

const int& MCPoint::GetOrientationId ( )
inline

Here is the caller graph for this function:

const float& MCPoint::GetRadius ( )
inline
const float& MCPoint::GetSE ( )
inline

Here is the caller graph for this function:

void MCPoint::GetSecondaryNeighbours ( std::vector< MCPoint * > &  sen)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

const int& MCPoint::GetSpin ( )
inline

Here is the caller graph for this function:

void MCPoint::GetThirdNeighbours ( std::vector< MCPoint * > &  thn)
inline

Here is the call graph for this function:

const float& MCPoint::GetX ( )
inline

Here is the caller graph for this function:

const float& MCPoint::GetY ( )
inline

Here is the caller graph for this function:

const float& MCPoint::GetZ ( )
inline

Here is the caller graph for this function:

bool MCPoint::InBoundary ( )
inline

Here is the caller graph for this function:

void MCPoint::InBoundary ( bool  b)
inline
bool MCPoint::InEBSDMap ( )
inline

Here is the caller graph for this function:

void MCPoint::InEBSDMap ( bool  x)
inline
bool MCPoint::InSortedBoundary ( )
inline

Here is the caller graph for this function:

void MCPoint::InSortedBoundary ( bool  b)
inline
void MCPoint::IsActive ( bool  a)
inline

Here is the caller graph for this function:

bool MCPoint::IsActive ( )
inline
bool MCPoint::IsCenterOfGravity ( )
inline

Here is the caller graph for this function:

void MCPoint::IsCenterOfGravity ( bool  cog)
inline
bool MCPoint::IsNucleus ( )
inline

Here is the caller graph for this function:

void MCPoint::IsNucleus ( bool  n)
inline
void MCPoint::IsRanded ( bool  r)
inline

Here is the caller graph for this function:

bool MCPoint::IsRanded ( )
inline
void MCPoint::IsRandedInt ( int  r)
inline

Here is the caller graph for this function:

int MCPoint::IsRandedInt ( )
inline
bool MCPoint::IsTripleJunction ( )
inline

Here is the caller graph for this function:

void MCPoint::IsTripleJunction ( bool  tj)
inline
void MCPoint::SetCI ( const float &  ci)
inline

Here is the caller graph for this function:

void MCPoint::SetColor ( Color  r = 0,
Color  g = 0,
Color  b = 0 
)
inline

Here is the caller graph for this function:

void MCPoint::SetCurvature ( const float &  c)
inline
void MCPoint::SetId ( const int &  g)
inline

Here is the caller graph for this function:

void MCPoint::SetInGrain ( bool  g)
inline

Here is the caller graph for this function:

void MCPoint::SetIQ ( const float &  iq)
inline

Here is the caller graph for this function:

void MCPoint::SetMCNeighbours ( std::vector< MCPoint * > &  n)
inline

Here is the caller graph for this function:

void MCPoint::SetNeighbours ( std::vector< MCPoint * > &  n)
inline
void MCPoint::SetNeighboursXY ( std::vector< MCPoint * > &  nx,
std::vector< MCPoint * > &  ny 
)
inline
void MCPoint::SetNeighboursXYZ ( std::vector< MCPoint * > &  nx,
std::vector< MCPoint * > &  ny,
std::vector< MCPoint * > &  nz 
)
inline
void MCPoint::SetOrientationId ( const int &  id)
inline

Here is the caller graph for this function:

void MCPoint::SetRadius ( const float &  r)
inline
void MCPoint::SetSE ( float  s)
inline

Here is the caller graph for this function:

void MCPoint::SetSpin ( const int &  s)
inline

Here is the caller graph for this function:

void MCPoint::SetXY ( const float &  x,
const float &  y 
)
inline

Here is the caller graph for this function:

void MCPoint::SetXYZ ( const float &  x,
const float &  y,
const float &  z = 0 
)
inline
void MCPoint::UpdateColor ( )
inline

Here is the caller graph for this function:

Member Data Documentation

std::vector<MCPoint*> MCPoint::_mcn
std::vector<MCPoint*> MCPoint::_n
std::vector<MCPoint*> MCPoint::_nx
std::vector<MCPoint*> MCPoint::_ny
std::vector<MCPoint*> MCPoint::_nz
std::vector<MCPoint*> MCPoint::_sen
std::vector<MCPoint*> MCPoint::_thn

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