ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HepPolyhedronProcessor Class Reference

#include <geant4/tree/geant4-10.6-release/source/graphics_reps/include/HepPolyhedronProcessor.h>

+ Collaboration diagram for HepPolyhedronProcessor:

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
 

Detailed Description

Definition at line 34 of file HepPolyhedronProcessor.h.

View newest version in sPHENIX GitHub at line 34 of file HepPolyhedronProcessor.h

Member Typedef Documentation

Definition at line 42 of file HepPolyhedronProcessor.h.

View newest version in sPHENIX GitHub at line 42 of file HepPolyhedronProcessor.h

Member Enumeration Documentation

Enumerator:
UNION 
INTERSECTION 
SUBTRACTION 

Definition at line 36 of file HepPolyhedronProcessor.h.

View newest version in sPHENIX GitHub at line 36 of file HepPolyhedronProcessor.h

Constructor & Destructor Documentation

HepPolyhedronProcessor::HepPolyhedronProcessor ( )
virtual HepPolyhedronProcessor::~HepPolyhedronProcessor ( )
virtual
HepPolyhedronProcessor::HepPolyhedronProcessor ( const HepPolyhedronProcessor )
private

Member Function Documentation

void HepPolyhedronProcessor::clear ( )
bool HepPolyhedronProcessor::execute ( HepPolyhedron )

Referenced by G4IntersectionSolid::CreatePolyhedron(), G4UnionSolid::CreatePolyhedron(), G4SubtractionSolid::CreatePolyhedron(), and G4MultiUnion::CreatePolyhedron().

+ Here is the caller graph for this function:

bool HepPolyhedronProcessor::execute1 ( HepPolyhedron ,
const std::vector< unsigned int > &   
)
bool HepPolyhedronProcessor::is_same_op ( ) const
HepPolyhedronProcessor& HepPolyhedronProcessor::operator= ( const HepPolyhedronProcessor )
private
void HepPolyhedronProcessor::push_back ( Operation  ,
const HepPolyhedron  
)

Referenced by G4MultiUnion::CreatePolyhedron(), and G4BooleanSolid::StackPolyhedron().

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 57 of file HepPolyhedronProcessor.h.

View newest version in sPHENIX GitHub at line 57 of file HepPolyhedronProcessor.h


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