Geant4
10.01.p03
|
#include <G4DrawVoxels.hh>
Public Member Functions | |
G4DrawVoxels () | |
~G4DrawVoxels () | |
void | DrawVoxels (const G4LogicalVolume *lv) const |
G4PlacedPolyhedronList * | CreatePlacedPolyhedra (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 |
Definition at line 56 of file G4DrawVoxels.hh.
G4DrawVoxels::G4DrawVoxels | ( | ) |
Definition at line 56 of file G4DrawVoxels.cc.
References fBoundingBoxVisAttributes, fVoxelsVisAttributes, and G4VisAttributes::SetColour().
G4DrawVoxels::~G4DrawVoxels | ( | ) |
Definition at line 66 of file G4DrawVoxels.cc.
|
private |
|
private |
Definition at line 89 of file G4DrawVoxels.cc.
References G4VoxelLimits::AddLimit(), G4VSolid::CalculateExtent(), fBoundingBoxVisAttributes, fVoxelsVisAttributes, G4SmartVoxelHeader::GetAxis(), G4SmartVoxelProxy::GetHeader(), G4SmartVoxelHeader::GetMaxEquivalentSliceNo(), G4SmartVoxelNode::GetMaxEquivalentSliceNo(), G4SmartVoxelHeader::GetMaxExtent(), G4SmartVoxelHeader::GetMinExtent(), G4LogicalVolume::GetNoDaughters(), G4SmartVoxelProxy::GetNode(), G4SmartVoxelHeader::GetNoSlices(), G4SmartVoxelHeader::GetSlice(), G4LogicalVolume::GetSolid(), G4SmartVoxelProxy::IsHeader(), kInfinity, kXAxis, kYAxis, kZAxis, G4Visible::SetVisAttributes(), and voxel_width.
Referenced by CreatePlacedPolyhedra().
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().
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().
|
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.
|
private |
Definition at line 80 of file G4DrawVoxels.hh.
Referenced by ComputeVoxelPolyhedra(), G4DrawVoxels(), and SetBoundingBoxVisAttributes().
|
private |
Definition at line 79 of file G4DrawVoxels.hh.
Referenced by ComputeVoxelPolyhedra(), G4DrawVoxels(), and SetVoxelsVisAttributes().