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

Protected Attributes

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

Friends

class ExplPlaneIntersectionExtractor
 

Additional Inherited Members

- Protected Member Functions inherited from Geometry::IndexedShape
 IndexedShape ()
 
void addVersion ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

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

Constructor & Destructor Documentation

Geometry::ExplPlaneIntersection::ExplPlaneIntersection ( )
Geometry::ExplPlaneIntersection::~ExplPlaneIntersection ( )

Member Function Documentation

int Geometry::ExplPlaneIntersection::addPlane ( const Coord3 normal,
const TypeSet< Coord3 > &   
)
const TypeSet<PlaneIntersection>& Geometry::ExplPlaneIntersection::getPlaneIntersections ( )
inline
const IndexedShape* Geometry::ExplPlaneIntersection::getShape ( ) const
float Geometry::ExplPlaneIntersection::getZScale ( ) const
inline
bool Geometry::ExplPlaneIntersection::needsUpdate ( ) const
virtual

Reimplemented from Geometry::IndexedShape.

int Geometry::ExplPlaneIntersection::nrPlanes ( ) const
int Geometry::ExplPlaneIntersection::planeID ( int  idx) const
const Coord3& Geometry::ExplPlaneIntersection::planeNormal ( int  id) const
const TypeSet<Coord3>& Geometry::ExplPlaneIntersection::planePolygon ( int  id) const
void Geometry::ExplPlaneIntersection::removeAll ( bool  deep)
virtual

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

Reimplemented from Geometry::IndexedShape.

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

Is assumed to remain in memory.

void Geometry::ExplPlaneIntersection::setZScale ( float  nz)
inline
bool Geometry::ExplPlaneIntersection::update ( bool  forceall,
TaskRunner  
)
virtual

Reimplemented from Geometry::IndexedShape.

Friends And Related Function Documentation

friend class ExplPlaneIntersectionExtractor
friend

Member Data Documentation

IndexedGeometry* Geometry::ExplPlaneIntersection::intersection_
protected
bool Geometry::ExplPlaneIntersection::needsupdate_
protected
TypeSet<PlaneIntersection> Geometry::ExplPlaneIntersection::pis_
protected
TypeSet<int> Geometry::ExplPlaneIntersection::planeids_
protected
TypeSet<Coord3> Geometry::ExplPlaneIntersection::planenormals_
protected
ObjectSet<TypeSet<Coord3> > Geometry::ExplPlaneIntersection::planepts_
protected
const IndexedShape* Geometry::ExplPlaneIntersection::shape_
protected
int Geometry::ExplPlaneIntersection::shapeversion_
protected
float Geometry::ExplPlaneIntersection::zscale_
protected

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