PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
LinearObject Class Referenceabstract

#include <src/PlusCalibration/vtkPhantomLinearObjectRegistrationAlgo/LinearObject.h>

Inheritance diagram for LinearObject:
Inheritance graph
[legend]

Public Member Functions

double DistanceToVector (std::vector< double > vector)
 
virtual void FromXMLElement (vtkXMLDataElement *element)=0
 
 LinearObject ()
 
virtual std::vector< double > ProjectVector (std::vector< double > vector)=0
 
virtual std::string ToXMLString () const =0
 
virtual void Translate (std::vector< double > vector)=0
 
virtual ~LinearObject ()
 

Static Public Member Functions

static std::vector< double > Add (std::vector< double > v1, std::vector< double > v2)
 
static std::vector< double > Cross (std::vector< double > v1, std::vector< double > v2)
 
static double Distance (std::vector< double > v1, std::vector< double > v2)
 
static double Dot (std::vector< double > v1, std::vector< double > v2)
 
static std::vector< double > Multiply (double c, std::vector< double > vector)
 
static double Norm (std::vector< double > vector)
 
static std::vector< double > StringToVector (std::string s, int size)
 
static std::vector< double > Subtract (std::vector< double > v1, std::vector< double > v2)
 
static std::string VectorToString (std::vector< double > vector)
 

Public Attributes

std::vector< double > BasePoint
 
std::string Name
 
std::vector< double > Signature
 
std::string Type
 

Static Public Attributes

static const int DIMENSION = 3
 

Detailed Description

Definition at line 17 of file LinearObject.h.

Constructor & Destructor Documentation

◆ LinearObject()

LinearObject::LinearObject ( )

Definition at line 13 of file LinearObject.cxx.

◆ ~LinearObject()

LinearObject::~LinearObject ( )
virtual

Definition at line 21 of file LinearObject.cxx.

Member Function Documentation

◆ Add()

std::vector< double > LinearObject::Add ( std::vector< double >  v1,
std::vector< double >  v2 
)
static

Definition at line 102 of file LinearObject.cxx.

◆ Cross()

std::vector< double > LinearObject::Cross ( std::vector< double >  v1,
std::vector< double >  v2 
)
static

Definition at line 85 of file LinearObject.cxx.

◆ Distance()

double LinearObject::Distance ( std::vector< double >  v1,
std::vector< double >  v2 
)
static

Definition at line 36 of file LinearObject.cxx.

◆ DistanceToVector()

double LinearObject::DistanceToVector ( std::vector< double >  vector)

Definition at line 29 of file LinearObject.cxx.

◆ Dot()

double LinearObject::Dot ( std::vector< double >  v1,
std::vector< double >  v2 
)
static

Definition at line 67 of file LinearObject.cxx.

◆ FromXMLElement()

virtual void LinearObject::FromXMLElement ( vtkXMLDataElement *  element)
pure virtual

Implemented in Line, Plane, Point, and Reference.

◆ Multiply()

std::vector< double > LinearObject::Multiply ( double  c,
std::vector< double >  vector 
)
static

Definition at line 138 of file LinearObject.cxx.

◆ Norm()

double LinearObject::Norm ( std::vector< double >  vector)
static

Definition at line 54 of file LinearObject.cxx.

◆ ProjectVector()

virtual std::vector<double> LinearObject::ProjectVector ( std::vector< double >  vector)
pure virtual

Implemented in Line, Plane, Point, and Reference.

◆ StringToVector()

std::vector< double > LinearObject::StringToVector ( std::string  s,
int  size 
)
static

Definition at line 165 of file LinearObject.cxx.

◆ Subtract()

std::vector< double > LinearObject::Subtract ( std::vector< double >  v1,
std::vector< double >  v2 
)
static

Definition at line 120 of file LinearObject.cxx.

◆ ToXMLString()

virtual std::string LinearObject::ToXMLString ( ) const
pure virtual

Implemented in Line, Plane, Point, and Reference.

◆ Translate()

virtual void LinearObject::Translate ( std::vector< double >  vector)
pure virtual

Implemented in Line, Plane, Point, and Reference.

◆ VectorToString()

std::string LinearObject::VectorToString ( std::vector< double >  vector)
static

Definition at line 151 of file LinearObject.cxx.

Member Data Documentation

◆ BasePoint

std::vector<double> LinearObject::BasePoint

Definition at line 23 of file LinearObject.h.

◆ DIMENSION

const int LinearObject::DIMENSION = 3
static

Definition at line 25 of file LinearObject.h.

◆ Name

std::string LinearObject::Name

Definition at line 20 of file LinearObject.h.

◆ Signature

std::vector<double> LinearObject::Signature

Definition at line 22 of file LinearObject.h.

◆ Type

std::string LinearObject::Type

Definition at line 21 of file LinearObject.h.


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