Geant4  10.07
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HepPolyhedronProcessor Class Reference

Public Types

enum  Operation { UNION = 0, INTERSECTION = 1, SUBTRACTION = 2 }
 

Public Member Functions

 HepPolyhedronProcessor ()
 
virtual ~HepPolyhedronProcessor ()
 
void push_back (Operation, const HepPolyhedron &)
 
bool execute (HepPolyhedron &)
 
void clear ()
 
bool is_same_op () const
 
bool execute1 (HepPolyhedron &, const std::vector< unsigned int > &)
 

Private Types

typedef std::pair< Operation,
HepPolyhedron
op_t
 

Private Member Functions

 HepPolyhedronProcessor (const HepPolyhedronProcessor &)
 
HepPolyhedronProcessoroperator= (const HepPolyhedronProcessor &)
 

Private Attributes

std::vector< op_tm_ops
 

Member Typedef Documentation

typedef std::pair<Operation,HepPolyhedron> op_t
private

Member Enumeration Documentation

enum Operation
Enumerator
UNION 
INTERSECTION 
SUBTRACTION 

Constructor & Destructor Documentation

virtual ~HepPolyhedronProcessor ( )
virtual

Member Function Documentation

void push_back ( Operation  ,
const HepPolyhedron  
)
bool execute ( HepPolyhedron )
void clear ( )
bool is_same_op ( ) const
bool execute1 ( HepPolyhedron ,
const std::vector< unsigned int > &   
)

Member Data Documentation

std::vector<op_t> m_ops
private