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

Classes

struct  PlaneIntersection
 

Public Member Functions

 ExplPlaneIntersection ()
 
 ~ExplPlaneIntersection ()
 
int addPlane (const Coord3 &normal, const TypeSet< Coord3 > &)
 
const TypeSet< PlaneIntersection > & getPlaneIntersections ()
 
const IndexedShapegetShape () const
 
float getZScale () const
 
bool needsUpdate () const override
 
int nrPlanes () const
 
int planeID (int idx) const
 
const Coord3planeNormal (int id) const
 
const TypeSet< Coord3 > & planePolygon (int id) const
 
void removeAll (bool) override
 
void removePlane (int id)
 
bool setPlane (int id, const Coord3 &, const TypeSet< Coord3 > &)
 
void setShape (const IndexedShape &)
 
void setZScale (float nz)
 
bool update (bool forceall, TaskRunner *) override
 
- Public Member Functions inherited from Geometry::IndexedShape
virtual ~IndexedShape ()
 
Coord3ListcoordList ()
 
const Coord3ListcoordList () const
 
virtual bool createsNormals () const
 
virtual bool createsTextureCoords () const
 
ObjectSet< IndexedGeometry > & getGeometry ()
 
const ObjectSet< IndexedGeometry > & getGeometry () const
 
int getVersion () const
 
Coord3ListnormalCoordList ()
 
const Coord3ListnormalCoordList () const
 
virtual void setCoordList (Coord3List *cl, Coord3List *nl=0, Coord3List *texturecoords=0, bool createnew=true)
 
virtual void setRightHandedNormals (bool)
 
Coord3ListtextureCoordList ()
 
const Coord3ListtextureCoordList () const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Protected Attributes

IndexedGeometryintersection_
 
bool needsupdate_
 
TypeSet< PlaneIntersectionpis_
 
TypeSet< int > planeids_
 
TypeSet< Coord3planenormals_
 
ObjectSet< TypeSet< Coord3 > > planepts_
 
const IndexedShapeshape_
 
int shapeversion_
 
float zscale_
 
- Protected Attributes inherited from Geometry::IndexedShape
Coord3Listcoordlist_ = nullptr
 
ObjectSet< IndexedGeometrygeometries_
 
Threads::Lock geometrieslock_
 
Coord3Listnormallist_ = nullptr
 
bool righthandednormals_ = false
 
Coord3Listtexturecoordlist_ = nullptr
 

Friends

class ExplPlaneIntersectionExtractor
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Protected Member Functions inherited from Geometry::IndexedShape
 IndexedShape ()
 
void addVersion ()
 

Detailed Description

Class that represents the line in the intersection between an IndexedShape and one ore many planes.

<>

Constructor & Destructor Documentation

◆ ExplPlaneIntersection()

Geometry::ExplPlaneIntersection::ExplPlaneIntersection ( )

◆ ~ExplPlaneIntersection()

Geometry::ExplPlaneIntersection::~ExplPlaneIntersection ( )

Member Function Documentation

◆ addPlane()

int Geometry::ExplPlaneIntersection::addPlane ( const Coord3 normal,
const TypeSet< Coord3 > &   
)

◆ getPlaneIntersections()

const TypeSet<PlaneIntersection>& Geometry::ExplPlaneIntersection::getPlaneIntersections ( )
inline

◆ getShape()

const IndexedShape* Geometry::ExplPlaneIntersection::getShape ( ) const

◆ getZScale()

float Geometry::ExplPlaneIntersection::getZScale ( ) const
inline

◆ needsUpdate()

bool Geometry::ExplPlaneIntersection::needsUpdate ( ) const
overridevirtual

Reimplemented from Geometry::IndexedShape.

◆ nrPlanes()

int Geometry::ExplPlaneIntersection::nrPlanes ( ) const

◆ planeID()

int Geometry::ExplPlaneIntersection::planeID ( int  idx) const

◆ planeNormal()

const Coord3& Geometry::ExplPlaneIntersection::planeNormal ( int  id) const

◆ planePolygon()

const TypeSet<Coord3>& Geometry::ExplPlaneIntersection::planePolygon ( int  id) const

◆ removeAll()

void Geometry::ExplPlaneIntersection::removeAll ( bool  deep)
overridevirtual

deep will remove all things from lists (coords,normals++). Non-deep will just leave them there

Reimplemented from Geometry::IndexedShape.

◆ removePlane()

void Geometry::ExplPlaneIntersection::removePlane ( int  id)

◆ setPlane()

bool Geometry::ExplPlaneIntersection::setPlane ( int  id,
const Coord3 ,
const TypeSet< Coord3 > &   
)

◆ setShape()

void Geometry::ExplPlaneIntersection::setShape ( const IndexedShape )

Is assumed to remain in memory.

◆ setZScale()

void Geometry::ExplPlaneIntersection::setZScale ( float  nz)
inline

◆ update()

bool Geometry::ExplPlaneIntersection::update ( bool  forceall,
TaskRunner  
)
overridevirtual

Reimplemented from Geometry::IndexedShape.

Friends And Related Function Documentation

◆ ExplPlaneIntersectionExtractor

friend class ExplPlaneIntersectionExtractor
friend

Member Data Documentation

◆ intersection_

IndexedGeometry* Geometry::ExplPlaneIntersection::intersection_
protected

◆ needsupdate_

bool Geometry::ExplPlaneIntersection::needsupdate_
protected

◆ pis_

TypeSet<PlaneIntersection> Geometry::ExplPlaneIntersection::pis_
protected

◆ planeids_

TypeSet<int> Geometry::ExplPlaneIntersection::planeids_
protected

◆ planenormals_

TypeSet<Coord3> Geometry::ExplPlaneIntersection::planenormals_
protected

◆ planepts_

ObjectSet<TypeSet<Coord3> > Geometry::ExplPlaneIntersection::planepts_
protected

◆ shape_

const IndexedShape* Geometry::ExplPlaneIntersection::shape_
protected

◆ shapeversion_

int Geometry::ExplPlaneIntersection::shapeversion_
protected

◆ zscale_

float Geometry::ExplPlaneIntersection::zscale_
protected

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