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

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

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

Public Member Functions

virtual void FromXMLElement (vtkXMLDataElement *element)
 
std::vector< double > GetNormal ()
 
 Plane ()
 
 Plane (std::vector< double > newBasePoint, std::vector< double > newEndPoint1, std::vector< double > newEndPoint2)
 
std::vector< double > ProjectVector (std::vector< double > vector)
 
virtual std::string ToXMLString () const
 
void Translate (std::vector< double > vector)
 
 ~Plane ()
 
- Public Member Functions inherited from LinearObject
double DistanceToVector (std::vector< double > vector)
 
 LinearObject ()
 
virtual ~LinearObject ()
 

Protected Attributes

std::vector< double > EndPoint1
 
std::vector< double > EndPoint2
 

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)
 
- Public Attributes inherited from LinearObject
std::vector< double > BasePoint
 
std::string Name
 
std::vector< double > Signature
 
std::string Type
 
- Static Public Attributes inherited from LinearObject
static const int DIMENSION = 3
 

Detailed Description

Definition at line 18 of file Plane.h.

Constructor & Destructor Documentation

◆ Plane() [1/2]

Plane::Plane ( )

Definition at line 11 of file Plane.cxx.

◆ Plane() [2/2]

Plane::Plane ( std::vector< double >  newBasePoint,
std::vector< double >  newEndPoint1,
std::vector< double >  newEndPoint2 
)

Definition at line 18 of file Plane.cxx.

◆ ~Plane()

Plane::~Plane ( )

Definition at line 28 of file Plane.cxx.

Member Function Documentation

◆ FromXMLElement()

void Plane::FromXMLElement ( vtkXMLDataElement *  element)
virtual

Implements LinearObject.

Definition at line 81 of file Plane.cxx.

◆ GetNormal()

std::vector< double > Plane::GetNormal ( )

Definition at line 36 of file Plane.cxx.

◆ ProjectVector()

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

Implements LinearObject.

Definition at line 45 of file Plane.cxx.

◆ ToXMLString()

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

Implements LinearObject.

Definition at line 65 of file Plane.cxx.

◆ Translate()

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

Implements LinearObject.

Definition at line 53 of file Plane.cxx.

Member Data Documentation

◆ EndPoint1

std::vector<double> Plane::EndPoint1
protected

Definition at line 33 of file Plane.h.

◆ EndPoint2

std::vector<double> Plane::EndPoint2
protected

Definition at line 34 of file Plane.h.


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