Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::IntegralLine Class Reference

Public Types

enum class  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
 
uint32_t getIndex () const
 
void setIndex (uint32_t idx)
 
void setBackwardTerminationReason (TerminationReason terminationReason)
 
void setForwardTerminationReason (TerminationReason terminationReason)
 
TerminationReason getBackwardTerminationReason () const
 
TerminationReason getForwardTerminationReason () const
 

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