OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
SeisTrcValueSeries Class Reference
Inheritance diagram for SeisTrcValueSeries:
[legend]

Public Member Functions

 SeisTrcValueSeries (const SeisTrc &t, int c)
 
 ~SeisTrcValueSeries ()
 
const float * arr () const override
 
float * arr () override
 
ValueSeries< float > * clone () const override
 
bool copytoArray (Array1D< float > &)
 
void setComponent (int idx)
 
void setValue (od_int64 idx, float v) override
 
od_int64 size () const override
 
float value (od_int64 idx) const override
 
bool writable () const override
 
- Public Member Functions inherited from ValueSeries< float >
virtual ~ValueSeries ()
 
virtual char bytesPerItem () const
 
virtual bool canSetAll () const
 
void getValues (float *, std::int64_t nrvals) const
 
void getValues (ValueSeries< float > &, std::int64_t nrvals) const
 
virtual bool isOK () const
 
float operator[] (std::int64_t idx) const
 
virtual bool reSizeable () const
 
virtual bool selfSufficient () const
 
virtual void setAll (float)
 
virtual bool setSize (std::int64_t)
 
virtual void setValue (std::int64_t, float)
 
virtual float value (std::int64_t) const=0
 

Protected Attributes

int icomp_
 
SeisTrctrc_
 

Detailed Description

Seismic traces conforming the ValueSeries<float> interface.

One of the components of a SeisTrc can be selected to form a ValueSeries.

<>

Constructor & Destructor Documentation

◆ SeisTrcValueSeries()

SeisTrcValueSeries::SeisTrcValueSeries ( const SeisTrc t,
int  c 
)

◆ ~SeisTrcValueSeries()

SeisTrcValueSeries::~SeisTrcValueSeries ( )

Member Function Documentation

◆ arr() [1/2]

const float* SeisTrcValueSeries::arr ( ) const
overridevirtual

Reimplemented from ValueSeries< float >.

◆ arr() [2/2]

float* SeisTrcValueSeries::arr ( )
overridevirtual

Reimplemented from ValueSeries< float >.

◆ clone()

ValueSeries< float > * SeisTrcValueSeries::clone ( ) const
inlineoverridevirtual

Implements ValueSeries< float >.

◆ copytoArray()

bool SeisTrcValueSeries::copytoArray ( Array1D< float > &  )

◆ setComponent()

void SeisTrcValueSeries::setComponent ( int  idx)
inline

◆ setValue()

void SeisTrcValueSeries::setValue ( od_int64  idx,
float  v 
)
override

◆ size()

od_int64 SeisTrcValueSeries::size ( ) const
inlineoverridevirtual

Implements ValueSeries< float >.

◆ value()

float SeisTrcValueSeries::value ( od_int64  idx) const
override

◆ writable()

bool SeisTrcValueSeries::writable ( ) const
inlineoverridevirtual

Reimplemented from ValueSeries< float >.

Member Data Documentation

◆ icomp_

int SeisTrcValueSeries::icomp_
protected

◆ trc_

SeisTrc& SeisTrcValueSeries::trc_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024