NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Protected Member Functions | List of all members
niftk::FitPlaneToPointCloudWrapper Class Reference
Inheritance diagram for niftk::FitPlaneToPointCloudWrapper:
Inheritance graph
[legend]
Collaboration diagram for niftk::FitPlaneToPointCloudWrapper:
Collaboration graph
[legend]

Public Member Functions

 mitkClassMacroItkParent (FitPlaneToPointCloudWrapper, itk::Object) static Pointer New()
 
void FitPlane (const std::string &filename)
 
void FitPlane (const mitk::PointSet::Pointer &pointset)
 
void PrintOutput (std::ostream &log) const
 
void GetParameters (float &a, float &b, float &c, float &d) const
 

Protected Member Functions

 FitPlaneToPointCloudWrapper ()
 
virtual ~FitPlaneToPointCloudWrapper ()
 
 FitPlaneToPointCloudWrapper (const FitPlaneToPointCloudWrapper &)
 
FitPlaneToPointCloudWrapperoperator= (const FitPlaneToPointCloudWrapper &)
 

Constructor & Destructor Documentation

niftk::FitPlaneToPointCloudWrapper::FitPlaneToPointCloudWrapper ( )
protected

Not implemented

niftk::FitPlaneToPointCloudWrapper::~FitPlaneToPointCloudWrapper ( )
protectedvirtual

Not implemented

niftk::FitPlaneToPointCloudWrapper::FitPlaneToPointCloudWrapper ( const FitPlaneToPointCloudWrapper )
protected

Not implemented

Member Function Documentation

void niftk::FitPlaneToPointCloudWrapper::FitPlane ( const std::string filename)
Exceptions
std::runtime_errorif filename is emty
std::runtime_errorif file cannot be read (or parsed) for whatever reason
std::runtime_errorif the point cloud in the file has less than 4 points
std::runtime_errorif a plane could not be estimated
void niftk::FitPlaneToPointCloudWrapper::FitPlane ( const mitk::PointSet::Pointer &  pointset)
Exceptions
std::runtime_errorif pointset has less than 4 points
std::runtime_errorif a plane could not be estimated
void niftk::FitPlaneToPointCloudWrapper::GetParameters ( float &  a,
float &  b,
float &  c,
float &  d 
) const
Exceptions
std::logic_errorif FitPlane() has not been called
niftk::FitPlaneToPointCloudWrapper::mitkClassMacroItkParent ( FitPlaneToPointCloudWrapper  ,
itk::Object   
)
FitPlaneToPointCloudWrapper& niftk::FitPlaneToPointCloudWrapper::operator= ( const FitPlaneToPointCloudWrapper )
protected

Not implemented

void niftk::FitPlaneToPointCloudWrapper::PrintOutput ( std::ostream &  log) const

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