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

Public Member Functions

 BouncyController ()
 
virtual ~BouncyController ()
 
Coord3 getPos () const
 
void init (const Coord3 &pos, const Coord &minpos, const Coord &maxpos, float zStart, float zStop, bool simulategame=false)
 
void pause (bool)
 
void setPos (const Coord3 &)
 
void stop ()
 
- 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
 

Public Attributes

Notifier< BouncyControllernewPosAvailable
 

Protected Member Functions

void runCB (CallBacker *)
 
void simulateCB (CallBacker *)
 

Protected Attributes

Coord3 currpos_
 
Coord maxpos_
 
Coord minpos_
 
Coord3 newposdelta_
 
int numlives_
 
int nummovesrem_
 
bool simulate_
 
Coord3 targetpos_
 
Timer updatetimer_
 
float zStart_
 
float zStop_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ BouncyController()

Bouncy::BouncyController::BouncyController ( )

◆ ~BouncyController()

virtual Bouncy::BouncyController::~BouncyController ( )
virtual

Member Function Documentation

◆ getPos()

Coord3 Bouncy::BouncyController::getPos ( ) const

◆ init()

void Bouncy::BouncyController::init ( const Coord3 pos,
const Coord minpos,
const Coord maxpos,
float  zStart,
float  zStop,
bool  simulategame = false 
)

◆ pause()

void Bouncy::BouncyController::pause ( bool  )

◆ runCB()

void Bouncy::BouncyController::runCB ( CallBacker )
protected

◆ setPos()

void Bouncy::BouncyController::setPos ( const Coord3 )

◆ simulateCB()

void Bouncy::BouncyController::simulateCB ( CallBacker )
protected

◆ stop()

void Bouncy::BouncyController::stop ( )

Member Data Documentation

◆ currpos_

Coord3 Bouncy::BouncyController::currpos_
protected

◆ maxpos_

Coord Bouncy::BouncyController::maxpos_
protected

◆ minpos_

Coord Bouncy::BouncyController::minpos_
protected

◆ newPosAvailable

Notifier<BouncyController> Bouncy::BouncyController::newPosAvailable

◆ newposdelta_

Coord3 Bouncy::BouncyController::newposdelta_
protected

◆ numlives_

int Bouncy::BouncyController::numlives_
protected

◆ nummovesrem_

int Bouncy::BouncyController::nummovesrem_
protected

◆ simulate_

bool Bouncy::BouncyController::simulate_
protected

◆ targetpos_

Coord3 Bouncy::BouncyController::targetpos_
protected

◆ updatetimer_

Timer Bouncy::BouncyController::updatetimer_
protected

◆ zStart_

float Bouncy::BouncyController::zStart_
protected

◆ zStop_

float Bouncy::BouncyController::zStop_
protected

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