Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VisAttributes.hh>
Public Types | |
enum | LineStyle { unbroken , dashed , dotted } |
enum | ForcedDrawingStyle { wireframe , solid , cloud } |
Static Public Member Functions | |
static const G4VisAttributes & | GetInvisible () |
static G4int | GetMinLineSegmentsPerCircle () |
Static Public Attributes | |
static const G4VisAttributes | Invisible = G4VisAttributes (false) |
static constexpr G4int | fMinLineSegmentsPerCircle = 3 |
static constexpr G4double | fVeryLongTime = 1.e100 * CLHEP::ns |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4VisAttributes &a) |
Definition at line 69 of file G4VisAttributes.hh.
G4VisAttributes::G4VisAttributes | ( | ) |
Definition at line 36 of file G4VisAttributes.cc.
Referenced by GetInvisible().
G4VisAttributes::G4VisAttributes | ( | G4bool | visibility | ) |
Definition at line 54 of file G4VisAttributes.cc.
G4VisAttributes::G4VisAttributes | ( | const G4Colour & | colour | ) |
Definition at line 72 of file G4VisAttributes.cc.
Definition at line 90 of file G4VisAttributes.cc.
G4VisAttributes::G4VisAttributes | ( | const G4VisAttributes & | va | ) |
Definition at line 109 of file G4VisAttributes.cc.
G4VisAttributes::~G4VisAttributes | ( | ) |
Definition at line 132 of file G4VisAttributes.cc.
const std::vector< G4AttValue > * G4VisAttributes::CreateAttValues | ( | ) | const |
Definition at line 225 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::AddPrimitive().
const G4Colour & G4VisAttributes::GetColour | ( | ) | const |
Referenced by G4TheRayTracer::Attenuate(), G4ViewParameters::CameraAndLightingCommands(), G4XXXSGViewer::CompareForKernelVisit(), G4XXXStoredViewer::CompareForKernelVisit(), G4PhysicalVolumeModel::DescribeAndDescend(), G4TheRayTracer::GetSurfaceColour(), G4VisCommandsViewerSet::SetNewValue(), G4ViewParameters::TouchableCommands(), and G4RTSteppingAction::UserSteppingAction().
G4double G4VisAttributes::GetEndTime | ( | ) | const |
G4VisAttributes::ForcedDrawingStyle G4VisAttributes::GetForcedDrawingStyle | ( | ) | const |
Definition at line 215 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4ViewParameters::TouchableCommands(), G4RTSteppingAction::UserSteppingAction(), and G4TheRayTracer::ValidColour().
G4int G4VisAttributes::GetForcedLineSegmentsPerCircle | ( | ) | const |
G4int G4VisAttributes::GetForcedNumberOfCloudPoints | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), and G4ViewParameters::TouchableCommands().
|
static |
Definition at line 166 of file G4VisAttributes.cc.
Referenced by G4BuildGeom(), and G4GDMLReadStructure::GetWorldVolume().
LineStyle G4VisAttributes::GetLineStyle | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), and G4ViewParameters::TouchableCommands().
G4double G4VisAttributes::GetLineWidth | ( | ) | const |
|
static |
G4double G4VisAttributes::GetStartTime | ( | ) | const |
G4bool G4VisAttributes::IsDaughtersInvisible | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), and G4ViewParameters::TouchableCommands().
G4bool G4VisAttributes::IsForceAuxEdgeVisible | ( | ) | const |
G4bool G4VisAttributes::IsForcedAuxEdgeVisible | ( | ) | const |
Definition at line 220 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4VSceneHandler::GetAuxEdgeVisible(), and G4ViewParameters::TouchableCommands().
G4bool G4VisAttributes::IsForceDrawingStyle | ( | ) | const |
G4bool G4VisAttributes::IsForceLineSegmentsPerCircle | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeSolid(), and G4VSceneHandler::GetNoOfSides().
G4bool G4VisAttributes::IsVisible | ( | ) | const |
G4bool G4VisAttributes::operator!= | ( | const G4VisAttributes & | a | ) | const |
Definition at line 304 of file G4VisAttributes.cc.
Referenced by operator==().
G4VisAttributes & G4VisAttributes::operator= | ( | const G4VisAttributes & | rhs | ) |
Definition at line 135 of file G4VisAttributes.cc.
G4bool G4VisAttributes::operator== | ( | const G4VisAttributes & | a | ) | const |
Definition at line 333 of file G4VisAttributes.cc.
void G4VisAttributes::SetAttValues | ( | const std::vector< G4AttValue > * | ) |
void G4VisAttributes::SetColor | ( | const G4Color & | ) |
void G4VisAttributes::SetColour | ( | const G4Colour & | ) |
Referenced by G4ViewParameters::CatmullRomCubicSplineInterpolation(), G4tgbVolume::ConstructG4LogVol(), G4PhysicalVolumeModel::DescribeAndDescend(), G4GPSModel::DescribeYourselfTo(), G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), G4ArrowModel::G4ArrowModel(), G4DrawVoxels::G4DrawVoxels(), G4VisCommandsTouchableSet::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), and G4VViewer::TouchableSetColour().
void G4VisAttributes::SetColour | ( | G4double | red, |
G4double | green, | ||
G4double | blue, | ||
G4double | alpha = 1. |
||
) |
void G4VisAttributes::SetDaughtersInvisible | ( | G4bool | = true | ) |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetEndTime | ( | G4double | ) |
void G4VisAttributes::SetForceAuxEdgeVisible | ( | G4bool | visibility = true | ) |
Definition at line 209 of file G4VisAttributes.cc.
Referenced by G4VSceneHandler::AddSolidWithAuxiliaryEdges(), G4PhysicalVolumeModel::DescribeAndDescend(), G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceCloud | ( | G4bool | force = true | ) |
Definition at line 189 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4VisCommandGeometrySetForceCloudFunction::operator()(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceLineSegmentsPerCircle | ( | G4int | nSegments | ) |
Definition at line 230 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceNumberOfCloudPoints | ( | G4int | nPoints | ) |
Definition at line 198 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4VisCommandGeometrySetForceCloudFunction::operator()(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceSolid | ( | G4bool | force = true | ) |
Definition at line 180 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4GPSModel::DescribeYourselfTo(), G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), G4ArrowModel::G4ArrowModel(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceWireframe | ( | G4bool | force = true | ) |
Definition at line 171 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4LogicalVolumeModel::DescribeSolid(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetLineStyle | ( | LineStyle | ) |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetLineWidth | ( | G4double | ) |
void G4VisAttributes::SetStartTime | ( | G4double | ) |
void G4VisAttributes::SetVisibility | ( | G4bool | = true | ) |
|
friend |
Definition at line 242 of file G4VisAttributes.cc.
|
staticconstexpr |
Definition at line 147 of file G4VisAttributes.hh.
Referenced by SetForceLineSegmentsPerCircle().
|
staticconstexpr |
Definition at line 150 of file G4VisAttributes.hh.
Referenced by G4VisCommandsViewerSet::G4VisCommandsViewerSet().
|
static |
Definition at line 92 of file G4VisAttributes.hh.