Geant4-11
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
HepPolyhedronProcessor Class Reference

#include <HepPolyhedronProcessor.h>

Public Types

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

Public Member Functions

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

Private Types

typedef std::pair< Operation, HepPolyhedronop_t
 

Private Member Functions

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

Private Attributes

std::vector< op_tm_ops
 

Detailed Description

Definition at line 34 of file HepPolyhedronProcessor.h.

Member Typedef Documentation

◆ op_t

Definition at line 42 of file HepPolyhedronProcessor.h.

Member Enumeration Documentation

◆ Operation

Enumerator
UNION 
INTERSECTION 
SUBTRACTION 

Definition at line 36 of file HepPolyhedronProcessor.h.

36 { //Must be the same than BooleanProcessor OP_XXX.
37 UNION = 0
38 ,INTERSECTION = 1
39 ,SUBTRACTION = 2
40 };

Constructor & Destructor Documentation

◆ HepPolyhedronProcessor() [1/2]

HepPolyhedronProcessor::HepPolyhedronProcessor ( )

◆ ~HepPolyhedronProcessor()

virtual HepPolyhedronProcessor::~HepPolyhedronProcessor ( )
virtual

◆ HepPolyhedronProcessor() [2/2]

HepPolyhedronProcessor::HepPolyhedronProcessor ( const HepPolyhedronProcessor )
private

Member Function Documentation

◆ clear()

void HepPolyhedronProcessor::clear ( )

◆ execute()

bool HepPolyhedronProcessor::execute ( HepPolyhedron )

◆ execute1()

bool HepPolyhedronProcessor::execute1 ( HepPolyhedron ,
const std::vector< unsigned int > &   
)

◆ is_same_op()

bool HepPolyhedronProcessor::is_same_op ( ) const

◆ operator=()

HepPolyhedronProcessor & HepPolyhedronProcessor::operator= ( const HepPolyhedronProcessor )
private

◆ push_back()

void HepPolyhedronProcessor::push_back ( Operation  ,
const HepPolyhedron  
)

Field Documentation

◆ m_ops

std::vector<op_t> HepPolyhedronProcessor::m_ops
private

Definition at line 57 of file HepPolyhedronProcessor.h.


The documentation for this class was generated from the following file: