OpendTect-6_4  6.4
Public Member Functions | Private Member Functions | List of all members
Coord3List Class Referenceabstract

Interface for a list of Coord3 with automatically maintained IDs. More...

Inheritance diagram for Coord3List:
[legend]

Public Member Functions

virtual int nextID (int previd) const =0
 
virtual int add (const Coord3 &)=0
 Return new id, or -1 if unsuccessful. More...
 
virtual Coord3 get (int id) const =0
 
virtual bool isDefined (int id) const =0
 
virtual void set (int id, const Coord3 &)=0
 
virtual void addValue (int id, const Coord3 &)=0
 Adds value to existing value at id. More...
 
virtual void remove (int id)=0
 
virtual void remove (const TypeSet< int > &)=0
 May contain duplicates. More...
 
virtual int size () const =0
 
Coord3 center () const
 

Private Member Functions

 mRefCountImplNoDestructor (Coord3List)
 

Detailed Description

Interface for a list of Coord3 with automatically maintained IDs.

Member Function Documentation

virtual int Coord3List::add ( const Coord3 )
pure virtual
virtual void Coord3List::addValue ( int  id,
const Coord3  
)
pure virtual
Coord3 Coord3List::center ( ) const
virtual Coord3 Coord3List::get ( int  id) const
pure virtual
virtual bool Coord3List::isDefined ( int  id) const
pure virtual
Coord3List::mRefCountImplNoDestructor ( Coord3List  )
private
virtual int Coord3List::nextID ( int  previd) const
pure virtual

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

Implemented in visBase::CoordListAdapter, Coord3ListImpl, visBase::NormalListAdapter, visBase::TextureCoordListAdapter, and FaultTrace.

virtual void Coord3List::remove ( int  id)
pure virtual
virtual void Coord3List::remove ( const TypeSet< int > &  )
pure virtual
virtual void Coord3List::set ( int  id,
const Coord3  
)
pure virtual
virtual int Coord3List::size ( ) const
pure virtual

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