OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
visBeachBall::BallProperties Class Reference

basic properties of the ball More...

Inheritance diagram for visBeachBall::BallProperties:
[legend]

Public Member Functions

 BallProperties (const char *nm=0, float r=500, Color c1=Color(255, 0, 0), Color c2=Color::White(), Coord3 p=Coord3(0, 0, 0), float el=0.5)
 
Color color1 () const
 
Color color2 () const
 
float elasticity () const
 
BallProperties get () const
 
bool operator!= (const BallProperties &bp) const
 
BallPropertiesoperator= (const BallProperties &bp)
 
bool operator== (const BallProperties &bp) const
 
Coord3 pos () const
 
float radius () const
 
void set (const BallProperties &)
 
void setColor1 (Color)
 
void setColor2 (Color)
 
void setElasticity (float)
 
void setPos (const Coord3 &)
 
void setRadius (float)
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Protected Attributes

Color color1_
 
Color color2_
 
float elasticity_
 
Coord3 pos_
 
float radius_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Detailed Description

basic properties of the ball

<>

Constructor & Destructor Documentation

◆ BallProperties()

visBeachBall::BallProperties::BallProperties ( const char *  nm = 0,
float  r = 500,
Color  c1 = Color(255,0,0),
Color  c2 = Color::White(),
Coord3  p = Coord3(0, 0, 0),
float  el = 0.5 
)
inline

Member Function Documentation

◆ color1()

Color visBeachBall::BallProperties::color1 ( ) const

◆ color2()

Color visBeachBall::BallProperties::color2 ( ) const

◆ elasticity()

float visBeachBall::BallProperties::elasticity ( ) const

◆ get()

BallProperties visBeachBall::BallProperties::get ( ) const

◆ operator!=()

bool visBeachBall::BallProperties::operator!= ( const BallProperties bp) const

◆ operator=()

BallProperties& visBeachBall::BallProperties::operator= ( const BallProperties bp)

◆ operator==()

bool visBeachBall::BallProperties::operator== ( const BallProperties bp) const

◆ pos()

Coord3 visBeachBall::BallProperties::pos ( ) const

◆ radius()

float visBeachBall::BallProperties::radius ( ) const

◆ set()

void visBeachBall::BallProperties::set ( const BallProperties )

◆ setColor1()

void visBeachBall::BallProperties::setColor1 ( Color  )

◆ setColor2()

void visBeachBall::BallProperties::setColor2 ( Color  )

◆ setElasticity()

void visBeachBall::BallProperties::setElasticity ( float  )

◆ setPos()

void visBeachBall::BallProperties::setPos ( const Coord3 )

◆ setRadius()

void visBeachBall::BallProperties::setRadius ( float  )

Member Data Documentation

◆ color1_

Color visBeachBall::BallProperties::color1_
protected

◆ color2_

Color visBeachBall::BallProperties::color2_
protected

◆ elasticity_

float visBeachBall::BallProperties::elasticity_
protected

◆ pos_

Coord3 visBeachBall::BallProperties::pos_
protected

◆ radius_

float visBeachBall::BallProperties::radius_
protected

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