|
FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
|
A triangular surface stored on a Grid, containing vertices, edges, triangles. More...
#include <TriangularSurfaceWithEdges.hpp>
Public Types | |
| typedef MemArray< 1, TriangleCell > | EdgesPerFaceArray_t |
| The array type to store edges per face on a triangular surface, which will be three edge indices for each triangle cell. | |
| typedef MemArray< 1, TriangleCell > | EdgesPerTriangleArray_t |
| The array type to store edges per face on a triangular surface, which will be three edge indices for each triangle cell. | |
| typedef MemArray< 1, EdgeCell_t > | EdgesArray_t |
| The array type to store the faces per edge within a surface, which will be exactly two such faces for each edge. | |
| typedef MultiArray< 1, EdgeCell_t > | EdgesArray_m_t |
Public Types inherited from Fiber::TriangularSurface | |
| typedef MemArray< 1, Eagle::PhysicalSpace::point > | CoordsArray_t |
| typedef MultiArray< 1, Eagle::PhysicalSpace::point > | CoordsArray_m_t |
| typedef MemArray< 1, TriangleCell_t > | CellArray_t |
| typedef MultiArray< 1, TriangleCell > | CellArray_m_t |
| typedef CellArray_t | ConnectivityArray_t |
| typedef CellArray_t | TriangleArray_t |
| typedef MemArray< 1, Eagle::PhysicalSpace::bivector > | NormalVectorArray_t |
| typedef MultiArray< 1, Eagle::PhysicalSpace::bivector > | NormalVectorArray_m_t |
Public Types inherited from MemCore::StrongPtr< class Object, class ObjectBase > | |
| typedef WeakPtr< Object, ObjectBase >::ObjectBase_t | ObjectBase_t |
Public Types inherited from MemCore::WeakPtr< class Object, class ObjectBase > | |
| typedef Object | object_t |
| typedef ObjectBase | ObjectBase_t |
| typedef RefPtrTypeTrait< Object, ObjectBase >::ReferencePointerType | pointer_t |
| typedef RefPtrTypeTrait< Object, ObjectBase >::ReferenceValueType | refvalue_t |
Public Types inherited from MemCore::DynPtr< class Object, class ObjectBase > | |
| typedef Object | object_t |
Public Types inherited from Fiber::Edges | |
| typedef EdgeCell32 | EdgeCell_t |
| typedef TriangleCell32 | TriangleCell_t |
| typedef TypedArray< Eagle::PhysicalSpace::point > | CoordsArray_t |
| typedef MemArray< 1, Eagle::PhysicalSpace::point > | CoordsMemArray_t |
| typedef MultiArray< 1, Eagle::PhysicalSpace::point > | CoordsMultiArray_m_t |
| typedef MemArray< 1, EdgeCell_t > | EdgesArray_t |
| typedef MemArray< 1, TriangleCell_t > | TriArray_t |
| typedef MemArray< 1, std::vector< index_t > > | IndexSetArray_t |
| typedef MemArray< 1, Eagle::tvector3 > | TangentialVector_t |
| typedef std::vector< index_t > | EdgesPerVertex_t |
| Edges per vertex: variable length! | |
| typedef MemArray< 1, EdgesPerVertex_t > | EdgesPerVertexMemArray_t |
Public Member Functions | |
| RefPtr< Representation > | getEdgesPerFace (bool CreateIfNotFound) const |
| RefPtr< EdgesPerFaceArray_t > | getEdgesPerFaceArray () const |
| TriangularSurfaceWithEdges (const RefPtr< Grid > &=NullPtr()) | |
| Construct from given Grid object. | |
| ~TriangularSurfaceWithEdges () | |
| Destructor. | |
| LineSet | OutLines (const RefPtr< Grid > &OutputGrid) |
| Compute the outlines of this triangular surface. | |
Public Member Functions inherited from Fiber::TriangularSurface | |
| TriangularSurface (const RefPtr< Grid > &=NullPtr()) | |
| Construct a triangular surface from a Grid object, extracting those properties that make a triangular surface. | |
| TriangularSurface & | operator= (const RefPtr< Grid > &) |
| ~TriangularSurface () | |
| Destructor. | |
| RefPtr< CreativeArrayBase > | newVertexNormalCreator () const |
| RefPtr< Field > | getVertexNormalField (const string &FieldName=NormalVectorFieldName) |
| Get normal vectors, possibly computing them if they do not exist yet. | |
| RefPtr< NormalVectorArray_t > | getVertexNormals (const string &FieldName=NormalVectorFieldName) |
| RefPtr< CoordsArray_t > | getCoords () const |
| Get the coordinate data array. | |
| RefPtr< CellArray_t > | getCells () const |
| Get the triangle data array. | |
| template<int N, class T > | |
| RefPtr< Fiber::MemBase > | getTriangularFieldData (const std::string &fieldname, RefPtr< FragmentID > fragID=NullPtr()) |
| RefPtr< CoordsArray_t > | getNormals (const string &FieldName=NormalVectorFieldName) |
| RefPtr< Field > | getTriangleBaryCenters () |
| LineSet | OutLines (const RefPtr< Grid > &OutputGrid) |
| Compute the outlines of this triangular surface. | |
Public Member Functions inherited from MemCore::StrongPtr< class Object, class ObjectBase > | |
| StrongPtr & | assignStrong (const DynPtr_t &other) |
| StrongPtr & | assignStrong (const ReferenceBase< ObjectBase_t > *Obj) |
| StrongPtr & | assignStrong (const std::nullptr_t &) |
| auto | operator() (Arguments...parameters) const -> decltype((*this->getPtrValue())(parameters...)) |
| refvalue_t & | operator* () const |
| pointer_t | operator-> () const |
| StrongPtr & | operator= (const DynPtr_t &other) |
| StrongPtr & | operator= (const ReferenceBase< ObjectBase_t > *Obj) |
| StrongPtr & | operator= (const std::initializer_list< StrongPtr > &other) |
| StrongPtr & | operator= (const std::nullptr_t &) |
| StrongPtr & | operator= (const StrongPtr &other) |
| auto | operator[] (const IndexType &I) const -> decltype((*this->getPtrValue())[I]) |
| StrongPtr (const ReferenceBase< ObjectBase_t > *Obj) | |
| StrongPtr (const ReferenceBase< ObjectBase_t > *Obj, const NotNullPtr &) | |
| StrongPtr (const std::nullptr_t &) | |
| StrongPtr (const StrongPtr< ChildObject, ObjectBase > &Other) | |
| StrongPtr (const StrongPtr< Object, ObjectBase > &Other) | |
| StrongPtr (const WeakPtr< ChildObject, ObjectBase_t > &Other) | |
Public Member Functions inherited from MemCore::WeakPtr< class Object, class ObjectBase > | |
| pointer_t | getPtrValue () const |
| pointer_t | operator-> () const |
| refvalue_t & | operator* () const |
| size_t | operator~ () const |
| WeakPtr (const std::nullptr_t &) | |
| WeakPtr (const ReferenceBase< ObjectBase > *Obj) | |
| WeakPtr (const ReferenceBase< ObjectBase > *Obj, const NotNullPtr &) | |
| WeakPtr (const WeakPtr< AnyObject, ObjectBase > &Other) | |
| WeakPtr (const WeakPtr &Other) | |
| WeakPtr & | assignWeak (const WeakPtr &other) |
| WeakPtr & | operator= (const WeakPtr &other) |
Public Member Functions inherited from MemCore::DynPtr< class Object, class ObjectBase > | |
| const DynPtr & | getDynPtr () const noexcept |
| const type_info & | getType () const noexcept |
| bool | isAssignable (const DynPtr< ObjectBase, ObjectBase > &Other) const noexcept |
| operator void * () const noexcept | |
| bool | operator! () const noexcept |
| void | speak (const char *s, const char *prefix="") const noexcept |
| void | Speak (const char *s, const char *prefix="") const |
Public Member Functions inherited from Fiber::Edges | |
| Edges (const RefPtr< Grid > &G) | |
| Retrieve a Edge information from a Grid object. | |
| ~Edges () | |
| Destructor, cleans up references. | |
Additional Inherited Members | |
Public Attributes inherited from Fiber::TriangularSurface | |
| RefPtr< Field > | CoordField |
| Field for the vertex coordinates. | |
| RefPtr< Field > | VertexNormalField |
| internal storage of the vertex normal field if existent Use getVertexNormalField() to compute the normals, if required | |
| RefPtr< Field > | CellField |
| Field for the triangle indices. | |
| RefPtr< Representation > | CartesianVertices |
| Collection of all fields given on vertices relative to cartesian coordinates. | |
| RefPtr< Representation > | CellsAsVertices |
| Collection of all fields given on triangles. | |
Public Attributes inherited from Fiber::Edges | |
| RefPtr< Skeleton > | EdgeSkeleton |
| RefPtr< Representation > | VerticesPerEdge |
| RefPtr< Field > | VerticesPerEdgeField |
| RefPtr< EdgesArray_t > | VerticesPerEdgeArray |
Static Public Attributes inherited from Fiber::TriangularSurface | |
| static const char | NormalVectorFieldName [] = "Normals" |
| A default name for the field that holds the normal vectors of a grid with a surface. | |
Protected Member Functions inherited from MemCore::WeakPtr< class Object, class ObjectBase > | |
| WeakPtr (Object *that, const SelfInitialize &) | |
Protected Member Functions inherited from MemCore::DynPtr< class Object, class ObjectBase > | |
| DynPtr (const DynPtr< AnyObject, ObjectBase > &Other) noexcept | |
| DynPtr (const std::nullptr_t &) noexcept | |
| Fiber::TriangularSurfaceWithEdges::TriangularSurfaceWithEdges | ( | const RefPtr< Grid > & | G = NullPtr() | ) |
Construct from given Grid object.
TriangularSurfaceWithEdge.
|
static |
Create vertices per edge and edges per triangle.
DOEBY: TriangularSurfaceWithEdge 2 Create Edges Per Triangle and vertices per edge.
Store them to Grid.
Get the vector of the point-index of each triangle
Adding to Grid
References Fiber::Edges::addVerticesPerEdgeArray(), Fiber::Edges::getVerticesPerEdgeArray(), and std::to_string().
Referenced by createEdgesPerVertex(), createTrianglesPerEdge(), createTrianglesPerTriangle(), and createTrianglesPerVertex().
|
static |
There will be three edges per triangle.
The Positions field of this Representation object will thus be of type EdgesPerFaceArray_t.
References Fiber::Edges::getEdgeSkeleton(), and Fiber::TriangularSurface::getFaceSkeleton().