OpenWalnut  1.5.0dev
Public Types | Public Member Functions | Private Attributes | List of all members
WConverterVectors Class Reference

Holds the vectors that store the data for the points and fibers. More...

#include <WConverterVectors.h>

+ Collaboration diagram for WConverterVectors:

Public Types

typedef std::shared_ptr< WConverterVectorsSPtr
 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...
 

Detailed Description

Holds the vectors that store the data for the points and fibers.

Definition at line 46 of file WConverterVectors.h.

Member Typedef Documentation

◆ SPtr

typedef std::shared_ptr< WConverterVectors > WConverterVectors::SPtr

A shared_ptr to this class.

Definition at line 52 of file WConverterVectors.h.

Constructor & Destructor Documentation

◆ WConverterVectors()

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.

Member Function Documentation

◆ clear()

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.

◆ getColors()

SPFloatVector WConverterVectors::getColors ( )

Gets the colors as shared_ptr to a float vector.

Returns
SPFloatVector The colors.

Definition at line 64 of file WConverterVectors.cpp.

References m_colors.

◆ getEdeps()

SPFloatVector WConverterVectors::getEdeps ( )

Gets the edeps as shared_ptr to a float vector.

Returns
SPFloatVector The edeps.

Definition at line 69 of file WConverterVectors.cpp.

References m_edeps.

◆ getEventIDs()

SPSizeVector WConverterVectors::getEventIDs ( )

Gets the event IDs as shared_ptr to a size_t vector.

Returns
SPSizeVector The event IDs.

Definition at line 89 of file WConverterVectors.cpp.

References m_eventIDs.

◆ getFiberLengths()

SPSizeVector WConverterVectors::getFiberLengths ( )

Gets the fiber lengths as shared_ptr to a size_t vector.

Returns
SPSizeVector The fiber lengths.

Definition at line 79 of file WConverterVectors.cpp.

References m_fiberLengths.

◆ getFiberStartIndexes()

SPSizeVector WConverterVectors::getFiberStartIndexes ( )

Gets the fiber start indexes as shared_ptr to a size_t vector.

Returns
SPSizeVector The fiber start indexes.

Definition at line 74 of file WConverterVectors.cpp.

References m_fiberStartIndexes.

◆ getSizes()

SPFloatVector WConverterVectors::getSizes ( )

Gets the sizes as shared_ptr to a float vector.

Returns
SPFloatVector The sizes.

Definition at line 59 of file WConverterVectors.cpp.

References m_sizes.

◆ getVertices()

SPFloatVector WConverterVectors::getVertices ( )

Gets the vertices as shared_ptr to a float vector.

Returns
SPFloatVector The vertices.

Definition at line 54 of file WConverterVectors.cpp.

References m_vertices.

◆ getVerticesReverse()

SPSizeVector WConverterVectors::getVerticesReverse ( )

Gets the reverse vertices as shared_ptr to a size_t vector.

Returns
SPSizeVector The reverse vertices.

Definition at line 84 of file WConverterVectors.cpp.

References m_verticesReverse.

Member Data Documentation

◆ m_colors

SPFloatVector WConverterVectors::m_colors
private

The colors.

Definition at line 117 of file WConverterVectors.h.

Referenced by clear(), getColors(), and WConverterVectors().

◆ m_edeps

SPFloatVector WConverterVectors::m_edeps
private

The edeps.

Definition at line 119 of file WConverterVectors.h.

Referenced by clear(), getEdeps(), and WConverterVectors().

◆ m_eventIDs

SPSizeVector WConverterVectors::m_eventIDs
private

the event IDs.

Definition at line 127 of file WConverterVectors.h.

Referenced by clear(), getEventIDs(), and WConverterVectors().

◆ m_fiberLengths

SPSizeVector WConverterVectors::m_fiberLengths
private

The fiber lengths.

Definition at line 123 of file WConverterVectors.h.

Referenced by clear(), getFiberLengths(), and WConverterVectors().

◆ m_fiberStartIndexes

SPSizeVector WConverterVectors::m_fiberStartIndexes
private

The fiber start indexes.

Definition at line 121 of file WConverterVectors.h.

Referenced by clear(), getFiberStartIndexes(), and WConverterVectors().

◆ m_sizes

SPFloatVector WConverterVectors::m_sizes
private

The sizes.

Definition at line 115 of file WConverterVectors.h.

Referenced by clear(), getSizes(), and WConverterVectors().

◆ m_vertices

SPFloatVector WConverterVectors::m_vertices
private

The vertices.

Definition at line 113 of file WConverterVectors.h.

Referenced by clear(), getVertices(), and WConverterVectors().

◆ m_verticesReverse

SPSizeVector WConverterVectors::m_verticesReverse
private

The reverse vertices.

Definition at line 125 of file WConverterVectors.h.

Referenced by clear(), getVerticesReverse(), and WConverterVectors().


The documentation for this class was generated from the following files: