Geant4-11
Public Member Functions | Private Types | Private Attributes
G4ToolsSGNode Class Reference

#include <G4ToolsSGNode.hh>

Inheritance diagram for G4ToolsSGNode:

Public Member Functions

 G4ToolsSGNode ()
 
 G4ToolsSGNode (const G4ToolsSGNode &a_from)
 
const G4PhysicalVolumeModel::G4PhysicalVolumeNodeIDGetPVNodeID () const
 
G4ToolsSGNodeoperator= (const G4ToolsSGNode &a_from)
 
void SetPVNodeID (const G4PhysicalVolumeModel::G4PhysicalVolumeNodeID &id)
 
virtual ~G4ToolsSGNode ()=default
 

Private Types

typedef tools::sg::separator parent
 

Private Attributes

G4PhysicalVolumeModel::G4PhysicalVolumeNodeID fPVNodeID
 

Detailed Description

Definition at line 35 of file G4ToolsSGNode.hh.

Member Typedef Documentation

◆ parent

typedef tools::sg::separator G4ToolsSGNode::parent
private

Definition at line 36 of file G4ToolsSGNode.hh.

Constructor & Destructor Documentation

◆ G4ToolsSGNode() [1/2]

G4ToolsSGNode::G4ToolsSGNode ( )
inline

Definition at line 38 of file G4ToolsSGNode.hh.

38:parent(),fPVNodeID(0) {}
G4PhysicalVolumeModel::G4PhysicalVolumeNodeID fPVNodeID
tools::sg::separator parent

◆ ~G4ToolsSGNode()

virtual G4ToolsSGNode::~G4ToolsSGNode ( )
virtualdefault

◆ G4ToolsSGNode() [2/2]

G4ToolsSGNode::G4ToolsSGNode ( const G4ToolsSGNode a_from)
inline

Definition at line 41 of file G4ToolsSGNode.hh.

41:parent(a_from),fPVNodeID(a_from.fPVNodeID) {}

Member Function Documentation

◆ GetPVNodeID()

const G4PhysicalVolumeModel::G4PhysicalVolumeNodeID & G4ToolsSGNode::GetPVNodeID ( ) const
inline

Definition at line 48 of file G4ToolsSGNode.hh.

49 {return fPVNodeID;}

References fPVNodeID.

Referenced by G4ToolsSGSceneHandler::GetOrCreateNode().

◆ operator=()

G4ToolsSGNode & G4ToolsSGNode::operator= ( const G4ToolsSGNode a_from)
inline

Definition at line 42 of file G4ToolsSGNode.hh.

42 {
43 parent::operator=(a_from);
44 fPVNodeID = a_from.fPVNodeID;
45 return *this;
46 }

References fPVNodeID.

◆ SetPVNodeID()

void G4ToolsSGNode::SetPVNodeID ( const G4PhysicalVolumeModel::G4PhysicalVolumeNodeID id)
inline

Definition at line 50 of file G4ToolsSGNode.hh.

51 {fPVNodeID = id;}

References fPVNodeID.

Referenced by G4ToolsSGSceneHandler::GetOrCreateNode().

Field Documentation

◆ fPVNodeID

G4PhysicalVolumeModel::G4PhysicalVolumeNodeID G4ToolsSGNode::fPVNodeID
private

Definition at line 53 of file G4ToolsSGNode.hh.

Referenced by GetPVNodeID(), operator=(), and SetPVNodeID().


The documentation for this class was generated from the following file: