OpenWalnut
1.5.0dev
|
Holds the vectors that store the data for the points and fibers. More...
#include <WConverterVectors.h>
Public Types | |
typedef std::shared_ptr< WConverterVectors > | SPtr |
A shared_ptr to this class. More... | |
Public Member Functions | |
WConverterVectors () | |
Initializes the vectors as empty vectors. More... | |
void | clear () |
Clears all vectors. More... | |
SPFloatVector | getVertices () |
Gets the vertices as shared_ptr to a float vector. More... | |
SPFloatVector | getSizes () |
Gets the sizes as shared_ptr to a float vector. More... | |
SPFloatVector | getColors () |
Gets the colors as shared_ptr to a float vector. More... | |
SPFloatVector | getEdeps () |
Gets the edeps as shared_ptr to a float vector. More... | |
SPSizeVector | getFiberStartIndexes () |
Gets the fiber start indexes as shared_ptr to a size_t vector. More... | |
SPSizeVector | getFiberLengths () |
Gets the fiber lengths as shared_ptr to a size_t vector. More... | |
SPSizeVector | getVerticesReverse () |
Gets the reverse vertices as shared_ptr to a size_t vector. More... | |
SPSizeVector | getEventIDs () |
Gets the event IDs as shared_ptr to a size_t vector. More... | |
Private Attributes | |
SPFloatVector | m_vertices |
The vertices. More... | |
SPFloatVector | m_sizes |
The sizes. More... | |
SPFloatVector | m_colors |
The colors. More... | |
SPFloatVector | m_edeps |
The edeps. More... | |
SPSizeVector | m_fiberStartIndexes |
The fiber start indexes. More... | |
SPSizeVector | m_fiberLengths |
The fiber lengths. More... | |
SPSizeVector | m_verticesReverse |
The reverse vertices. More... | |
SPSizeVector | m_eventIDs |
the event IDs. More... | |
Holds the vectors that store the data for the points and fibers.
Definition at line 46 of file WConverterVectors.h.
typedef std::shared_ptr< WConverterVectors > WConverterVectors::SPtr |
A shared_ptr to this class.
Definition at line 52 of file WConverterVectors.h.
WConverterVectors::WConverterVectors | ( | ) |
Initializes the vectors as empty vectors.
Definition at line 30 of file WConverterVectors.cpp.
References m_colors, m_edeps, m_eventIDs, m_fiberLengths, m_fiberStartIndexes, m_sizes, m_vertices, and m_verticesReverse.
void WConverterVectors::clear | ( | ) |
Clears all vectors.
Definition at line 42 of file WConverterVectors.cpp.
References m_colors, m_edeps, m_eventIDs, m_fiberLengths, m_fiberStartIndexes, m_sizes, m_vertices, and m_verticesReverse.
SPFloatVector WConverterVectors::getColors | ( | ) |
Gets the colors as shared_ptr to a float vector.
Definition at line 64 of file WConverterVectors.cpp.
References m_colors.
SPFloatVector WConverterVectors::getEdeps | ( | ) |
Gets the edeps as shared_ptr to a float vector.
Definition at line 69 of file WConverterVectors.cpp.
References m_edeps.
SPSizeVector WConverterVectors::getEventIDs | ( | ) |
Gets the event IDs as shared_ptr to a size_t vector.
Definition at line 89 of file WConverterVectors.cpp.
References m_eventIDs.
SPSizeVector WConverterVectors::getFiberLengths | ( | ) |
Gets the fiber lengths as shared_ptr to a size_t vector.
Definition at line 79 of file WConverterVectors.cpp.
References m_fiberLengths.
SPSizeVector WConverterVectors::getFiberStartIndexes | ( | ) |
Gets the fiber start indexes as shared_ptr to a size_t vector.
Definition at line 74 of file WConverterVectors.cpp.
References m_fiberStartIndexes.
SPFloatVector WConverterVectors::getSizes | ( | ) |
Gets the sizes as shared_ptr to a float vector.
Definition at line 59 of file WConverterVectors.cpp.
References m_sizes.
SPFloatVector WConverterVectors::getVertices | ( | ) |
Gets the vertices as shared_ptr to a float vector.
Definition at line 54 of file WConverterVectors.cpp.
References m_vertices.
SPSizeVector WConverterVectors::getVerticesReverse | ( | ) |
Gets the reverse vertices as shared_ptr to a size_t vector.
Definition at line 84 of file WConverterVectors.cpp.
References m_verticesReverse.
|
private |
The colors.
Definition at line 117 of file WConverterVectors.h.
Referenced by clear(), getColors(), and WConverterVectors().
|
private |
The edeps.
Definition at line 119 of file WConverterVectors.h.
Referenced by clear(), getEdeps(), and WConverterVectors().
|
private |
the event IDs.
Definition at line 127 of file WConverterVectors.h.
Referenced by clear(), getEventIDs(), and WConverterVectors().
|
private |
The fiber lengths.
Definition at line 123 of file WConverterVectors.h.
Referenced by clear(), getFiberLengths(), and WConverterVectors().
|
private |
The fiber start indexes.
Definition at line 121 of file WConverterVectors.h.
Referenced by clear(), getFiberStartIndexes(), and WConverterVectors().
|
private |
The sizes.
Definition at line 115 of file WConverterVectors.h.
Referenced by clear(), getSizes(), and WConverterVectors().
|
private |
The vertices.
Definition at line 113 of file WConverterVectors.h.
Referenced by clear(), getVertices(), and WConverterVectors().
|
private |
The reverse vertices.
Definition at line 125 of file WConverterVectors.h.
Referenced by clear(), getVerticesReverse(), and WConverterVectors().