10 #include "vtkXMLDataElement.h" 35 virtual std::vector<double>
ProjectVector( std::vector<double> vector ) = 0;
36 virtual void Translate( std::vector<double> vector ) = 0;
42 static double Distance( std::vector<double> v1, std::vector<double> v2 );
43 static double Norm( std::vector<double> vector );
44 static double Dot( std::vector<double> v1, std::vector<double> v2 );
45 static std::vector<double>
Cross( std::vector<double> v1, std::vector<double> v2 );
47 static std::vector<double>
Add( std::vector<double> v1, std::vector<double> v2 );
48 static std::vector<double>
Subtract( std::vector<double> v1, std::vector<double> v2 );
49 static std::vector<double>
Multiply(
double c, std::vector<double> vector );
52 static std::vector<double>
StringToVector( std::string s,
int size );
static double Distance(std::vector< double > v1, std::vector< double > v2)
static double Norm(std::vector< double > vector)
static std::vector< double > Add(std::vector< double > v1, std::vector< double > v2)
std::vector< double > BasePoint
virtual std::vector< double > ProjectVector(std::vector< double > vector)=0
static const int DIMENSION
static double Dot(std::vector< double > v1, std::vector< double > v2)
virtual std::string ToXMLString() const =0
std::vector< double > Signature
virtual void FromXMLElement(vtkXMLDataElement *element)=0
virtual void Translate(std::vector< double > vector)=0
double DistanceToVector(std::vector< double > vector)
static std::vector< double > StringToVector(std::string s, int size)
static std::string VectorToString(std::vector< double > vector)
static std::vector< double > Cross(std::vector< double > v1, std::vector< double > v2)
static std::vector< double > Multiply(double c, std::vector< double > vector)
static std::vector< double > Subtract(std::vector< double > v1, std::vector< double > v2)