Geant4
10.00.p01
|
#include <G4VisAttributes.hh>
Public Types | |
enum | LineStyle { unbroken, dashed, dotted } |
enum | ForcedDrawingStyle { wireframe, solid } |
Static Public Member Functions | |
static const G4VisAttributes & | GetInvisible () |
Static Public Attributes | |
static const G4VisAttributes | Invisible = G4VisAttributes (false) |
Private Attributes | |
G4bool | fVisible |
G4bool | fDaughtersInvisible |
G4Colour | fColour |
LineStyle | fLineStyle |
G4double | fLineWidth |
G4bool | fForceDrawingStyle |
ForcedDrawingStyle | fForcedStyle |
G4bool | fForceAuxEdgeVisible |
G4int | fForcedLineSegmentsPerCircle |
G4double | fStartTime |
G4double | fEndTime |
const std::vector< G4AttValue > * | fAttValues |
const std::map< G4String, G4AttDef > * | fAttDefs |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4VisAttributes &a) |
Definition at line 65 of file G4VisAttributes.hh.
Enumerator | |
---|---|
wireframe | |
solid |
Definition at line 72 of file G4VisAttributes.hh.
Enumerator | |
---|---|
unbroken | |
dashed | |
dotted |
Definition at line 71 of file G4VisAttributes.hh.
G4VisAttributes::G4VisAttributes | ( | ) |
Definition at line 58 of file G4VisAttributes.cc.
G4VisAttributes::G4VisAttributes | ( | const G4VisAttributes & | va | ) |
Definition at line 37 of file G4VisAttributes.cc.
G4VisAttributes::G4VisAttributes | ( | G4bool | visibility | ) |
Definition at line 74 of file G4VisAttributes.cc.
G4VisAttributes::G4VisAttributes | ( | const G4Colour & | colour | ) |
Definition at line 90 of file G4VisAttributes.cc.
Definition at line 106 of file G4VisAttributes.cc.
G4VisAttributes::~G4VisAttributes | ( | ) |
Definition at line 123 of file G4VisAttributes.cc.
const std::vector< G4AttValue > * G4VisAttributes::CreateAttValues | ( | ) | const |
Definition at line 153 of file G4VisAttributes.cc.
Referenced by G4VSceneHandler::LoadAtts(), and G4XXXStoredSceneHandler::PreAddSolid().
Referenced by G4VSceneHandler::LoadAtts(), and G4XXXStoredSceneHandler::PreAddSolid().
const G4Color& G4VisAttributes::GetColor | ( | ) | const |
Referenced by G4GMocrenFileSceneHandler::AddDetector(), G4GMocrenFileSceneHandler::AddPrimitive(), G03ColorWriter::ColorWrite(), export_G4VisAttributes(), and G4HepRepSceneHandler::getColorFor().
const G4Colour& G4VisAttributes::GetColour | ( | ) | const |
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4RTRun::Attenuate(), G4TheRayTracer::Attenuate(), G4XXXSGViewer::CompareForKernelVisit(), G4XXXStoredViewer::CompareForKernelVisit(), G4PhysicalVolumeModel::DescribeAndDescend(), export_G4VisAttributes(), G4RTRun::GetSurfaceColour(), G4TheRayTracer::GetSurfaceColour(), operator<<(), G4VisCommandsViewerSet::SetNewValue(), G4ViewParameters::TouchableCommands(), and G4RTSteppingAction::UserSteppingAction().
G4double G4VisAttributes::GetEndTime | ( | ) | const |
ForcedDrawingStyle G4VisAttributes::GetForcedDrawingStyle | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), export_G4VisAttributes(), operator<<(), G4ViewParameters::TouchableCommands(), G4RTSteppingAction::UserSteppingAction(), G4RTRun::ValidColour(), and G4TheRayTracer::ValidColour().
G4int G4VisAttributes::GetForcedLineSegmentsPerCircle | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4PhysicalVolumeModel::DescribeSolid(), G4VSceneHandler::GetNoOfSides(), operator<<(), and G4ViewParameters::TouchableCommands().
|
static |
Referenced by RE05DetectorConstruction::Construct(), and export_G4VisAttributes().
LineStyle G4VisAttributes::GetLineStyle | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), export_G4VisAttributes(), operator<<(), and G4ViewParameters::TouchableCommands().
G4double G4VisAttributes::GetLineWidth | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), export_G4VisAttributes(), G4VSceneHandler::GetLineWidth(), operator<<(), and G4ViewParameters::TouchableCommands().
G4double G4VisAttributes::GetStartTime | ( | ) | const |
G4bool G4VisAttributes::IsDaughtersInvisible | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), export_G4VisAttributes(), operator<<(), and G4ViewParameters::TouchableCommands().
G4bool G4VisAttributes::IsForceAuxEdgeVisible | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), export_G4VisAttributes(), operator<<(), and G4ViewParameters::TouchableCommands().
G4bool G4VisAttributes::IsForceDrawingStyle | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), export_G4VisAttributes(), operator<<(), G4ViewParameters::TouchableCommands(), G4RTSteppingAction::UserSteppingAction(), G4RTRun::ValidColour(), and G4TheRayTracer::ValidColour().
G4bool G4VisAttributes::IsForceLineSegmentsPerCircle | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeSolid(), and G4VSceneHandler::GetNoOfSides().
G4bool G4VisAttributes::IsVisible | ( | ) | const |
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4PhysicalVolumeModel::DescribeAndDescend(), G4HepRepSceneHandler::dontWrite(), export_G4VisAttributes(), G4GMocrenFileSceneHandler::IsVisible(), operator<<(), G4ViewParameters::TouchableCommands(), G4RTSteppingAction::UserSteppingAction(), G4RTRun::ValidColour(), and G4TheRayTracer::ValidColour().
G4bool G4VisAttributes::operator!= | ( | const G4VisAttributes & | a | ) | const |
Definition at line 229 of file G4VisAttributes.cc.
References fAttDefs, fAttValues, fColour, fDaughtersInvisible, fEndTime, fForceAuxEdgeVisible, fForcedLineSegmentsPerCircle, fForceDrawingStyle, fForcedStyle, fLineStyle, fLineWidth, fStartTime, and fVisible.
Referenced by operator==().
G4VisAttributes & G4VisAttributes::operator= | ( | const G4VisAttributes & | rhs | ) |
Definition at line 127 of file G4VisAttributes.cc.
References fAttDefs, fAttValues, fColour, fDaughtersInvisible, fEndTime, fForceAuxEdgeVisible, fForcedLineSegmentsPerCircle, fForceDrawingStyle, fForcedStyle, fLineStyle, fLineWidth, fStartTime, and fVisible.
G4bool G4VisAttributes::operator== | ( | const G4VisAttributes & | a | ) | const |
Definition at line 254 of file G4VisAttributes.cc.
References operator!=().
void G4VisAttributes::SetAttValues | ( | const std::vector< G4AttValue > * | ) |
void G4VisAttributes::SetColor | ( | const G4Color & | ) |
void G4VisAttributes::SetColour | ( | const G4Colour & | ) |
Referenced by G4VisCommandSceneAddArrow2D::Arrow2D::Arrow2D(), CellParameterisation::CellParameterisation(), G4tgbVolume::ConstructG4LogVol(), G4PhysicalVolumeModel::DescribeAndDescend(), G4PhysicalVolumeModel::DescribeSolid(), G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), ExN04CalorimeterHit::Draw(), RE01CalorimeterHit::Draw(), RE05CalorimeterHit::Draw(), Par01CalorimeterHit::Draw(), ExGflashHit::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), G4ArrowModel::G4ArrowModel(), G4DrawVoxels::G4DrawVoxels(), G4VisCommandSceneAddLine::Line::Line(), G4VisCommandSceneAddLine2D::Line2D::Line2D(), G4VisCommandSceneAddFrame::Frame::operator()(), G4VisCommandsTouchableSet::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
void G4VisAttributes::SetColour | ( | G4double | red, |
G4double | green, | ||
G4double | blue, | ||
G4double | alpha = 1. |
||
) |
void G4VisAttributes::SetDaughtersInvisible | ( | G4bool | ) |
Referenced by DetectorConstruction::ConstructLine(), G4PhysicalVolumeModel::DescribeAndDescend(), export_G4VisAttributes(), F04ElementField::GetVisAttribute(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetEndTime | ( | G4double | ) |
void G4VisAttributes::SetForceAuxEdgeVisible | ( | G4bool | ) |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), export_G4VisAttributes(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceLineSegmentsPerCircle | ( | G4int | nSegments | ) |
Definition at line 158 of file G4VisAttributes.cc.
References fForcedLineSegmentsPerCircle, G4cout, and G4endl.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceSolid | ( | G4bool | ) |
Referenced by G4MIRDLiver::Construct(), G4MIRDLeftAdrenal::Construct(), G4MIRDLeftClavicle::Construct(), G4MIRDLeftScapula::Construct(), G4MIRDRightLegBone::Construct(), G4MIRDRightScapula::Construct(), G4MIRDLeftOvary::Construct(), G4MIRDSkull::Construct(), G4MIRDLeftTeste::Construct(), G4MIRDSmallIntestine::Construct(), G4MIRDLowerLargeIntestine::Construct(), G4MIRDMaleGenitalia::Construct(), G4MIRDThyroid::Construct(), G4MIRDUpperLargeIntestine::Construct(), G4MIRDLeftKidney::Construct(), G4MIRDLeftLeg::Construct(), G4MIRDPelvis::Construct(), G4MIRDRightAdrenal::Construct(), G4MIRDLeftLegBone::Construct(), G4MIRDRightClavicle::Construct(), B03DetectorConstruction::Construct(), G4MIRDRightKidney::Construct(), G4MIRDRightLeg::Construct(), G4MIRDRightLung::Construct(), G4MIRDRightOvary::Construct(), G4MIRDRightTeste::Construct(), G4MIRDUterus::Construct(), G4MIRDSpleen::Construct(), G4MIRDUpperSpine::Construct(), G4MIRDStomach::Construct(), G4MIRDThymus::Construct(), G4MIRDBrain::Construct(), G4MIRDTrunk::Construct(), G4MIRDLeftBreast::Construct(), G4MIRDMiddleLowerSpine::Construct(), G4MIRDPancreas::Construct(), G4MIRDRibCage::Construct(), G4MIRDHeart::Construct(), G4MIRDRightBreast::Construct(), G4MIRDLeftLung::Construct(), G4MIRDLeftArmBone::Construct(), G4MIRDUrinaryBladder::Construct(), G4MIRDRightArmBone::Construct(), G4MIRDHead::Construct(), B02DetectorConstruction::Construct(), B01DetectorConstruction::Construct(), DMXDetectorConstruction::Construct(), XrayFluoMercuryDetectorConstruction::ConstructApparate(), XrayFluoPlaneDetectorConstruction::ConstructApparate(), XrayFluoDetectorConstruction::ConstructApparate(), PurgMagDetectorConstruction::ConstructCalorimeter(), DetectorConstruction::ConstructLine(), GammaRayTelDetectorConstruction::ConstructPayload(), G4HumanPhantomConstruction::ConstructWorld(), CML2PhaseSpaces::createPlane(), G4PhysicalVolumeModel::DescribeAndDescend(), UVA_VisAction::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), ExN04CalorimeterHit::Draw(), RE01CalorimeterHit::Draw(), RE05CalorimeterHit::Draw(), Par01CalorimeterHit::Draw(), ExGflashHit::Draw(), LXePMTHit::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), export_G4VisAttributes(), G4ArrowModel::G4ArrowModel(), G4VisCommandsTouchableSet::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), and LXeMainVolume::VisAttributes().
void G4VisAttributes::SetForceWireframe | ( | G4bool | ) |
Referenced by Par01DetectorConstruction::Construct(), ExN04DetectorConstruction::Construct(), RE01DetectorConstruction::Construct(), RE05DetectorConstruction::Construct(), UltraDetectorConstruction::Construct(), UltraDetectorConstruction::ConstructGround(), UltraDetectorConstruction::ConstructMirror(), GammaRayTelDetectorConstruction::ConstructPayload(), G4PhysicalVolumeModel::DescribeAndDescend(), G4LogicalVolumeModel::DescribeSolid(), ExN04CalorimeterHit::Draw(), RE01CalorimeterHit::Draw(), Par01CalorimeterHit::Draw(), ExGflashHit::Draw(), export_G4VisAttributes(), PerspectiveVisAction::RoomAndChair(), G4VisCommandsTouchableSet::SetNewValue(), and CCalG4Able::setVisType().
void G4VisAttributes::SetLineStyle | ( | LineStyle | ) |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), export_G4VisAttributes(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetLineWidth | ( | G4double | ) |
Referenced by G4VisCommandSceneAddArrow2D::Arrow2D::Arrow2D(), G4MIRDSkull::Construct(), G4MIRDBrain::Construct(), CML2Ph_BoxInBox::Construct(), G4PhysicalVolumeModel::DescribeAndDescend(), CexmcScenePrimitives::DrawRadialLine(), export_G4VisAttributes(), CexmcScenePrimitives::HighlightInnerCrystals(), G4VisCommandSceneAddLine::Line::Line(), G4VisCommandSceneAddLine2D::Line2D::Line2D(), G4VisCommandSceneAddFrame::Frame::operator()(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetStartTime | ( | G4double | ) |
void G4VisAttributes::SetVisibility | ( | G4bool | ) |
Referenced by CML2Acc1::BeWindow(), eRositaDetectorConstruction::Construct(), B5DetectorConstruction::Construct(), CML2PhantomConstruction::Construct(), CML2AcceleratorConstruction::Construct(), UltraDetectorConstruction::Construct(), CML2Ph_FullWater::Construct(), DMXDetectorConstruction::Construct(), CML2Ph_BoxInBox::Construct(), XrayFluoMercuryDetectorConstruction::ConstructApparate(), XrayFluoPlaneDetectorConstruction::ConstructApparate(), XrayFluoDetectorConstruction::ConstructApparate(), ExN03DetectorConstruction::ConstructCalorimeter(), PurgMagDetectorConstruction::ConstructCalorimeter(), G4tgbVolume::ConstructG4LogVol(), UltraDetectorConstruction::ConstructGround(), DetectorConstruction::ConstructLine(), UltraDetectorConstruction::ConstructMirror(), GammaRayTelDetectorConstruction::ConstructPayload(), UltraDetectorConstruction::ConstructUVscope(), CML2WorldConstruction::create(), CML2PhaseSpaces::createPlane(), B4cDetectorConstruction::DefineVolumes(), B4dDetectorConstruction::DefineVolumes(), B4DetectorConstruction::DefineVolumes(), G4PhysicalVolumeModel::DescribeAndDescend(), G4TrajectoryDrawerUtils::DrawWithoutTime(), G4TrajectoryDrawerUtils::DrawWithTime(), export_G4VisAttributes(), CML2Acc1::flatteningFilter(), CML2Acc1::ionizationChamber(), CML2Acc1::Jaw1X(), CML2Acc1::Jaw1Y(), CML2Acc1::Jaw2X(), CML2Acc1::Jaw2Y(), CML2Acc1::mirror(), CML2Acc1::MLC(), CML2Acc1::primaryCollimator(), DicomPhantomParameterisationColour::ReadColourData(), DicomNestedPhantomParameterisation::ReadColourData(), G4VisCommandsTouchableSet::SetNewValue(), XDetectorConstruction::SetupGeometry(), RE03DetectorConstruction::SetupGeometry(), RE04DetectorConstruction::SetupGeometry(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), RE06DetectorConstruction::SetupGeometry(), CCalG4Able::setVisType(), G3toG4DetectorConstruction::SimpleConstruct(), and CML2Acc1::target().
|
friend |
Definition at line 170 of file G4VisAttributes.cc.
Definition at line 145 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 144 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 134 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 133 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 143 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 140 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 141 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), operator=(), and SetForceLineSegmentsPerCircle().
|
private |
Definition at line 138 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 139 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 135 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 136 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 143 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
private |
Definition at line 132 of file G4VisAttributes.hh.
Referenced by operator!=(), operator<<(), and operator=().
|
static |
Definition at line 82 of file G4VisAttributes.hh.
Referenced by UltraFresnelLens::BuildLens(), HadrontherapyModulator::BuildModulator(), Par01DetectorConstruction::Construct(), exGPSGeometryConstruction::Construct(), G4MIRDRibCage::Construct(), B3DetectorConstruction::Construct(), ExGflashDetectorConstruction::Construct(), FCALCryostatVolumes::Construct(), FCALEMModule::Construct(), exrdmDetectorConstruction::Construct(), FCALTestbeamSetup::Construct(), XrayTelDetectorConstruction::Construct(), UltraDetectorConstruction::Construct(), DMXDetectorConstruction::Construct(), RE02DetectorConstruction::Construct(), XrayFluoMercuryDetectorConstruction::ConstructApparate(), XrayFluoPlaneDetectorConstruction::ConstructApparate(), XrayFluoDetectorConstruction::ConstructApparate(), GammaKnifeDetectorConstruction::ConstructBeamLine(), DetectorConstruction::ConstructCalorimeter(), ExN03DetectorConstruction::ConstructCalorimeter(), Collimator100BeamLine::ConstructCollimator100BeamLine(), Collimator40BeamLine::ConstructCollimator40BeamLine(), Collimator50BeamLine::ConstructCollimator50BeamLine(), Collimator60BeamLine::ConstructCollimator60BeamLine(), Collimator70BeamLine::ConstructCollimator70BeamLine(), Collimator80BeamLine::ConstructCollimator80BeamLine(), LXeDetectorConstruction::ConstructDetector(), PassiveCarbonBeamLine::ConstructPassiveCarbonBeamLine(), PassiveProtonBeamLine::ConstructPassiveProtonBeamLine(), GammaRayTelDetectorConstruction::ConstructPayload(), DicomNestedParamDetectorConstruction::ConstructPhantom(), BrachyDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), XrayTelDetectorConstruction::ConstructTelescope(), G4HumanPhantomConstruction::ConstructWorld(), B4dDetectorConstruction::DefineVolumes(), B4cDetectorConstruction::DefineVolumes(), B4DetectorConstruction::DefineVolumes(), export_G4VisAttributes(), G4BuildGeom(), F04ElementField::GetVisAttribute(), G4GDMLReadStructure::GetWorldVolume(), XDetectorConstruction::SetupGeometry(), RE04DetectorConstruction::SetupGeometry(), RE06DetectorConstruction::SetupGeometry(), and G3toG4DetectorConstruction::SimpleConstruct().