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

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

Inheritance diagram for Line:
Inheritance graph
[legend]
Collaboration diagram for Line:
Collaboration graph
[legend]

Public Member Functions

virtual void FromXMLElement (vtkXMLDataElement *element)
 
std::vector< double > GetDirection ()
 
std::vector< double > GetOrthogonalNormal1 ()
 
std::vector< double > GetOrthogonalNormal2 ()
 
 Line ()
 
 Line (std::vector< double > newBasePoint, std::vector< double > newEndPoint)
 
std::vector< double > ProjectVector (std::vector< double > vector)
 
virtual std::string ToXMLString () const
 
void Translate (std::vector< double > vector)
 
 ~Line ()
 
- Public Member Functions inherited from LinearObject
double DistanceToVector (std::vector< double > vector)
 
 LinearObject ()
 
virtual ~LinearObject ()
 

Public Attributes

std::vector< double > EndPoint
 
- Public Attributes inherited from LinearObject
std::vector< double > BasePoint
 
std::string Name
 
std::vector< double > Signature
 
std::string Type
 

Additional Inherited Members

- Static Public Member Functions inherited from LinearObject
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)
 
- Static Public Attributes inherited from LinearObject
static const int DIMENSION = 3
 

Detailed Description

Definition at line 17 of file Line.h.

Constructor & Destructor Documentation

◆ Line() [1/2]

Line::Line ( )

Definition at line 11 of file Line.cxx.

◆ Line() [2/2]

Line::Line ( std::vector< double >  newBasePoint,
std::vector< double >  newEndPoint 
)

Definition at line 18 of file Line.cxx.

◆ ~Line()

Line::~Line ( )

Definition at line 27 of file Line.cxx.

Member Function Documentation

◆ FromXMLElement()

void Line::FromXMLElement ( vtkXMLDataElement *  element)
virtual

Implements LinearObject.

Definition at line 140 of file Line.cxx.

◆ GetDirection()

std::vector< double > Line::GetDirection ( )

Definition at line 34 of file Line.cxx.

◆ GetOrthogonalNormal1()

std::vector< double > Line::GetOrthogonalNormal1 ( )

Definition at line 61 of file Line.cxx.

◆ GetOrthogonalNormal2()

std::vector< double > Line::GetOrthogonalNormal2 ( )

Definition at line 93 of file Line.cxx.

◆ ProjectVector()

std::vector< double > Line::ProjectVector ( std::vector< double >  vector)
virtual

Implements LinearObject.

Definition at line 42 of file Line.cxx.

◆ ToXMLString()

std::string Line::ToXMLString ( ) const
virtual

Implements LinearObject.

Definition at line 125 of file Line.cxx.

◆ Translate()

void Line::Translate ( std::vector< double >  vector)
virtual

Implements LinearObject.

Definition at line 50 of file Line.cxx.

Member Data Documentation

◆ EndPoint

std::vector<double> Line::EndPoint

Definition at line 20 of file Line.h.


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