Skip to content

Class AIAC::ScannedModel

ClassList > AIAC > ScannedModel

Public Functions

Type Name
void BuildBoundingBox ()
Build the bounding box based on the ply model.
std::vector< std::pair< int, int > > GetBboxEdgesIndices () const
std::vector< glm::vec3 > GetBoundingBox () const
Get the bounding box of the ply model.
float GetLength ()
Get the length of the scanned model, which is calculated by averaging the four edges of the bounding box.
bool Load (std::string path)
Load a .ply model from a file.
ScannedModel ()
void UpdateBboxGOLine ()
Update Boundary Box GOLine .
~ScannedModel ()

Public Functions Documentation

function BuildBoundingBox

Build the bounding box based on the ply model.

void AIAC::ScannedModel::BuildBoundingBox () 


function GetBboxEdgesIndices

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

function GetBoundingBox

Get the bounding box of the ply model.

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

Returns:

The bounding box of the ply model.


function GetLength

Get the length of the scanned model, which is calculated by averaging the four edges of the bounding box.

float AIAC::ScannedModel::GetLength () 

Returns:

The length of the scanned model. (in TSLAM unit)


function Load

Load a .ply model from a file.

bool AIAC::ScannedModel::Load (
    std::string path
) 

Parameters:

  • path Path to the model file.

Returns:

True if the model is loaded successfully, false otherwise.


function ScannedModel

inline AIAC::ScannedModel::ScannedModel () 

function UpdateBboxGOLine

Update Boundary Box GOLine .

void AIAC::ScannedModel::UpdateBboxGOLine () 


function ~ScannedModel

inline AIAC::ScannedModel::~ScannedModel () 


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