Inviwo  0.9.10.1
Inviwo documentation
inviwo::IntegralLine Class Reference

VERY_BRIEFLY_DESCRIBE_THE_CLASS. More...

#include <integralline.h>

Public Types

enum  TerminationReason {
  StartPoint, Steps, OutOfBounds, ZeroVelocity,
  Unknown
}
 

Public Member Functions

 IntegralLine (const IntegralLine &rhs)=default
 
 IntegralLine (IntegralLine &&rhs)=default
 
IntegralLineoperator= (const IntegralLine &that)=default
 
IntegralLineoperator= (IntegralLine &&that)=default
 
const std::vector< dvec3 > & getPositions () const
 
std::vector< dvec3 > & getPositions ()
 
std::shared_ptr< const BufferBasegetMetaDataBuffer (const std::string &name) const
 
std::shared_ptr< BufferBasegetMetaDataBuffer (const std::string &name)
 
void addMetaDataBuffer (const std::string &name, std::shared_ptr< BufferBase > buffer)
 
template<typename T >
std::shared_ptr< Buffer< T > > createMetaData (const std::string &name)
 
void reverse ()
 
template<typename T >
const std::vector< T > & getMetaData (const std::string &name) const
 
template<typename T >
std::vector< T > & getMetaData (const std::string &name, bool create=false)
 
const std::map< std::string, std::shared_ptr< BufferBase > > & getMetaDataBuffers () const
 
bool hasMetaData (const std::string &name) const
 
std::vector< std::string > getMetaDataKeys () const
 
double getLength () const
 
double distBetweenPoints (size_t a, size_t b) const
 
dvec3 getPointAtDistance (double d) const
 
template<typename T >
getMetaDataAtDistance (std::string md, double d) const
 
size_t getIndex () const
 
void setIndex (size_t idx)
 
void setBackwardTerminationReason (TerminationReason terminationReason)
 
void setForwardTerminationReason (TerminationReason terminationReason)
 
TerminationReason getBackwardTerminationReason () const
 
TerminationReason getForwardTerminationReason () const
 

Detailed Description

VERY_BRIEFLY_DESCRIBE_THE_CLASS.

DESCRIBE_THE_CLASS


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