IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
ipsdk::geom::Vector3d Class Reference

Vector class associated to spherical 3d coordinates. More...

#include <Vector3d.h>

Inheritance diagram for ipsdk::geom::Vector3d:
ipsdk::geom::BaseTypedGeometryEntity3d< ipReal64 > ipsdk::geom::BaseGeometryEntity3d ipsdk::geom::BaseGeometryEntity ipsdk::BaseObjectWithSkeleton ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject

Public Member Functions

eCoordinateSystem3dType getCoordinateSystem3dType () const
 method allowing to retrieve coordinate system 3d type
 
eEntity3dType getEntity3dType () const
 method allowing to retrieve entity 3d type
 
Constructors and destructors
 Vector3d ()
 
 Vector3d (const ipReal64 rho, const ipReal64 theta, const ipReal64 phi)
 
template<typename T >
 Vector3d (const Point3d< T > &ptEnd, const Point3d< T > &ptStart)
 
template<typename T >
 Vector3d (const Point3dData< T > &ptEnd, const Point3dData< T > &ptStart)
 
template<typename T >
 Vector3d (const Point3d< T > &ptEnd)
 
template<typename T >
 Vector3d (const Point3dData< T > &ptEnd)
 
 ~Vector3d ()
 
void setCoords (const ipReal64 rho, const ipReal64 theta, const ipReal64 phi)
 access to point coordinates
 
template<typename T >
void setCoords (const Point3d< T > &ptEnd, const Point3d< T > &ptStart)
 access to point coordinates
 
template<typename T >
void setCoords (const Point3dData< T > &ptEnd, const Point3dData< T > &ptStart)
 access to point coordinates
 
template<typename T >
void setCoords (const Point3d< T > &ptEnd)
 access to point coordinates
 
template<typename T >
void setCoords (const Point3dData< T > &ptEnd)
 access to point coordinates
 
void setRho (const ipReal64 rho)
 access to point coordinates
 
void setTheta (const ipReal64 theta)
 access to point coordinates
 
void setPhi (const ipReal64 phi)
 access to point coordinates
 
ipReal64 getRho () const
 access to point coordinates
 
ipReal64 getTheta () const
 access to point coordinates
 
ipReal64 getPhi () const
 access to point coordinates
 
ipReal64 getCosTheta () const
 access to computation intermediate
 
ipReal64 getSinTheta () const
 access to computation intermediate
 
ipReal64 getCosPhi () const
 access to computation intermediate
 
ipReal64 getSinPhi () const
 access to computation intermediate
 
ipReal64 getX () const
 retrieve cartesian components of vector
 
ipReal64 getY () const
 retrieve cartesian components of vector
 
ipReal64 getZ () const
 retrieve cartesian components of vector
 
ipReal64 getNx () const
 retrieve unit normed cartesian components of vector
 
ipReal64 getNy () const
 retrieve unit normed cartesian components of vector
 
ipReal64 getNz () const
 retrieve unit normed cartesian components of vector
 
Vector3doperator+= (const Vector3d &vec)
 arithmetic operators on vector
 
Vector3d operator+ (const Vector3d &vec) const
 arithmetic operators on vector
 
Vector3doperator-= (const Vector3d &vec)
 arithmetic operators on vector
 
Vector3d operator- (const Vector3d &vec) const
 arithmetic operators on vector
 
Vector3doperator*= (const ipReal64 value)
 arithmetic operators on vector
 
Vector3d operator* (const ipReal64 value) const
 arithmetic operators on vector
 
Vector3doperator/= (const ipReal64 value)
 arithmetic operators on vector
 
Vector3d operator/ (const ipReal64 value) const
 arithmetic operators on vector
 
- Public Member Functions inherited from ipsdk::geom::BaseTypedGeometryEntity3d< ipReal64 >
 BaseTypedGeometryEntity3d ()
 
virtual ~BaseTypedGeometryEntity3d ()=0
 
