Geant4  10.01.p03
G4DrawVoxels Class Reference

#include <G4DrawVoxels.hh>

+ Collaboration diagram for G4DrawVoxels:

Public Member Functions

 G4DrawVoxels ()
 
 ~G4DrawVoxels ()
 
void DrawVoxels (const G4LogicalVolume *lv) const
 
G4PlacedPolyhedronListCreatePlacedPolyhedra (const G4LogicalVolume *) const
 
void SetVoxelsVisAttributes (G4VisAttributes &, G4VisAttributes &, G4VisAttributes &)
 
void SetBoundingBoxVisAttributes (G4VisAttributes &)
 

Private Member Functions

void ComputeVoxelPolyhedra (const G4LogicalVolume *, const G4SmartVoxelHeader *, G4VoxelLimits &, G4PlacedPolyhedronList *) const
 
 G4DrawVoxels (const G4DrawVoxels &)
 
G4DrawVoxels operator= (const G4DrawVoxels &)
 

Private Attributes

G4VisAttributes fVoxelsVisAttributes [3]
 
G4VisAttributes fBoundingBoxVisAttributes
 

Detailed Description

Definition at line 56 of file G4DrawVoxels.hh.

Constructor & Destructor Documentation

G4DrawVoxels::G4DrawVoxels ( )

Definition at line 56 of file G4DrawVoxels.cc.

References fBoundingBoxVisAttributes, fVoxelsVisAttributes, and G4VisAttributes::SetColour().

+ Here is the call graph for this function:

G4DrawVoxels::~G4DrawVoxels ( )

Definition at line 66 of file G4DrawVoxels.cc.

G4DrawVoxels::G4DrawVoxels ( const G4DrawVoxels )
private

Member Function Documentation

void G4DrawVoxels::ComputeVoxelPolyhedra ( const G4LogicalVolume lv,
const G4SmartVoxelHeader header,
G4VoxelLimits limit,
G4PlacedPolyhedronList ppl 
) const
private
G4PlacedPolyhedronList * G4DrawVoxels::CreatePlacedPolyhedra ( const G4LogicalVolume lv) const

Definition at line 194 of file G4DrawVoxels.cc.

References ComputeVoxelPolyhedra(), and G4LogicalVolume::GetVoxelHeader().

Referenced by G4LogicalVolumeModel::DescribeYourselfTo(), and DrawVoxels().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DrawVoxels::DrawVoxels ( const G4LogicalVolume lv) const

Definition at line 202 of file G4DrawVoxels.cc.

References CreatePlacedPolyhedra(), G4VVisManager::Draw(), G4Exception(), G4VVisManager::GetConcreteInstance(), G4LogicalVolume::GetNoDaughters(), G4TransportationManager::GetTransportationManager(), JustWarning, G4AffineTransform::NetRotation(), and G4AffineTransform::NetTranslation().

+ Here is the call graph for this function:

G4DrawVoxels G4DrawVoxels::operator= ( const G4DrawVoxels )
private
void G4DrawVoxels::SetBoundingBoxVisAttributes ( G4VisAttributes VA_boundingbox)

Definition at line 81 of file G4DrawVoxels.cc.

References fBoundingBoxVisAttributes.

void G4DrawVoxels::SetVoxelsVisAttributes ( G4VisAttributes VA_voxelX,
G4VisAttributes VA_voxelY,
G4VisAttributes VA_voxelZ 
)

Definition at line 72 of file G4DrawVoxels.cc.

References fVoxelsVisAttributes.

Member Data Documentation

G4VisAttributes G4DrawVoxels::fBoundingBoxVisAttributes
private
G4VisAttributes G4DrawVoxels::fVoxelsVisAttributes[3]
private

Definition at line 79 of file G4DrawVoxels.hh.

Referenced by ComputeVoxelPolyhedra(), G4DrawVoxels(), and SetVoxelsVisAttributes().


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