YaDICs  V04.14.a
Yet another Digital Image Correlation software: platform dedicated to 2/3D Fluid and Solid kinematics field measurements.
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Cmesh_generate_centroid< T, Timg > Class Template Reference

As Cmesh_Q4 this class is based on regular and rectangular elements. This class works on 7 main attributes declared within the mother class: More...

#include <Cmesh_generate_centroid.h>

Inheritance diagram for Cmesh_generate_centroid< T, Timg >:
Cmesh_generate_regularFem< T, Timg > Cmesh_generate< T, Timg > Cmesh< T, Timg > Cmesh_generate_centroid_integrated< T, Timg >

Public Member Functions

virtual int get_attributes (CParameterNetCDF &fp)
 
virtual int assign (const Cimage< Timg > &oImage)
 
virtual void set_connectivity (const Cimage< Timg > &oImage, const CImgList< T > &nodes, CImgList< int > &elements)
 
virtual int grid_dims (const int &i) const
 
- Public Member Functions inherited from Cmesh_generate_regularFem< T, Timg >
virtual void set_nodes (const Cimage< Timg > &oImage, CImgList< T > &nodes)
 
virtual int cropList (const Cimage< Timg > &oImage, const int &elem, CImg< Timg > &list, std::vector< T > &coord0) const
 
- Public Member Functions inherited from Cmesh< T, Timg >
virtual int exec (const Cimage< Timg > &oImage)
 
void init (CParameterNetCDF &fp)
 
int num_node () const
 
int num_elem () const
 
int num_var () const
 
virtual int num_mod () const
 

Public Attributes

int m_peaks
 
- Public Attributes inherited from Cmesh_generate< T, Timg >
std::vector< int > m_grid
 
- Public Attributes inherited from Cmesh< T, Timg >
std::string class_name
 
std::string m_type
 
std::string m_name
 
std::vector< std::string > m_componentName
 
CImgList< T > m_node
 
CImgList< int > m_connect
 
int _3D
 
int m_threadNB
 
int m_numPix
 
int m_storeMesh
 
bool m_verbose
 
int m_dof
 
std::vector< int > m_pitch
 
std::vector< int > m_win
 

Detailed Description

template<typename T, typename Timg>
class Cmesh_generate_centroid< T, Timg >

As Cmesh_Q4 this class is based on regular and rectangular elements. This class works on 7 main attributes declared within the mother class:

Parameters
[in]m_peaks: <int>. This is the number of analysed peak for Block-matching.
[in]this->m_win: std::vector<int>[3]. It stores the x, y and z dimensions of intercorrelation window. <T> : node table format <Timg> : image format

Member Function Documentation

template<typename T , typename Timg >
virtual int Cmesh_generate_centroid< T, Timg >::assign ( const Cimage< Timg > &  oImage)
inlinevirtual

For regular grid, one uses m_grid[X], [Y] and [Z], i.e grid width height and depth, and the image dimensions to define node positions (node table). Each image corner has its node, and nodes are regularly spaced within the image, excepted at boundary where element dimension could be different.

m_node[nd](X) with X : [x_nd y_nd z_nd]

Reimplemented from Cmesh_generate_regularFem< T, Timg >.

template<typename T , typename Timg >
virtual void Cmesh_generate_centroid< T, Timg >::set_connectivity ( const Cimage< Timg > &  oImage,
const CImgList< T > &  nodes,
CImgList< int > &  elements 
)
inlinevirtual

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