fw4spl
fwDataTools Namespace Reference

The namespace fwDataTools contains classes which provide helpers to manipulate fwData::Object. *. More...

Namespaces

 fieldHelper
 This namespace fwDataTools::fieldHelper contains several helpers for using field.
 
 helper
 This namespace fwDataTools::helper contains several helpers for using data like Image, Composite, Message.
 

Classes

class  Color
 This class contains helper to manipulate colors. More...
 
class  Image
 This class contains helper to generate and compare images. More...
 
class  ImageDiff
 Class memorizing pixel changes in an image. More...
 
class  Mesh
 This helper generates a mesh using specified structure (quad or triangle). More...
 
struct  PickingInfo
 Structure to store picking information. More...
 
class  Point
 
struct  RandFloat
 
struct  RoiApplyer
 
struct  RoiApplyerCaller
 
struct  RoiApplyerParam
 
struct  RoiTester
 
struct  RoiTesterCaller
 
struct  RoiTesterParam
 
class  TransferFunction
 This class contains helper to generate and compare TransferFunction. More...
 
class  TransformationMatrix3D
 TransformationMatrix3D performs matrices computations. More...
 
class  Vector
 

Typedefs

typedef boost::multi_array_ref< Point, 1 > PointsMultiArrayType
 
typedef std::vector< std::vector< unsigned char > > CharVectors
 
typedef std::vector< std::vector< float > > FloatVectors
 

Functions

Vector< float > & computeTriangleNormal (const Point &p1, const Point &p2, const Point &p3, Vector< float > &n)
 
Vector< float > & computeTriangleNormal (const PointsMultiArrayType &points, const ::fwData::Mesh::CellValueType *cell, Vector< float > &n)
 
Vector< float > & computeCellNormal (const PointsMultiArrayType &points, const ::fwData::Mesh::CellValueType *cell, size_t cellSize, Vector< float > &n)
 
void generateRegionCellNormals (::fwDataTools::helper::Mesh::sptr meshHelper, const ::fwData::Mesh::Id regionMin, const ::fwData::Mesh::Id regionMax)
 
template<typename T >
void vectorSum (std::vector< std::vector< T > > &vectors, size_t regionMin, size_t regionMax)
 
void generateRegionCellNormalsByPoints (FloatVectors &normalsData, CharVectors &normalCounts, size_t dataId,::fwDataTools::helper::Mesh::sptr meshHelper, const ::fwData::Mesh::Id regionMin, const ::fwData::Mesh::Id regionMax)
 
void normalizeRegionCellNormalsByPoints (FloatVectors::value_type &normalsData, CharVectors::value_type &normalCount,::fwData::Mesh::sptr mesh, const ::fwData::Mesh::Id regionMin, const ::fwData::Mesh::Id regionMax)
 
template<typename T >
void regionShakeNormals (T normals, const ::fwData::Mesh::Id regionMin, const ::fwData::Mesh::Id regionMax)
 

Detailed Description

The namespace fwDataTools contains classes which provide helpers to manipulate fwData::Object. *.