Public Member Functions | Protected Member Functions | Protected Attributes

EM::EMObjectRowColSelRemoval Class Reference

Inheritance diagram for EM::EMObjectRowColSelRemoval:
ParallelTask Task NamedObject CallBacker

List of all members.

Public Member Functions

 EMObjectRowColSelRemoval (EMObject &emobj, const SectionID &secid, const Selector< Coord3 > &, int nrrows, int nrcols, int startrow, int startcol)
 ~EMObjectRowColSelRemoval ()
const TypeSet< EM::SubIDgetRemovelList ()

Protected Member Functions

od_int64 nrIterations () const
bool doWork (od_int64, od_int64, int)
bool doPrepare (int)
void processBlock (const RowCol &, const RowCol &)
void makeListGrow (const RowCol &, const RowCol &, int selresult)
void getBoundingCoords (const RowCol &, const RowCol &, Coord3 &up, Coord3 &down)

Protected Attributes

EMObjectemobj_
const SectionIDsectionid_
const Selector< Coord3 > & selector_
int startrow_
int nrrows_
int startcol_
int nrcols_
const float * zvals_
TypeSet< RowColstarts_
TypeSet< RowColstops_
Threads::ConditionVar lock_
bool finished_
int nrwaiting_
int nrthreads_
TypeSet< EM::SubIDremovelist_

Constructor & Destructor Documentation

EM::EMObjectRowColSelRemoval::EMObjectRowColSelRemoval ( EMObject emobj,
const SectionID secid,
const Selector< Coord3 > &  ,
int  nrrows,
int  nrcols,
int  startrow,
int  startcol 
)
EM::EMObjectRowColSelRemoval::~EMObjectRowColSelRemoval (  ) 

Member Function Documentation

bool EM::EMObjectRowColSelRemoval::doPrepare ( int   )  [protected, virtual]

Reimplemented from ParallelTask.

bool EM::EMObjectRowColSelRemoval::doWork ( od_int64  ,
od_int64  ,
int   
) [protected]
void EM::EMObjectRowColSelRemoval::getBoundingCoords ( const RowCol ,
const RowCol ,
Coord3 up,
Coord3 down 
) [protected]
const TypeSet<EM::SubID> EM::EMObjectRowColSelRemoval::getRemovelList (  )  [inline]
void EM::EMObjectRowColSelRemoval::makeListGrow ( const RowCol ,
const RowCol ,
int  selresult 
) [protected]
od_int64 EM::EMObjectRowColSelRemoval::nrIterations (  )  const [inline, protected, virtual]

Implements ParallelTask.

void EM::EMObjectRowColSelRemoval::processBlock ( const RowCol ,
const RowCol  
) [protected]

Member Data Documentation

const float* EM::EMObjectRowColSelRemoval::zvals_ [protected]