Files
geant4/source/geometry/management/include/G4VTouchable.icc
T
2016-06-08 15:55:53 +02:00

80 lines
1.7 KiB
Plaintext

// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VTouchable.icc,v 1.4 2000/11/01 15:39:34 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// class G4VTouchable Inline implementation
//
inline
G4VTouchable::G4VTouchable()
{
}
inline
G4VTouchable::~G4VTouchable()
{
}
inline
G4VPhysicalVolume* G4VTouchable::GetVolume(G4int) const
{
G4Exception("G4VTouchable::GetVolume(G4int depth) undefined");
return NULL;
}
inline
G4VSolid* G4VTouchable::GetSolid(G4int) const
{
G4Exception("G4VTouchable::GetSolid(G4int depth) undefined");
return NULL;
}
inline
G4int G4VTouchable::GetReplicaNumber(G4int) const
{
G4Exception("G4VTouchable::GetReplicaNumber(G4int depth) undefined");
return 0;
}
inline
G4int G4VTouchable::MoveUpHistory( G4int )
{
G4Exception("G4VTouchable::MoveUpHistory(G4int) undefined ");
return 0; // for this touchable subclass
}
inline
void G4VTouchable::UpdateYourself(G4VPhysicalVolume*,
const G4NavigationHistory* )
{
G4Exception("G4VTouchable::UpdateYourself( G4VPhysicalVolume*, const G4NavigationHistory* ) undefined ");
}
inline
G4int G4VTouchable::GetHistoryDepth() const
{
G4Exception("G4VTouchable::GetHistoryDepth() undefined ");
return 0;
}
inline
const G4NavigationHistory* G4VTouchable::GetHistory() const
{
G4Exception("G4VTouchable::GetHistory() undefined");
return NULL;
}
#if 0
inline void G4VTouchable::ResetLevel()
{
G4Exception("G4VTouchable::ResetLevel() undefined");
}
#endif