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

Public Member Functions

 NormalListAdapter (Normals &n)
 
int add (const Coord3 &n)
 Return new id, or -1 if unsuccessful. More...
 
void addValue (int idx, const Coord3 &n)
 Adds value to existing value at id. More...
 
Coord3 get (int idx) const
 
NormalsgetNormals ()
 
bool isDefined (int idx) const
 
int nextID (int previd) const
 
void remove (const TypeSet< int > &)
 May contain duplicates. More...
 
void remove (int idx)
 
void set (int idx, const Coord3 &n)
 
int size () const
 
- Public Member Functions inherited from Coord3List
Coord3 center () const
 

Protected Member Functions

 ~NormalListAdapter ()
 

Protected Attributes

Normalsnormals_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ NormalListAdapter()

visBase::NormalListAdapter::NormalListAdapter ( Normals n)
inline

◆ ~NormalListAdapter()

visBase::NormalListAdapter::~NormalListAdapter ( )
inlineprotected

Member Function Documentation

◆ add()

int visBase::NormalListAdapter::add ( const Coord3 )
inlinevirtual

Return new id, or -1 if unsuccessful.

Implements Coord3List.

◆ addValue()

void visBase::NormalListAdapter::addValue ( int  id,
const Coord3  
)
inlinevirtual

Adds value to existing value at id.

Implements Coord3List.

◆ get()

Coord3 visBase::NormalListAdapter::get ( int  idx) const
inlinevirtual

Implements Coord3List.

◆ getNormals()

Normals* visBase::NormalListAdapter::getNormals ( )
inline

◆ isDefined()

bool visBase::NormalListAdapter::isDefined ( int  idx) const
inlinevirtual

Implements Coord3List.

◆ nextID()

int visBase::NormalListAdapter::nextID ( int  previd) const
inlinevirtual

If previd == -1, first id is returned. If -1 is returned, no more id's are available.

Implements Coord3List.

◆ remove() [1/2]

void visBase::NormalListAdapter::remove ( const TypeSet< int > &  )
virtual

May contain duplicates.

Implements Coord3List.

◆ remove() [2/2]

void visBase::NormalListAdapter::remove ( int  idx)
inlinevirtual

Implements Coord3List.

◆ set()

void visBase::NormalListAdapter::set ( int  idx,
const Coord3 n 
)
inlinevirtual

Implements Coord3List.

◆ size()

int visBase::NormalListAdapter::size ( ) const
inlinevirtual

Implements Coord3List.

Member Data Documentation

◆ normals_

Normals& visBase::NormalListAdapter::normals_
protected

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