Geant4 11.2.2
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 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 53 of file G4VisAttributes.cc.
G4VisAttributes::G4VisAttributes | ( | const G4Colour & | colour | ) |
Definition at line 71 of file G4VisAttributes.cc.
Definition at line 89 of file G4VisAttributes.cc.
|
default |
|
default |
const std::vector< G4AttValue > * G4VisAttributes::CreateAttValues | ( | ) | const |
Definition at line 195 of file G4VisAttributes.cc.
Referenced by G4VSceneHandler::LoadAtts().
Referenced by G4VSceneHandler::LoadAtts().
const G4Color & G4VisAttributes::GetColor | ( | ) | const |
const G4Colour & G4VisAttributes::GetColour | ( | ) | const |
Referenced by G4Qt3DSceneHandler::AddPrimitive(), G4Qt3DSceneHandler::AddPrimitive(), G4Qt3DSceneHandler::AddPrimitive(), G4Qt3DSceneHandler::AddPrimitive(), G4Qt3DSceneHandler::AddPrimitive(), G4VtkStore::AddPrimitiveSeparate(), G4VtkStore::AddPrimitiveTensorGlyph(), G4VtkStore::AddPrimitiveTransformBake(), G4TheRayTracer::Attenuate(), G4ViewParameters::CameraAndLightingCommands(), G4OpenGLStoredQtViewer::CompareForKernelVisit(), G4OpenGLStoredViewer::CompareForKernelVisit(), G4Qt3DViewer::CompareForKernelVisit(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CompareForKernelVisit(), G4PhysicalVolumeModel::DescribeAndDescend(), G4SceneTreeItem::DumpSingleItem(), G4VtkPolydataPolygonPipeline::G4VtkPolydataPolygonPipeline(), G4VtkPolydataPolyline2DPipeline::G4VtkPolydataPolyline2DPipeline(), G4VtkPolydataPolylinePipeline::G4VtkPolydataPolylinePipeline(), G4VtkPolydataSpherePipeline::G4VtkPolydataSpherePipeline(), G4VtkText2DPipeline::G4VtkText2DPipeline(), G4VtkTextPipeline::G4VtkTextPipeline(), G4VSceneHandler::GetColour(), G4TheRayTracer::GetSurfaceColour(), G4VSceneHandler::GetTextColour(), G4VtkSceneHandler::MakeDefaultVisContext(), G4VtkPolydataInstanceAppendPipeline::MakeHash(), G4VtkPolydataInstanceBakePipeline::MakeHash(), std::hash< G4VisAttributes >::operator()(), G4VisCommandsViewerSet::SetNewValue(), G4ViewParameters::TouchableCommands(), and G4RTSteppingAction::UserSteppingAction().
G4double G4VisAttributes::GetEndTime | ( | ) | const |
G4VisAttributes::ForcedDrawingStyle G4VisAttributes::GetForcedDrawingStyle | ( | ) | const |
Definition at line 185 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 135 of file G4VisAttributes.cc.
Referenced by G4BuildGeom(), and G4GDMLReadStructure::GetWorldVolume().
LineStyle G4VisAttributes::GetLineStyle | ( | ) | const |
G4double G4VisAttributes::GetLineWidth | ( | ) | const |
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4VtkPolydataPolygonPipeline::G4VtkPolydataPolygonPipeline(), G4VtkPolydataPolyline2DPipeline::G4VtkPolydataPolyline2DPipeline(), G4VtkPolydataPolylinePipeline::G4VtkPolydataPolylinePipeline(), G4VtkPolydataSpherePipeline::G4VtkPolydataSpherePipeline(), G4VSceneHandler::GetLineWidth(), and G4ViewParameters::TouchableCommands().
|
static |
G4double G4VisAttributes::GetStartTime | ( | ) | const |
G4bool G4VisAttributes::IsDaughtersInvisible | ( | ) | const |
G4bool G4VisAttributes::IsForceAuxEdgeVisible | ( | ) | const |
G4bool G4VisAttributes::IsForcedAuxEdgeVisible | ( | ) | const |
Definition at line 190 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4VSceneHandler::GetAuxEdgeVisible(), and G4ViewParameters::TouchableCommands().
G4bool G4VisAttributes::IsForceDrawingStyle | ( | ) | const |
G4bool G4VisAttributes::IsForceLineSegmentsPerCircle | ( | ) | const |
Referenced by G4VSceneHandler::GetNoOfSides().
G4bool G4VisAttributes::IsVisible | ( | ) | const |
Referenced by G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4PhysicalVolumeModel::DescribeAndDescend(), G4SceneTreeItem::DumpSingleItem(), std::hash< G4VisAttributes >::operator()(), G4ViewParameters::TouchableCommands(), G4RTSteppingAction::UserSteppingAction(), and G4TheRayTracer::ValidColour().
G4bool G4VisAttributes::operator!= | ( | const G4VisAttributes & | a | ) | const |
Definition at line 275 of file G4VisAttributes.cc.
Referenced by operator==().
G4VisAttributes & G4VisAttributes::operator= | ( | const G4VisAttributes & | rhs | ) |
Definition at line 109 of file G4VisAttributes.cc.
G4bool G4VisAttributes::operator== | ( | const G4VisAttributes & | a | ) | const |
Definition at line 304 of file G4VisAttributes.cc.
void G4VisAttributes::SetAttValues | ( | const std::vector< G4AttValue > * | ) |
void G4VisAttributes::SetColor | ( | const G4Color & | ) |
void G4VisAttributes::SetColour | ( | const G4Colour & | ) |
Referenced by G4VSceneHandler::AddCompound(), 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 179 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 158 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4VisCommandGeometrySetForceCloudFunction::operator()(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceLineSegmentsPerCircle | ( | G4int | nSegments | ) |
Definition at line 200 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceNumberOfCloudPoints | ( | G4int | nPoints | ) |
Definition at line 167 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4VisCommandGeometrySetForceCloudFunction::operator()(), and G4VisCommandsTouchableSet::SetNewValue().
void G4VisAttributes::SetForceSolid | ( | G4bool | force = true | ) |
Definition at line 149 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 140 of file G4VisAttributes.cc.
Referenced by G4PhysicalVolumeModel::DescribeAndDescend(), G4LogicalVolumeModel::DescribeSolid(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandsTouchableSet::SetNewValue(), and G4VSceneHandler::StandardSpecialMeshRendering().
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 212 of file G4VisAttributes.cc.
|
staticconstexpr |
Definition at line 138 of file G4VisAttributes.hh.
Referenced by SetForceLineSegmentsPerCircle().
|
staticconstexpr |
Definition at line 141 of file G4VisAttributes.hh.
Referenced by G4OpenGLStoredViewer::DrawDisplayLists(), and G4VisCommandsViewerSet::G4VisCommandsViewerSet().