#include <matlabBinaryMeshGraphics.hh>

Public Member Functions

 MatlabBinaryMeshGraphics ()
 Default Constructor. More...
 
virtual ~MatlabBinaryMeshGraphics ()
 Nothing to do. More...
 

Static Public Member Functions

template<class G >
static void writeAttributes (const concepts::Connector &cntr, MatrixSpaceOutputCell< G > &bdc)
 Writes given Cell and Vertex attributes in a given MatrixSpaceOutputCell. More...
 
template<class G >
static void writeCoord (const concepts::Real3d point, MatrixSpaceOutputCell< G > *bdc)
 Writes the coordinates in data and increases the counter indexOfPoints. More...
 
template<class G >
static void writeMesh (const concepts::Cell &cell, MatrixSpaceOutputCell< G > *bdc, const concepts::Array< uint > &np, bool boundary=false, bool coord=true)
 Writes the mesh data of a given concepts::Cell in a given MatrixSpaceOutputCell. More...
 

Static Private Member Functions

template<class G >
static void writeEdgeMesh3d_ (const concepts::Array< uint > &np, graphics::DenseMatrixCollection< G > &map, MatrixSpaceOutputCell< G > *&bdc)
 
template<class G >
static void writeFaceAttributes_ (const concepts::Array< uint > &np, graphics::DenseMatrixCollection< G > &map, MatrixSpaceOutputCell< G > *&bdc, const concepts::Hexahedron3d &hexa)
 
template<class G >
static void writeFaceMesh_ (const concepts::Array< uint > &np, graphics::DenseMatrixCollection< G > &map, MatrixSpaceOutputCell< G > *&bdc)
 
template<class G >
static void writeMesh_ (const concepts::EdgeNd &cell, const concepts::Array< uint > &np, graphics::DenseMatrixCollection< G > &map, MatrixSpaceOutputCell< G > *&bdc, bool boundary, bool coord)
 
template<class G >
static void writeMesh_ (const concepts::Hexahedron3d &hexa, const concepts::Array< uint > &np, graphics::DenseMatrixCollection< G > &map, MatrixSpaceOutputCell< G > *&bdc, bool boundary, bool coord)
 Internal function that writes the mesh data of a given concepts::Hexahedron3d in a given MatrixSpaceOutputCell. More...
 
template<class G >
static void writeMesh_ (const concepts::InfiniteQuad2d &quad, const concepts::Array< uint > &np, graphics::DenseMatrixCollection< G > &map, MatrixSpaceOutputCell< G > *&bdc, bool boundary, bool coord)
 Internal function that writes the mesh data of a given concepts::InfiniteQuad2d in a given MatrixSpaceOutputCell. More...
 
template<class G >
static void writeMesh_ (const concepts::QuadNd &quad, const concepts::Array< uint > &np, graphics::DenseMatrixCollection< G > &map, MatrixSpaceOutputCell< G > *&bdc, bool boundary, bool coord)
 Internal function that writes the mesh data of a given concepts::QuadNd in a given MatrixSpaceOutputCell. More...
 

Detailed Description

Definition at line 19 of file matlabBinaryMeshGraphics.hh.

Constructor & Destructor Documentation

◆ MatlabBinaryMeshGraphics()

graphics::MatlabBinaryMeshGraphics::MatlabBinaryMeshGraphics ( )

Default Constructor.

◆ ~MatlabBinaryMeshGraphics()

virtual graphics::MatlabBinaryMeshGraphics::~MatlabBinaryMeshGraphics ( )
virtual

Nothing to do.

Member Function Documentation

◆ writeAttributes()

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeAttributes ( const concepts::Connector cntr,
MatrixSpaceOutputCell< G > &  bdc 
)
static

Writes given Cell and Vertex attributes in a given MatrixSpaceOutputCell.

Warning
Increase Counter (indexOfAttributes, indexOfVtxAttr) of the MatrixSpaceOutputCell

◆ writeCoord()

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeCoord ( const concepts::Real3d  point,
MatrixSpaceOutputCell< G > *  bdc 
)
static

Writes the coordinates in data and increases the counter indexOfPoints.

Parameters
pointPoint to write
bdcThe Cell where we store the point
dimThe dimension

◆ writeEdgeMesh3d_()

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeEdgeMesh3d_ ( const concepts::Array< uint > &  np,
graphics::DenseMatrixCollection< G > &  map,
MatrixSpaceOutputCell< G > *&  bdc 
)
staticprivate

◆ writeFaceAttributes_()

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeFaceAttributes_ ( const concepts::Array< uint > &  np,
graphics::DenseMatrixCollection< G > &  map,
MatrixSpaceOutputCell< G > *&  bdc,
const concepts::Hexahedron3d hexa 
)
staticprivate

◆ writeFaceMesh_()

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeFaceMesh_ ( const concepts::Array< uint > &  np,
graphics::DenseMatrixCollection< G > &  map,
MatrixSpaceOutputCell< G > *&  bdc 
)
staticprivate

◆ writeMesh()

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeMesh ( const concepts::Cell cell,
MatrixSpaceOutputCell< G > *  bdc,
const concepts::Array< uint > &  np,
bool  boundary = false,
bool  coord = true 
)
static

Writes the mesh data of a given concepts::Cell in a given MatrixSpaceOutputCell.

Parameters
boundary(flag if only coordinates lying on the edges should be store)
coord(flag if the coordinates (x , y , z) should be store)
Warning
Increase Counter (counter, indexOfEdgeMesh, indexOfMesh, indexOfVertexMesh, indexOfEdgAttr (and if coord is true indexOfPoints)) of the MatrixSpaceOutputCell

◆ writeMesh_() [1/4]

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeMesh_ ( const concepts::EdgeNd cell,
const concepts::Array< uint > &  np,
graphics::DenseMatrixCollection< G > &  map,
MatrixSpaceOutputCell< G > *&  bdc,
bool  boundary,
bool  coord 
)
staticprivate

◆ writeMesh_() [2/4]

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeMesh_ ( const concepts::Hexahedron3d hexa,
const concepts::Array< uint > &  np,
graphics::DenseMatrixCollection< G > &  map,
MatrixSpaceOutputCell< G > *&  bdc,
bool  boundary,
bool  coord 
)
staticprivate

Internal function that writes the mesh data of a given concepts::Hexahedron3d in a given MatrixSpaceOutputCell.

◆ writeMesh_() [3/4]

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeMesh_ ( const concepts::InfiniteQuad2d quad,
const concepts::Array< uint > &  np,
graphics::DenseMatrixCollection< G > &  map,
MatrixSpaceOutputCell< G > *&  bdc,
bool  boundary,
bool  coord 
)
staticprivate

Internal function that writes the mesh data of a given concepts::InfiniteQuad2d in a given MatrixSpaceOutputCell.

◆ writeMesh_() [4/4]

template<class G >
static void graphics::MatlabBinaryMeshGraphics::writeMesh_ ( const concepts::QuadNd quad,
const concepts::Array< uint > &  np,
graphics::DenseMatrixCollection< G > &  map,
MatrixSpaceOutputCell< G > *&  bdc,
bool  boundary,
bool  coord 
)
staticprivate

Internal function that writes the mesh data of a given concepts::QuadNd in a given MatrixSpaceOutputCell.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich