35 return ((
x==0.f) && (
y==0.f) && (
z==0.f));
53 double invScale = 1.f/
Scale;
54 return Vector3(
x * invScale,
y * invScale,
z * invScale );
60 double invScale = 1.f/
Scale;
general : Vector3 is a class for handling 3D Vectors manipulation.
Vector3()
default constructor
bool IsNearlyZero() const
comparison : nearly zero
Vector3 operator/=(double Scale)
double divide
void Set(double a, double b, double c)
set
double x
x,y,z coordinates, 0 at the initialisation
bool IsNearlyEqual(const Vector3 &v) const
comparison : nearly equal
Vector3 GetNormalized() const
return a normalized vector
double NormSquared() const
squared norm
Vector3 operator/(double Scale) const
operator /(double)
bool Normalize()
Normalize.
bool IsZero() const
comparison : zero
double Norm() const
euclidien norm
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.