Import Geant4 9.3.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4BoundingSphereScene.hh,v 1.18 2008/01/04 21:59:15 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4BoundingSphereScene.hh,v 1.19 2009/10/21 14:17:33 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// John Allison 7th June 1997
|
||||
@@ -70,6 +70,7 @@ public:
|
||||
void AddSolid (const G4VSolid& s) {Accrue (s);}
|
||||
void AddCompound (const G4VTrajectory&) {}
|
||||
void AddCompound (const G4VHit&) {}
|
||||
void AddCompound (const G4THitsMap<G4double>&) {}
|
||||
G4VisExtent GetBoundingSphereExtent ();
|
||||
const G4Point3D& GetCentre() const {return fCentre;}
|
||||
G4double GetRadius() const {return fRadius;}
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4ModelApplyCommandsT.hh,v 1.5 2006/09/11 21:22:02 tinslay Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4ModelApplyCommandsT.hh,v 1.6 2009/02/25 14:17:11 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// Abstract model messenges. Derived classes should implement
|
||||
// the "Apply" method
|
||||
@@ -43,7 +43,7 @@
|
||||
#include "G4UIcmdWithAString.hh"
|
||||
#include "G4UIcommand.hh"
|
||||
#include "G4VModelCommand.hh"
|
||||
#include "globals.hh"
|
||||
#include "G4VVisManager.hh"
|
||||
#include <sstream>
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -151,6 +151,8 @@ void G4ModelCmdApplyStringColour<M>::SetNewValue(G4UIcommand* cmd, G4String newV
|
||||
}
|
||||
|
||||
Apply(parameter, myColour);
|
||||
G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
|
||||
if (visManager) visManager->NotifyHandlers();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -253,6 +255,8 @@ void G4ModelCmdApplyColour<M>::SetNewValue(G4UIcommand* cmd, G4String newValue)
|
||||
}
|
||||
|
||||
Apply(myColour);
|
||||
G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
|
||||
if (visManager) visManager->NotifyHandlers();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -300,6 +304,8 @@ template <typename M>
|
||||
void G4ModelCmdApplyBool<M>::SetNewValue(G4UIcommand*, G4String newValue)
|
||||
{
|
||||
Apply(fpCmd->GetNewBoolValue(newValue));
|
||||
G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
|
||||
if (visManager) visManager->NotifyHandlers();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -346,6 +352,8 @@ template <typename M>
|
||||
void G4ModelCmdApplyNull<M>::SetNewValue(G4UIcommand*, G4String)
|
||||
{
|
||||
Apply();
|
||||
G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
|
||||
if (visManager) visManager->NotifyHandlers();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -394,6 +402,8 @@ template <typename M>
|
||||
void G4ModelCmdApplyDouble<M>::SetNewValue(G4UIcommand*, G4String newValue)
|
||||
{
|
||||
Apply(fpCmd->GetNewDoubleValue(newValue));
|
||||
G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
|
||||
if (visManager) visManager->NotifyHandlers();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -442,6 +452,8 @@ template <typename M>
|
||||
void G4ModelCmdApplyDoubleAndUnit<M>::SetNewValue(G4UIcommand*, G4String newValue)
|
||||
{
|
||||
Apply(fpCmd->GetNewDoubleValue(newValue));
|
||||
G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
|
||||
if (visManager) visManager->NotifyHandlers();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -489,6 +501,8 @@ template <typename M>
|
||||
void G4ModelCmdApplyInteger<M>::SetNewValue(G4UIcommand* cmd, G4String newValue)
|
||||
{
|
||||
Apply(fpCmd->GetNewIntValue(newValue));
|
||||
G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
|
||||
if (visManager) visManager->NotifyHandlers();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -536,6 +550,8 @@ template <typename M>
|
||||
void G4ModelCmdApplyString<M>::SetNewValue(G4UIcommand*, G4String newValue)
|
||||
{
|
||||
Apply(newValue);
|
||||
G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
|
||||
if (visManager) visManager->NotifyHandlers();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4ModelCommandUtils.hh,v 1.2 2006/09/13 12:54:31 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4ModelCommandUtils.hh,v 1.3 2009/02/24 12:00:56 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// Jane Tinslay September 2006
|
||||
//
|
||||
@@ -52,6 +52,7 @@ namespace G4ModelCommandUtils {
|
||||
messengers.push_back(new G4ModelCmdSetStepPtsVisible<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetStepPtsColour<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetStepPtsSize<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetStepPtsSizeType<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetStepPtsType<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetStepPtsFillStyle<G4VisTrajContext>(context, placement));
|
||||
|
||||
@@ -59,6 +60,7 @@ namespace G4ModelCommandUtils {
|
||||
messengers.push_back(new G4ModelCmdSetAuxPtsVisible<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetAuxPtsColour<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetAuxPtsSize<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetAuxPtsSizeType<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetAuxPtsType<G4VisTrajContext>(context, placement));
|
||||
messengers.push_back(new G4ModelCmdSetAuxPtsFillStyle<G4VisTrajContext>(context, placement));
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4ModelCommandsT.hh,v 1.12 2006/11/01 10:34:03 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4ModelCommandsT.hh,v 1.13 2009/02/24 12:00:56 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// Generic model messenges.
|
||||
//
|
||||
@@ -397,44 +397,68 @@ protected:
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Set auxiliary points size command
|
||||
template <typename M>
|
||||
class G4ModelCmdSetAuxPtsSize : public G4ModelCmdApplyDouble<M> {
|
||||
class G4ModelCmdSetAuxPtsSize : public G4ModelCmdApplyString<M> {
|
||||
|
||||
public:
|
||||
|
||||
G4ModelCmdSetAuxPtsSize(M* model, const G4String& placement,
|
||||
const G4String& cmdName="setAuxPtsSize")
|
||||
:G4ModelCmdApplyDouble<M>(model, placement, cmdName)
|
||||
const G4String& cmdName="setAuxPtsSize")
|
||||
:G4ModelCmdApplyString<M>(model, placement, cmdName)
|
||||
{
|
||||
G4ModelCmdApplyDouble<M>::Command()->SetGuidance("Set auxiliary points size command");
|
||||
G4ModelCmdApplyString<M>::Command()->SetGuidance("Set auxiliary points size command");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
void Apply(const G4double& myDouble) {
|
||||
G4VModelCommand<M>::Model()->SetAuxPtsSize(myDouble);
|
||||
}
|
||||
void Apply(const G4String& sizeString) {
|
||||
std::istringstream iss(sizeString);
|
||||
G4double size;
|
||||
G4String unit;
|
||||
iss >> size >> unit;
|
||||
if (G4VModelCommand<M>::Model()->GetAuxPtsSizeType() == G4VMarker::world)
|
||||
{
|
||||
G4double myDouble = G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(sizeString);
|
||||
G4VModelCommand<M>::Model()->SetAuxPtsSize(myDouble);
|
||||
}
|
||||
else // none or screen
|
||||
{
|
||||
G4VModelCommand<M>::Model()->SetAuxPtsSize(size);
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Set step points size command
|
||||
template <typename M>
|
||||
class G4ModelCmdSetStepPtsSize : public G4ModelCmdApplyDouble<M> {
|
||||
class G4ModelCmdSetStepPtsSize : public G4ModelCmdApplyString<M> {
|
||||
|
||||
public:
|
||||
|
||||
G4ModelCmdSetStepPtsSize(M* model, const G4String& placement,
|
||||
const G4String& cmdName="setStepPtsSize")
|
||||
:G4ModelCmdApplyDouble<M>(model, placement, cmdName)
|
||||
:G4ModelCmdApplyString<M>(model, placement, cmdName)
|
||||
{
|
||||
G4ModelCmdApplyDouble<M>::Command()->SetGuidance("Set step points size command");
|
||||
G4ModelCmdApplyString<M>::Command()->SetGuidance("Set step points size command");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
void Apply(const G4double& myDouble) {
|
||||
G4VModelCommand<M>::Model()->SetStepPtsSize(myDouble);
|
||||
}
|
||||
void Apply(const G4String& sizeString) {
|
||||
std::istringstream iss(sizeString);
|
||||
G4double size;
|
||||
G4String unit;
|
||||
iss >> size >> unit;
|
||||
if (G4VModelCommand<M>::Model()->GetStepPtsSizeType() == G4VMarker::world)
|
||||
{
|
||||
G4double myDouble = G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(sizeString);
|
||||
G4VModelCommand<M>::Model()->SetStepPtsSize(myDouble);
|
||||
}
|
||||
else // none or screen
|
||||
{
|
||||
G4VModelCommand<M>::Model()->SetStepPtsSize(size);
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@@ -514,6 +538,80 @@ protected:
|
||||
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Set step points size type command
|
||||
template <typename M>
|
||||
class G4ModelCmdSetStepPtsSizeType : public G4ModelCmdApplyString<M> {
|
||||
|
||||
public:
|
||||
|
||||
G4ModelCmdSetStepPtsSizeType(M* model, const G4String& placement,
|
||||
const G4String& cmdName="setStepPtsSizeType")
|
||||
:G4ModelCmdApplyString<M>(model, placement, cmdName)
|
||||
{
|
||||
G4UIcmdWithAString* cmd = G4ModelCmdApplyString<M>::Command();
|
||||
cmd->SetGuidance("Set step size type.");
|
||||
cmd->SetCandidates("none world screen");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
void Apply(const G4String& type) {
|
||||
G4VMarker::SizeType mySizeType;
|
||||
|
||||
if (type == "none") {mySizeType = G4VMarker::none;}
|
||||
else if (type == "world") {mySizeType = G4VMarker::world;}
|
||||
else if (type == "screen") {mySizeType = G4VMarker::screen;}
|
||||
else {
|
||||
std::ostringstream o;
|
||||
o << "Invalid argument. See command guidance for options.";
|
||||
G4Exception
|
||||
("G4ModelCmdSetStepPtsSizeType::Apply",
|
||||
"InvalidArgument", JustWarning, o.str().c_str());
|
||||
return;
|
||||
}
|
||||
G4VModelCommand<M>::Model()->SetStepPtsSizeType(mySizeType);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Set auxiliary points size type command
|
||||
template <typename M>
|
||||
class G4ModelCmdSetAuxPtsSizeType : public G4ModelCmdApplyString<M> {
|
||||
|
||||
public:
|
||||
|
||||
G4ModelCmdSetAuxPtsSizeType(M* model, const G4String& placement,
|
||||
const G4String& cmdName="setAuxPtsSizeType")
|
||||
:G4ModelCmdApplyString<M>(model, placement, cmdName)
|
||||
{
|
||||
G4UIcmdWithAString* cmd = G4ModelCmdApplyString<M>::Command();
|
||||
cmd->SetGuidance("Set auxiliary size type.");
|
||||
cmd->SetCandidates("none world screen");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
void Apply(const G4String& type) {
|
||||
G4VMarker::SizeType mySizeType;
|
||||
|
||||
if (type == "none") {mySizeType = G4VMarker::none;}
|
||||
else if (type == "world") {mySizeType = G4VMarker::world;}
|
||||
else if (type == "screen") {mySizeType = G4VMarker::screen;}
|
||||
else {
|
||||
std::ostringstream o;
|
||||
o << "Invalid argument. See command guidance for options.";
|
||||
G4Exception
|
||||
("G4ModelCmdSetAuxPtsSizeType::Apply",
|
||||
"InvalidArgument", JustWarning, o.str().c_str());
|
||||
return;
|
||||
}
|
||||
G4VModelCommand<M>::Model()->SetAuxPtsSizeType(mySizeType);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Set step points fill style command
|
||||
template <typename M>
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PSHitsModel.hh,v 1.4 2009/11/04 12:44:39 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// Created: Mar. 31, 2009 Akinori Kimura
|
||||
//
|
||||
// Model which knows how to draw GEANT4 scorers.
|
||||
//
|
||||
|
||||
#ifndef G4SCORINGHITSMODEL_HH
|
||||
#define G4SCORINGHITSMODEL_HH
|
||||
|
||||
#include "G4VModel.hh"
|
||||
|
||||
template <typename T> class G4THitsMap;
|
||||
|
||||
class G4PSHitsModel: public G4VModel {
|
||||
|
||||
public: // With description
|
||||
|
||||
G4PSHitsModel (const G4String& requestedMapName = "all");
|
||||
|
||||
virtual ~G4PSHitsModel ();
|
||||
|
||||
virtual void DescribeYourselfTo (G4VGraphicsScene&);
|
||||
// The main task of a model is to describe itself to the graphics scene.
|
||||
|
||||
const G4THitsMap<G4double>* GetCurrentHits() const
|
||||
{return fpCurrentHits;}
|
||||
|
||||
private:
|
||||
|
||||
G4String fRequestedMapName;
|
||||
const G4THitsMap<G4double>* fpCurrentHits;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PhysicalVolumeMassScene.hh,v 1.9 2008/01/04 21:59:15 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4PhysicalVolumeMassScene.hh,v 1.10 2009/10/21 14:17:33 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// John Allison 12th September 2004
|
||||
@@ -108,6 +108,7 @@ public:
|
||||
void AddSolid (const G4VSolid& s) {AccrueMass (s);}
|
||||
void AddCompound (const G4VTrajectory&) {}
|
||||
void AddCompound (const G4VHit&) {}
|
||||
void AddCompound (const G4THitsMap<G4double>&) {}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// Functions not used but required by the abstract interface.
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PhysicalVolumeModel.hh,v 1.34 2007/04/03 13:46:49 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4PhysicalVolumeModel.hh,v 1.35 2009/10/10 14:29:59 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// John Allison 31st December 1997.
|
||||
@@ -48,6 +48,7 @@
|
||||
#define G4PHYSICALVOLUMEMODEL_HH
|
||||
|
||||
#include "G4VModel.hh"
|
||||
#include "G4VTouchable.hh"
|
||||
|
||||
#include "G4Transform3D.hh"
|
||||
#include "G4Plane3D.hh"
|
||||
@@ -75,19 +76,42 @@ public: // With description
|
||||
class G4PhysicalVolumeNodeID {
|
||||
public:
|
||||
G4PhysicalVolumeNodeID
|
||||
(G4VPhysicalVolume* pPV = 0, G4int iCopyNo = 0, G4int depth = 0):
|
||||
fpPV(pPV), fCopyNo(iCopyNo), fNonCulledDepth(depth) {}
|
||||
(G4VPhysicalVolume* pPV = 0,
|
||||
G4int iCopyNo = 0,
|
||||
G4int depth = 0,
|
||||
const G4Transform3D& transform = G4Transform3D()):
|
||||
fpPV(pPV),
|
||||
fCopyNo(iCopyNo),
|
||||
fNonCulledDepth(depth),
|
||||
fTransform(transform) {}
|
||||
G4VPhysicalVolume* GetPhysicalVolume() const {return fpPV;}
|
||||
G4int GetCopyNo() const {return fCopyNo;}
|
||||
G4int GetNonCulledDepth() const {return fNonCulledDepth;}
|
||||
const G4Transform3D& GetTransform() const {return fTransform;}
|
||||
G4bool operator< (const G4PhysicalVolumeNodeID& right) const;
|
||||
private:
|
||||
G4VPhysicalVolume* fpPV;
|
||||
G4int fCopyNo;
|
||||
G4int fNonCulledDepth;
|
||||
G4Transform3D fTransform;
|
||||
};
|
||||
// Nested class for identifying physical volume nodes.
|
||||
|
||||
class G4PhysicalVolumeModelTouchable: public G4VTouchable {
|
||||
public:
|
||||
G4PhysicalVolumeModelTouchable
|
||||
(const std::vector<G4PhysicalVolumeNodeID>& fullPVPath);
|
||||
const G4ThreeVector& GetTranslation(G4int depth) const;
|
||||
const G4RotationMatrix* GetRotation(G4int depth) const;
|
||||
G4VPhysicalVolume* GetVolume(G4int depth) const;
|
||||
G4VSolid* GetSolid(G4int depth) const;
|
||||
G4int GetReplicaNumber(G4int depth) const;
|
||||
G4int GetHistoryDepth() const {return fFullPVPath.size();}
|
||||
private:
|
||||
const std::vector<G4PhysicalVolumeNodeID>& fFullPVPath;
|
||||
};
|
||||
// Nested class for handling nested parameterisations.
|
||||
|
||||
G4PhysicalVolumeModel
|
||||
(G4VPhysicalVolume*,
|
||||
G4int requestedDepth = UNLIMITED,
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PhysicalVolumeSearchScene.hh,v 1.18 2008/01/04 21:59:15 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4PhysicalVolumeSearchScene.hh,v 1.19 2009/10/21 14:17:33 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// John Allison 10th August 1998.
|
||||
@@ -73,6 +73,7 @@ public:
|
||||
void AddSolid (const G4VSolid& s) {FindVolume (s);}
|
||||
void AddCompound (const G4VTrajectory&) {}
|
||||
void AddCompound (const G4VHit&) {}
|
||||
void AddCompound (const G4THitsMap<G4double>&) {}
|
||||
G4int GetFoundDepth () const;
|
||||
G4VPhysicalVolume* GetFoundVolume () const;
|
||||
const G4Transform3D& GetFoundTransformation () const;
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4VisTrajContext.hh,v 1.3 2006/08/14 11:47:53 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VisTrajContext.hh,v 1.4 2009/02/24 12:00:56 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// Jane Tinslay May 2006
|
||||
//
|
||||
@@ -71,6 +71,9 @@ public:
|
||||
void SetAuxPtsSize(const G4double& size);
|
||||
G4double GetAuxPtsSize() const;
|
||||
|
||||
void SetAuxPtsSizeType(const G4VMarker::SizeType& sizeType);
|
||||
G4VMarker::SizeType GetAuxPtsSizeType() const;
|
||||
|
||||
void SetAuxPtsFillStyle(const G4VMarker::FillStyle& style);
|
||||
G4VMarker::FillStyle GetAuxPtsFillStyle() const;
|
||||
|
||||
@@ -90,6 +93,9 @@ public:
|
||||
void SetStepPtsSize(const G4double& size);
|
||||
G4double GetStepPtsSize() const;
|
||||
|
||||
void SetStepPtsSizeType(const G4VMarker::SizeType& sizeType);
|
||||
G4VMarker::SizeType GetStepPtsSizeType() const;
|
||||
|
||||
void SetStepPtsFillStyle(const G4VMarker::FillStyle& style);
|
||||
G4VMarker::FillStyle GetStepPtsFillStyle() const;
|
||||
|
||||
@@ -116,6 +122,7 @@ private:
|
||||
G4bool fDrawAuxPts;
|
||||
G4Polymarker::MarkerType fAuxPtsType;
|
||||
G4double fAuxPtsSize;
|
||||
G4VMarker::SizeType fAuxPtsSizeType;
|
||||
G4VMarker::FillStyle fAuxPtsFillStyle;
|
||||
G4Colour fAuxPtsColour;
|
||||
G4bool fAuxPtsVisible;
|
||||
@@ -124,6 +131,7 @@ private:
|
||||
G4bool fDrawStepPts;
|
||||
G4Polymarker::MarkerType fStepPtsType;
|
||||
G4double fStepPtsSize;
|
||||
G4VMarker::SizeType fStepPtsSizeType;
|
||||
G4VMarker::FillStyle fStepPtsFillStyle;
|
||||
G4Colour fStepPtsColour;
|
||||
G4bool fStepPtsVisible;
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4VisTrajContext.icc,v 1.3 2006/08/14 11:47:53 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VisTrajContext.icc,v 1.4 2009/02/24 12:00:56 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// Jane Tinslay May 2006
|
||||
//
|
||||
@@ -60,6 +60,9 @@ inline G4Polymarker::MarkerType G4VisTrajContext::GetAuxPtsType() const {return
|
||||
inline void G4VisTrajContext::SetAuxPtsSize(const G4double& size) {fAuxPtsSize = size;}
|
||||
inline G4double G4VisTrajContext::GetAuxPtsSize() const {return fAuxPtsSize;}
|
||||
|
||||
inline void G4VisTrajContext::SetAuxPtsSizeType(const G4VMarker::SizeType& sizeType) {fAuxPtsSizeType = sizeType;}
|
||||
inline G4VMarker::SizeType G4VisTrajContext::GetAuxPtsSizeType() const {return fAuxPtsSizeType;}
|
||||
|
||||
inline void G4VisTrajContext::SetAuxPtsFillStyle(const G4VMarker::FillStyle& style) {fAuxPtsFillStyle = style;}
|
||||
inline G4VMarker::FillStyle G4VisTrajContext::GetAuxPtsFillStyle() const {return fAuxPtsFillStyle;}
|
||||
|
||||
@@ -79,6 +82,9 @@ inline G4Polymarker::MarkerType G4VisTrajContext::GetStepPtsType() const {return
|
||||
inline void G4VisTrajContext::SetStepPtsSize(const G4double& size) {fStepPtsSize = size;}
|
||||
inline G4double G4VisTrajContext::GetStepPtsSize() const {return fStepPtsSize;}
|
||||
|
||||
inline void G4VisTrajContext::SetStepPtsSizeType(const G4VMarker::SizeType& sizeType) {fStepPtsSizeType = sizeType;}
|
||||
inline G4VMarker::SizeType G4VisTrajContext::GetStepPtsSizeType() const {return fStepPtsSizeType;}
|
||||
|
||||
inline void G4VisTrajContext::SetStepPtsFillStyle(const G4VMarker::FillStyle& style) {fStepPtsFillStyle = style;}
|
||||
inline G4VMarker::FillStyle G4VisTrajContext::GetStepPtsFillStyle() const {return fStepPtsFillStyle;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user