Skip to content

Class AIAC::TimberInfo

ClassList > AIAC > TimberInfo

Classes

Type Name
class Component
class Cut
class Hole

Public Attributes

Type Name
bool IsShowingAllComponents = = false
bool IsShowingCotas = = false

Public Functions

Type Name
std::vector< std::string > GetAllComponentsIDs () const
std::vector< std::pair< int, int > > GetBboxEdgesIndices () const
std::vector< glm::vec3 > GetBoundingBox () const
Component * GetComponent (const std::string & id)
Component * GetCurrentComponent ()
std::string GetCurrentComponentID ()
int GetFabricatedComponents ()
Get the number of fabricate components.
float GetFabricationProgress ()
Get the progress of fabrication in percentage.
std::string GetID () const
int GetTotalComponents ()
Get the total number of components.
void HideAllComponentsExceptCurrent ()
void SetCurrentComponentTo (std::string id)
void SetNextComponentAsCurrent ()
void SetPrevComponentAsCurrent ()
void ShowAllComponents ()
void UpdateCotasVisibility (bool visible)

Public Attributes Documentation

variable IsShowingAllComponents

bool AIAC::TimberInfo::IsShowingAllComponents;

variable IsShowingCotas

bool AIAC::TimberInfo::IsShowingCotas;

Public Functions Documentation

function GetAllComponentsIDs

std::vector< std::string > AIAC::TimberInfo::GetAllComponentsIDs () const

function GetBboxEdgesIndices

inline std::vector< std::pair< int, int > > AIAC::TimberInfo::GetBboxEdgesIndices () const

function GetBoundingBox

inline std::vector< glm::vec3 > AIAC::TimberInfo::GetBoundingBox () const

function GetComponent

inline Component * AIAC::TimberInfo::GetComponent (
    const std::string & id
) 

function GetCurrentComponent

inline Component * AIAC::TimberInfo::GetCurrentComponent () 

function GetCurrentComponentID

inline std::string AIAC::TimberInfo::GetCurrentComponentID () 

function GetFabricatedComponents

Get the number of fabricate components.

inline int AIAC::TimberInfo::GetFabricatedComponents () 

< small utilities to calculate the progress of fabrication


function GetFabricationProgress

Get the progress of fabrication in percentage.

inline float AIAC::TimberInfo::GetFabricationProgress () 


function GetID

inline std::string AIAC::TimberInfo::GetID () const

function GetTotalComponents

Get the total number of components.

inline int AIAC::TimberInfo::GetTotalComponents () 


function HideAllComponentsExceptCurrent

void AIAC::TimberInfo::HideAllComponentsExceptCurrent () 

function SetCurrentComponentTo

void AIAC::TimberInfo::SetCurrentComponentTo (
    std::string id
) 

function SetNextComponentAsCurrent

void AIAC::TimberInfo::SetNextComponentAsCurrent () 

function SetPrevComponentAsCurrent

void AIAC::TimberInfo::SetPrevComponentAsCurrent () 

function ShowAllComponents

void AIAC::TimberInfo::ShowAllComponents () 

function UpdateCotasVisibility

void AIAC::TimberInfo::UpdateCotasVisibility (
    bool visible
) 


The documentation for this class was generated from the following file src/AIAC/ACInfoModel.h