DLG4::VolumeBuilders
A fluent interface for Geant4 geometry definition.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VolumeConfigs Struct Reference

#include <VolumeBuilderConfigs.hh>

Collaboration diagram for VolumeConfigs:
[legend]

Public Member Functions

 VolumeConfigs ()=default
 
 ~VolumeConfigs ()=default
 
 VolumeConfigs (const VolumeConfigs &other)
 
VolumeConfigsoperator= (const VolumeConfigs &other)
 
void copyFrom (const VolumeConfigs &other)
 

Public Attributes

G4Colour color {0.5, 0.5, 0.5, 1}
 
bool force_solid {false}
 
bool is_visible {true}
 
G4Material * material {}
 
G4VisAttributes vis_att {}
 

Detailed Description

Definition at line 79 of file VolumeBuilderConfigs.hh.

Constructor & Destructor Documentation

◆ VolumeConfigs() [1/2]

VolumeConfigs ( )
default

◆ ~VolumeConfigs()

~VolumeConfigs ( )
default

◆ VolumeConfigs() [2/2]

VolumeConfigs ( const VolumeConfigs other)
inline

Copy constructor.

Definition at line 44 of file VolumeBuilder.hpp.

44 : VolumeConfigsValueTypes(other) {
45 copyFrom(other);
46 }
void copyFrom(const VolumeConfigs &other)

Member Function Documentation

◆ copyFrom()

void copyFrom ( const VolumeConfigs other)
inline

Definition at line 39 of file VolumeBuilder.hpp.

39 {
40 //TODO: What's this about?
41 }

◆ operator=()

VolumeConfigs & operator= ( const VolumeConfigs other)
inline

Operator =.

Definition at line 48 of file VolumeBuilder.hpp.

48 {
49 copyFrom(other);
50 return *this;
51 }

Member Data Documentation

◆ color

G4Colour color {0.5, 0.5, 0.5, 1}
inherited

Definition at line 72 of file VolumeBuilderConfigs.hh.

72{0.5, 0.5, 0.5, 1};

◆ force_solid

bool force_solid {false}
inherited

Definition at line 73 of file VolumeBuilderConfigs.hh.

73{false};

◆ is_visible

bool is_visible {true}
inherited

Definition at line 74 of file VolumeBuilderConfigs.hh.

74{true};

◆ material

G4Material* material {}
inherited

Definition at line 75 of file VolumeBuilderConfigs.hh.

75{}; //G4 takes ownership

◆ vis_att

G4VisAttributes vis_att {}
inherited

Definition at line 76 of file VolumeBuilderConfigs.hh.

76{};

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