|
Nektar++
|
Converter for Ply files. More...
#include <InputPly.h>


Public Member Functions | |
| InputPly (NekMeshUtils::MeshSharedPtr m) | |
| virtual | ~InputPly () |
| virtual void | Process () |
| Populate and validate required data structures. More... | |
| void | ReadPly (io::filtering_istream &mshFile, NekDouble scale=1.0) |
Public Member Functions inherited from Nektar::NekMeshUtils::InputModule | |
| NEKMESHUTILS_EXPORT | InputModule (MeshSharedPtr p_m) |
| NEKMESHUTILS_EXPORT void | OpenStream () |
| Open a file for input. More... | |
Public Member Functions inherited from Nektar::NekMeshUtils::Module | |
| NEKMESHUTILS_EXPORT | Module (MeshSharedPtr p_m) |
| NEKMESHUTILS_EXPORT void | RegisterConfig (std::string key, std::string value) |
| Register a configuration option with a module. More... | |
| NEKMESHUTILS_EXPORT void | PrintConfig () |
| Print out all configuration options for a module. More... | |
| NEKMESHUTILS_EXPORT void | SetDefaults () |
| Sets default configuration options for those which have not been set. More... | |
| NEKMESHUTILS_EXPORT MeshSharedPtr | GetMesh () |
| virtual NEKMESHUTILS_EXPORT void | ProcessVertices () |
| Extract element vertices. More... | |
| virtual NEKMESHUTILS_EXPORT void | ProcessEdges (bool ReprocessEdges=true) |
| Extract element edges. More... | |
| virtual NEKMESHUTILS_EXPORT void | ProcessFaces (bool ReprocessFaces=true) |
| Extract element faces. More... | |
| virtual NEKMESHUTILS_EXPORT void | ProcessElements () |
| Generate element IDs. More... | |
| virtual NEKMESHUTILS_EXPORT void | ProcessComposites () |
| Generate composites. More... | |
| virtual NEKMESHUTILS_EXPORT void | ClearElementLinks () |
Static Public Member Functions | |
| static NekMeshUtils::ModuleSharedPtr | create (NekMeshUtils::MeshSharedPtr m) |
| Creates an instance of this class. More... | |
Static Public Attributes | |
| static NekMeshUtils::ModuleKey | className |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::NekMeshUtils::InputModule | |
| NEKMESHUTILS_EXPORT void | PrintSummary () |
| Print summary of elements. More... | |
Protected Member Functions inherited from Nektar::NekMeshUtils::Module | |
| NEKMESHUTILS_EXPORT void | ReorderPrisms (PerMap &perFaces) |
| Reorder node IDs so that prisms and tetrahedra are aligned correctly. More... | |
| NEKMESHUTILS_EXPORT void | PrismLines (int prism, PerMap &perFaces, std::set< int > &prismsDone, std::vector< ElementSharedPtr > &line) |
Protected Attributes inherited from Nektar::NekMeshUtils::InputModule | |
| io::filtering_istream | m_mshFile |
| Input stream. More... | |
| std::ifstream | m_mshFileStream |
| Input stream. More... | |
Protected Attributes inherited from Nektar::NekMeshUtils::Module | |
| MeshSharedPtr | m_mesh |
| Mesh object. More... | |
| std::map< std::string, ConfigOption > | m_config |
| List of configuration values. More... | |
Converter for Ply files.
Definition at line 47 of file InputPly.h.
| Nektar::Utilities::InputPly::InputPly | ( | NekMeshUtils::MeshSharedPtr | m | ) |
Definition at line 53 of file InputPly.cpp.
|
virtual |
Definition at line 57 of file InputPly.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file InputPly.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
virtual |
Populate and validate required data structures.
| pFilename | Filename of Gmsh file to read. |
Implements Nektar::NekMeshUtils::Module.
Definition at line 65 of file InputPly.cpp.
References Nektar::NekMeshUtils::InputModule::m_mshFile, Nektar::NekMeshUtils::InputModule::OpenStream(), Nektar::NekMeshUtils::Module::ProcessComposites(), Nektar::NekMeshUtils::Module::ProcessEdges(), Nektar::NekMeshUtils::Module::ProcessElements(), Nektar::NekMeshUtils::Module::ProcessFaces(), Nektar::NekMeshUtils::Module::ProcessVertices(), and ReadPly().
| void Nektar::Utilities::InputPly::ReadPly | ( | io::filtering_istream & | mshFile, |
| NekDouble | scale = 1.0 |
||
| ) |
Definition at line 82 of file InputPly.cpp.
References ASSERTL0, Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::LibUtilities::eTriangle, Nektar::NekMeshUtils::GetElementFactory(), Nektar::NekMeshUtils::Module::m_mesh, and class_topology::Node.
Referenced by Process().
|
static |
Definition at line 55 of file InputPly.h.
1.8.8