![]() |
OpenLB 1.8.1
|
#include <stlReader.h>
Collaboration diagram for olb::STLmesh< T >:Public Member Functions | |
| STLmesh (std::string, T stlSize=1.) | |
| Constructs a new STLmesh from a file. | |
| STLmesh (const std::vector< std::vector< T > > meshPoints, T stlSize=1.) | |
| Constructs a new STLmesh from a file. | |
| STLtriangle< T > & | getTri (unsigned int i) |
| Returns reference to a triangle. | |
| std::vector< STLtriangle< T > > & | getTriangles () |
| Returns reference to all triangles. | |
| unsigned int | triangleSize () const |
| Returns number of triangles. | |
| Vector< T, 3 > & | getMin () |
| Returns _min. | |
| Vector< T, 3 > & | getMax () |
| Returns _max. | |
| float | maxDist2 () const |
| Returns maxDist squared. | |
| void | print (bool full=false) |
| Prints console output. | |
| void | write (std::string fName) |
| Writes STL mesh in Si units. | |
| bool | testRayIntersect (const std::set< unsigned int > &tris, const Vector< T, 3 > &pt, const Vector< T, 3 > &dir, Vector< T, 3 > &q, T &alpha) |
| Compute intersection between Ray and set of triangles; returns true if intersection is found. | |
| STLmesh (std::string, T stlSize=1.) | |
| Constructs a new STLmesh from a file. | |
| STLmesh (const std::vector< std::vector< T > > meshPoints, T stlSize=1.) | |
| Constructs a new STLmesh from a file. | |
| STLtriangle< T > & | getTri (unsigned int i) |
| Returns reference to a triangle. | |
| std::vector< STLtriangle< T > > & | getTriangles () |
| Returns reference to all triangles. | |
| unsigned int | triangleSize () const |
| Returns number of triangles. | |
| Vector< T, 3 > & | getMin () |
| Returns _min. | |
| Vector< T, 3 > & | getMax () |
| Returns _max. | |
| float | maxDist2 () const |
| Returns maxDist squared. | |
| void | print (bool full=false) |
| Prints console output. | |
| void | write (std::string fName) |
| Writes STL mesh in Si units. | |
| bool | testRayIntersect (const std::set< unsigned int > &tris, const Vector< T, 3 > &pt, const Vector< T, 3 > &dir, Vector< T, 3 > &q, T &alpha) |
| Compute intersection between Ray and set of triangles; returns true if intersection is found. | |
Definition at line 152 of file STLreaderForSubgridParticleWallContact.h.
| olb::STLmesh< T >::STLmesh | ( | std::string | fName, |
| T | stlSize = 1. ) |
Constructs a new STLmesh from a file.
| Filename | - Filename |
| stlSize | - Conversion factor for STL (e.g. STL in mm stlSize=10^-3) |
Definition at line 452 of file stlReader.hh.
References olb::STLtriangle< T >::init(), olb::util::max(), olb::util::min(), olb::STLtriangle< T >::normal, and olb::STLtriangle< T >::point.
Here is the call graph for this function:| olb::STLmesh< T >::STLmesh | ( | const std::vector< std::vector< T > > | meshPoints, |
| T | stlSize = 1. ) |
Constructs a new STLmesh from a file.
| Filename | - Filename |
| stlSize | - Conversion factor for STL (e.g. STL in mm stlSize=10^-3) |
Definition at line 671 of file stlReader.hh.
References olb::STLtriangle< T >::init(), olb::util::max(), olb::util::min(), and olb::STLtriangle< T >::point.
Here is the call graph for this function:| olb::STLmesh< T >::STLmesh | ( | std::string | , |
| T | stlSize = 1. ) |
Constructs a new STLmesh from a file.
| Filename | - Filename |
| stlSize | - Conversion factor for STL (e.g. STL in mm stlSize=10^-3) |
| olb::STLmesh< T >::STLmesh | ( | const std::vector< std::vector< T > > | meshPoints, |
| T | stlSize = 1. ) |
Constructs a new STLmesh from a file.
| Filename | - Filename |
| stlSize | - Conversion factor for STL (e.g. STL in mm stlSize=10^-3) |
|
inline |
|
inline |
Returns _max.
Definition at line 202 of file STLreaderForSubgridParticleWallContact.h.
|
inline |
|
inline |
Returns _min.
Definition at line 197 of file STLreaderForSubgridParticleWallContact.h.
|
inline |
Returns reference to a triangle.
Definition at line 161 of file stlReader.h.
|
inline |
Returns reference to a triangle.
Definition at line 182 of file STLreaderForSubgridParticleWallContact.h.
|
inline |
Returns reference to all triangles.
Definition at line 166 of file stlReader.h.
Here is the caller graph for this function:
|
inline |
Returns reference to all triangles.
Definition at line 187 of file STLreaderForSubgridParticleWallContact.h.
|
inline |
Returns maxDist squared.
Definition at line 186 of file stlReader.h.
|
inline |
Returns maxDist squared.
Definition at line 207 of file STLreaderForSubgridParticleWallContact.h.
| void olb::STLmesh< T >::print | ( | bool | full = false | ) |
Prints console output.
Definition at line 773 of file stlReader.hh.
| void olb::STLmesh< T >::print | ( | bool | full = false | ) |
Prints console output.
| bool olb::STLmesh< T >::testRayIntersect | ( | const std::set< unsigned int > & | tris, |
| const Vector< T, 3 > & | pt, | ||
| const Vector< T, 3 > & | dir, | ||
| Vector< T, 3 > & | q, | ||
| T & | alpha ) |
Compute intersection between Ray and set of triangles; returns true if intersection is found.
Definition at line 832 of file stlReader.hh.
| bool olb::STLmesh< T >::testRayIntersect | ( | const std::set< unsigned int > & | tris, |
| const Vector< T, 3 > & | pt, | ||
| const Vector< T, 3 > & | dir, | ||
| Vector< T, 3 > & | q, | ||
| T & | alpha ) |
Compute intersection between Ray and set of triangles; returns true if intersection is found.
|
inline |
Returns number of triangles.
Definition at line 171 of file stlReader.h.
|
inline |
Returns number of triangles.
Definition at line 192 of file STLreaderForSubgridParticleWallContact.h.
| void olb::STLmesh< T >::write | ( | std::string | fName | ) |
Writes STL mesh in Si units.
Definition at line 797 of file stlReader.hh.
References olb::singleton::directories(), olb::singleton::MpiManager::getRank(), olb::singleton::Directories::getVtkOutDir(), and olb::singleton::mpi().
Here is the call graph for this function:| void olb::STLmesh< T >::write | ( | std::string | fName | ) |
Writes STL mesh in Si units.