- Public Member Functions inherited from ipsdk::geom::BaseGeometryEntity3d
eCoordinateDimension getCoordinateDimension () const
 method allowing to retrieve entity underlying coordinates dimension
 
 BaseGeometryEntity3d ()
 
virtual ~BaseGeometryEntity3d ()=0
 
- Public Member Functions inherited from ipsdk::geom::BaseGeometryEntity
 BaseGeometryEntity ()
 
virtual ~BaseGeometryEntity ()=0
 
- Public Member Functions inherited from ipsdk::BaseObjectWithSkeleton
const eSklSrzModegetSerializationMode () const
 retrieve serialization flag for object More...
 
void setSerializationMode (const eSklSrzMode &sklSrzMode) const
 set serialization flag for object
 
 BaseObjectWithSkeleton ()
 
 ~BaseObjectWithSkeleton ()
 
- Public Member Functions inherited from ipsdk::BaseSerializationObject
 BaseSerializationObject ()
 Default constructor.
 
virtual ~BaseSerializationObject ()=0
 destructor
 
- Public Member Functions inherited from ipsdk::BaseDynamicObject
virtual const std::string & getClassName () const
 method allowing to retrieve object class name
 
virtual BaseDynamicObjectcreateNew () const =0
 method allowing to create new instance of current object type
 
virtual DynamicObjectPtr createShared () const =0
 method allowing to create new shared instance of current object type
 
virtual bool hasCopySupport () const =0
 check whether objet has copy support
 
virtual BaseDynamicObjectduplicate () const =0
 method allowing to duplicate current object More...
 
virtual DynamicObjectPtr duplicateShared () const =0
 method allowing shared duplication of current object More...
 
 BaseDynamicObject ()
 
virtual ~BaseDynamicObject ()=0
 

Static Public Attributes

static const eCoordinateSystem3dType::domain g_coordinateSystem3dType = eCoordinateSystem3dType::eCS3DT_Spherical
 coordinate system associated to entity
 
static const eEntity3dType::domain g_entity3dType = eEntity3dType::eE3DT_Vector
 type associated to entity
 
- Static Public Attributes inherited from ipsdk::geom::BaseGeometryEntity3d
static const eCoordinateDimension::domain g_coordinateDimension = eCoordinateDimension::eCD_3d
 entity underlying coordinates dimension
 

Protected Attributes

ipReal64 _rho
 rho coordinate of point
 
ipReal64 _theta
 theta coordinate of point
 
ipReal64 _phi
 phi coordinate of point
 
ipReal64 _cosTheta
 computation intermediate
 
ipReal64 _sinTheta
 computation intermediate
 
ipReal64 _cosPhi
 computation intermediate
 
ipReal64 _sinPhi
 computation intermediate
 
- Protected Attributes inherited from ipsdk::BaseObjectWithSkeleton
eSklSrzMode _sklSrzMode
 serialization flag for object More...
 

Additional Inherited Members

- Public Types inherited from ipsdk::geom::BaseTypedGeometryEntity3d< ipReal64 >
typedef ipReal64 DataType
 data type associated to coordinates
 
- Static Public Member Functions inherited from ipsdk::BaseSerializationObject
static ipUInt32 getVersion ()
 method allowing to retrieve class version information for serialization
 
- Static Public Member Functions inherited from ipsdk::BaseDynamicObject
static const std::string & getTypeName ()
 method allowing to retrieve name associated to class
 
- Protected Member Functions inherited from ipsdk::BaseSerializationObject
virtual BoolResult write (BaseOArchive &ar) const
 method allowing to ensure serialization write part for object
 
virtual BoolResult read (BaseIArchive &ar)
 method allowing to ensure serialization read part for object
 
- Protected Member Functions inherited from ipsdk::BaseDynamicObject
virtual void initCtorCopy (const BaseDynamicObject &object)
 
virtual void copy (const BaseDynamicObject &object)
 method allowing to copy data from another object
 

Detailed Description

Vector class associated to spherical 3d coordinates.

Author
E. Noirfalise
Date
2015/04/22

For more informations report to Points and vectors 3d representation


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