![]() |
VISR
0.11.8
Versatile Interactive Scene Renderer
|
#include <vector_parameter.hpp>
Public Member Functions | |
VectorParameter (VectorParameter< ElementType > const &rhs) | |
VectorParameter (ParameterConfigBase const &config) | |
VectorParameter (VectorParameterConfig const &config) | |
virtual | ~VectorParameter () override |
![]() | |
BasicVector (std::size_t alignmentElements=0) | |
BasicVector (std::size_t size, std::size_t alignmentElements) | |
BasicVector (std::initializer_list< ElementType > const &initialValues, std::size_t alignmentElements=0) | |
BasicVector (BasicVector< ElementType > &&rhs)=default | |
BasicVector< ElementType > & | operator= (BasicVector< ElementType > &&rhs)=default |
~BasicVector () | |
void | resize (std::size_t newSize) |
void | assign (const BasicVector< ElementType > &rhs) |
void | zeroFill () |
void | fillValue (ElementType val) |
void | swap (BasicVector< ElementType > &rhs) |
void | copy (BasicVector< ElementType > const &rhs) |
std::size_t | alignmentElements () const |
std::size_t | size () const |
ElementType & | operator[] (std::size_t idx) |
ElementType const & | operator[] (std::size_t idx) const |
ElementType & | at (std::size_t idx) |
ElementType const & | at (std::size_t idx) const |
ElementType * | data () |
ElementType const * | data () const |
![]() | |
TypedParameterBase ()=default | |
virtual | ~TypedParameterBase ()=default |
ParameterType | type () final |
std::unique_ptr< ParameterBase > | clone () const final |
void | assign (ParameterBase const &rhs) override |
![]() | |
ParameterBase () | |
ParameterBase (const ParameterBase &) | |
ParameterBase & | operator= (const ParameterBase &) |
virtual | ~ParameterBase () |
Static Public Member Functions | |
static VectorParameter | fromString (std::string const &initString, std::size_t alignment=0) |
static VectorParameter | fromStream (std::istream &stream, std::size_t alignment=0) |
static VectorParameter | fromAudioFile (std::string const &fileName, std::size_t alignment=0) |
static VectorParameter | fromTextFile (std::string const &fileName, std::size_t alignment=0) |
![]() | |
static const constexpr ParameterType | staticType () |
Additional Inherited Members | |
![]() | |
using | ParameterConfigType = VectorParameterConfig |
A type for passing vectors between processing components. The template class is explicitly instantiated for the element types float and double.
ElementType | The data type of the elements of the matrix. |
visr::pml::VectorParameter< ElementType >::VectorParameter | ( | VectorParameter< ElementType > const & | rhs | ) |
|
explicit |
|
explicit |
|
overridevirtualdefault |
Destructor (virtual)
|
static |
Create a VectorParameter from an audio file (e.g., a WAV file). The file must contain a single audio channel.
|
static |
Create a VectorParameter from a stream containing a textual representation of the string.
|
static |
Named constructors to create and initialise vectors from various representations. Create a VectorParameter from a string containing a list of numbers separated by a space or a comma plus arbitray amounts of whitespace
|
static |
Create a VectorParameter from a file containing a list of values.