Ignore:
Timestamp:
Feb 25, 2009, 4:19:05 PM (15 years ago)
Author:
garnier
Message:

test pour GL_POINTS au lieu de glBitmap

Location:
trunk/source/visualization/modeling
Files:
74 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/modeling/History

    r916 r931  
    1 $Id: History,v 1.106 2008/11/21 21:50:02 perl Exp $
     1$Id: History,v 1.109 2009/02/25 14:21:45 allison Exp $
    22-------------------------------------------------------------------
    33
     
    2121---------------------------------------
    2222
    23 27th July 2008  John Allison (modeling-V09-01-01)
     2325th February 2009  John Allison  (modeling-V09-02-01 - needs greps-V09-02-01)
     24- G4ModelApplyCommandsT: Added visManager->NotifyHandlers() after
     25  application (Apply) of all commands.  Forces update of all viewers
     26  after a change of model, e.g., trajectory colour, point size, etc.
     27
     2824th February 2009  John Allison  (modeling-V09-02-00 - needs greps-V09-02-00)
     29- Added setAux/StepPtsSizeType commands (candidates: "none world screen").
     30- Added unit to setAux/StepPtsSize for SizeType == world.
     31
     3227th July 2008  John Allison  (modeling-V09-01-01)
    2433- G4PhysicalVolumeSearchScene.cc: Cosmetic improvement to a message.
    2534
  • trunk/source/visualization/modeling/include/G4AttFilterUtils.hh

    r850 r931  
    2525//
    2626// $Id: G4AttFilterUtils.hh,v 1.2 2006/12/13 15:49:58 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Visualisation attribute filter utility functions.
  • trunk/source/visualization/modeling/include/G4AttValueFilterT.hh

    r850 r931  
    2525//
    2626// $Id: G4AttValueFilterT.hh,v 1.3 2006/12/13 15:50:00 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Templated class for G4AttValue filters.
  • trunk/source/visualization/modeling/include/G4AttributeFilterT.hh

    r850 r931  
    2525//
    2626// $Id: G4AttributeFilterT.hh,v 1.6 2006/12/13 15:50:02 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Generic attribute filter.
  • trunk/source/visualization/modeling/include/G4AxesModel.hh

    r850 r931  
    2626//
    2727// $Id: G4AxesModel.hh,v 1.6 2006/11/01 10:28:42 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4BoundingSphereScene.hh

    r842 r931  
    2626//
    2727// $Id: G4BoundingSphereScene.hh,v 1.18 2008/01/04 21:59:15 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4CallbackModel.hh

    r850 r931  
    2626//
    2727// $Id: G4CallbackModel.hh,v 1.5 2006/06/29 21:30:10 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4FlavoredParallelWorldModel.hh

    r850 r931  
    2626//
    2727// $Id: G4FlavoredParallelWorldModel.hh,v 1.8 2006/06/29 21:30:12 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030// P. Mora de Freitas et M.Verderi - 19 June 1998.
  • trunk/source/visualization/modeling/include/G4HitFilterFactories.hh

    r850 r931  
    2525//
    2626/// $Id: G4HitFilterFactories.hh,v 1.1 2006/09/12 18:53:03 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929//
  • trunk/source/visualization/modeling/include/G4HitsModel.hh

    r850 r931  
    2626//
    2727// $Id: G4HitsModel.hh,v 1.10 2006/11/02 11:57:31 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4LogicalVolumeModel.hh

    r850 r931  
    2626//
    2727// $Id: G4LogicalVolumeModel.hh,v 1.9 2006/11/01 10:28:42 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4ModelApplyCommandsT.hh

    r850 r931  
    2424// ********************************************************************
    2525//
    26 // $Id: G4ModelApplyCommandsT.hh,v 1.5 2006/09/11 21:22:02 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     26// $Id: G4ModelApplyCommandsT.hh,v 1.6 2009/02/25 14:17:11 allison Exp $
     27// GEANT4 tag $Name: $
    2828//
    2929// Abstract model messenges. Derived classes should implement
     
    4444#include "G4UIcommand.hh"
    4545#include "G4VModelCommand.hh"
    46 #include "globals.hh"
     46#include "G4VVisManager.hh"
    4747#include <sstream>
    4848
     
    152152
    153153  Apply(parameter, myColour);
     154  G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
     155  if (visManager) visManager->NotifyHandlers();
    154156}
    155157
     
    254256
    255257  Apply(myColour);
     258  G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
     259  if (visManager) visManager->NotifyHandlers();
    256260}
    257261
     
    301305{
    302306  Apply(fpCmd->GetNewBoolValue(newValue));
     307  G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
     308  if (visManager) visManager->NotifyHandlers();
    303309}
    304310
     
    347353{
    348354  Apply();
     355  G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
     356  if (visManager) visManager->NotifyHandlers();
    349357}
    350358
     
    395403{
    396404  Apply(fpCmd->GetNewDoubleValue(newValue));
     405  G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
     406  if (visManager) visManager->NotifyHandlers();
    397407}
    398408
     
    443453{
    444454  Apply(fpCmd->GetNewDoubleValue(newValue));
     455  G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
     456  if (visManager) visManager->NotifyHandlers();
    445457}
    446458
     
    490502{
    491503  Apply(fpCmd->GetNewIntValue(newValue));
     504  G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
     505  if (visManager) visManager->NotifyHandlers();
    492506}
    493507
     
    537551{
    538552  Apply(newValue);
     553  G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
     554  if (visManager) visManager->NotifyHandlers();
    539555}
    540556
  • trunk/source/visualization/modeling/include/G4ModelColourMap.hh

    r850 r931  
    2525//
    2626// $Id: G4ModelColourMap.hh,v 1.2 2006/06/29 21:30:22 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Generic variable->G4Colour map, where "variable" is the template
  • trunk/source/visualization/modeling/include/G4ModelCommandUtils.hh

    r850 r931  
    2424// ********************************************************************
    2525//
    26 // $Id: G4ModelCommandUtils.hh,v 1.2 2006/09/13 12:54:31 allison Exp $
    27 // GEANT4 tag $Name: HEAD $
     26// $Id: G4ModelCommandUtils.hh,v 1.3 2009/02/24 12:00:56 allison Exp $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay September 2006
     
    5353    messengers.push_back(new G4ModelCmdSetStepPtsColour<G4VisTrajContext>(context, placement));
    5454    messengers.push_back(new G4ModelCmdSetStepPtsSize<G4VisTrajContext>(context, placement));
     55    messengers.push_back(new G4ModelCmdSetStepPtsSizeType<G4VisTrajContext>(context, placement));
    5556    messengers.push_back(new G4ModelCmdSetStepPtsType<G4VisTrajContext>(context, placement));
    5657    messengers.push_back(new G4ModelCmdSetStepPtsFillStyle<G4VisTrajContext>(context, placement));
     
    6061    messengers.push_back(new G4ModelCmdSetAuxPtsColour<G4VisTrajContext>(context, placement));
    6162    messengers.push_back(new G4ModelCmdSetAuxPtsSize<G4VisTrajContext>(context, placement));
     63    messengers.push_back(new G4ModelCmdSetAuxPtsSizeType<G4VisTrajContext>(context, placement));
    6264    messengers.push_back(new G4ModelCmdSetAuxPtsType<G4VisTrajContext>(context, placement));
    6365    messengers.push_back(new G4ModelCmdSetAuxPtsFillStyle<G4VisTrajContext>(context, placement));
  • trunk/source/visualization/modeling/include/G4ModelCommandsT.hh

    r850 r931  
    2424// ********************************************************************
    2525//
    26 // $Id: G4ModelCommandsT.hh,v 1.12 2006/11/01 10:34:03 allison Exp $
    27 // GEANT4 tag $Name: HEAD $
     26// $Id: G4ModelCommandsT.hh,v 1.13 2009/02/24 12:00:56 allison Exp $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Generic model messenges.
     
    398398// Set auxiliary points size command
    399399template <typename M>
    400 class G4ModelCmdSetAuxPtsSize : public G4ModelCmdApplyDouble<M> {
     400class G4ModelCmdSetAuxPtsSize : public G4ModelCmdApplyString<M> {
    401401 
    402402public:
    403403
    404404  G4ModelCmdSetAuxPtsSize(M* model, const G4String& placement,
    405                           const G4String& cmdName="setAuxPtsSize")
    406     :G4ModelCmdApplyDouble<M>(model, placement, cmdName)
    407   {
    408     G4ModelCmdApplyDouble<M>::Command()->SetGuidance("Set auxiliary points size command");
    409   }
    410  
    411 protected:
    412 
    413    void Apply(const G4double& myDouble) {
    414      G4VModelCommand<M>::Model()->SetAuxPtsSize(myDouble);
    415   }
     405                           const G4String& cmdName="setAuxPtsSize")
     406    :G4ModelCmdApplyString<M>(model, placement, cmdName)
     407  {
     408    G4ModelCmdApplyString<M>::Command()->SetGuidance("Set auxiliary points size command");
     409  }
     410 
     411protected:
     412
     413   void Apply(const G4String& sizeString) {
     414     std::istringstream iss(sizeString);
     415     G4double size;
     416     G4String unit;
     417     iss >> size >> unit;
     418     if (G4VModelCommand<M>::Model()->GetAuxPtsSizeType() == G4VMarker::world)
     419       {
     420         G4double myDouble = G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(sizeString);
     421         G4VModelCommand<M>::Model()->SetAuxPtsSize(myDouble);
     422       }
     423     else  // none or screen
     424       {
     425         G4VModelCommand<M>::Model()->SetAuxPtsSize(size);
     426       }
     427   }
    416428 
    417429};
     
    420432// Set step points size command
    421433template <typename M>
    422 class G4ModelCmdSetStepPtsSize : public G4ModelCmdApplyDouble<M> {
     434class G4ModelCmdSetStepPtsSize : public G4ModelCmdApplyString<M> {
    423435 
    424436public:
     
    426438  G4ModelCmdSetStepPtsSize(M* model, const G4String& placement,
    427439                           const G4String& cmdName="setStepPtsSize")
    428     :G4ModelCmdApplyDouble<M>(model, placement, cmdName)
    429   {
    430     G4ModelCmdApplyDouble<M>::Command()->SetGuidance("Set step points size command");
    431   }
    432  
    433 protected:
    434 
    435    void Apply(const G4double& myDouble) {
    436      G4VModelCommand<M>::Model()->SetStepPtsSize(myDouble);
    437   }
     440    :G4ModelCmdApplyString<M>(model, placement, cmdName)
     441  {
     442    G4ModelCmdApplyString<M>::Command()->SetGuidance("Set step points size command");
     443  }
     444 
     445protected:
     446
     447   void Apply(const G4String& sizeString) {
     448     std::istringstream iss(sizeString);
     449     G4double size;
     450     G4String unit;
     451     iss >> size >> unit;
     452     if (G4VModelCommand<M>::Model()->GetStepPtsSizeType() == G4VMarker::world)
     453       {
     454         G4double myDouble = G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(sizeString);
     455         G4VModelCommand<M>::Model()->SetStepPtsSize(myDouble);
     456       }
     457     else  // none or screen
     458       {
     459         G4VModelCommand<M>::Model()->SetStepPtsSize(size);
     460       }
     461   }
    438462 
    439463};
     
    516540
    517541////////////////////////////////////////////////////////////////////////
     542// Set step points size type command
     543template <typename M>
     544class G4ModelCmdSetStepPtsSizeType : public G4ModelCmdApplyString<M> {
     545 
     546public:
     547
     548  G4ModelCmdSetStepPtsSizeType(M* model, const G4String& placement,
     549                                const G4String& cmdName="setStepPtsSizeType")
     550    :G4ModelCmdApplyString<M>(model, placement, cmdName)
     551  {
     552    G4UIcmdWithAString* cmd = G4ModelCmdApplyString<M>::Command();
     553    cmd->SetGuidance("Set step size type.");
     554    cmd->SetCandidates("none world screen");
     555  }
     556 
     557protected:
     558
     559  void Apply(const G4String& type) {
     560    G4VMarker::SizeType mySizeType;
     561   
     562    if (type == "none") {mySizeType = G4VMarker::none;}
     563    else if (type == "world") {mySizeType = G4VMarker::world;}
     564    else if (type == "screen") {mySizeType = G4VMarker::screen;}
     565    else {
     566      std::ostringstream o;
     567      o << "Invalid argument. See command guidance for options.";
     568      G4Exception
     569        ("G4ModelCmdSetStepPtsSizeType::Apply",
     570         "InvalidArgument", JustWarning, o.str().c_str());
     571      return;
     572    }
     573    G4VModelCommand<M>::Model()->SetStepPtsSizeType(mySizeType);
     574  }
     575 
     576};
     577
     578////////////////////////////////////////////////////////////////////////
     579// Set auxiliary points size type command
     580template <typename M>
     581class G4ModelCmdSetAuxPtsSizeType : public G4ModelCmdApplyString<M> {
     582 
     583public:
     584
     585  G4ModelCmdSetAuxPtsSizeType(M* model, const G4String& placement,
     586                               const G4String& cmdName="setAuxPtsSizeType")
     587    :G4ModelCmdApplyString<M>(model, placement, cmdName)
     588  {
     589    G4UIcmdWithAString* cmd = G4ModelCmdApplyString<M>::Command();
     590    cmd->SetGuidance("Set auxiliary size type.");
     591    cmd->SetCandidates("none world screen");
     592  }
     593 
     594protected:
     595
     596  void Apply(const G4String& type) {
     597    G4VMarker::SizeType mySizeType;
     598   
     599    if (type == "none") {mySizeType = G4VMarker::none;}
     600    else if (type == "world") {mySizeType = G4VMarker::world;}
     601    else if (type == "screen") {mySizeType = G4VMarker::screen;}
     602    else {
     603      std::ostringstream o;
     604      o << "Invalid argument. See command guidance for options.";
     605      G4Exception
     606        ("G4ModelCmdSetAuxPtsSizeType::Apply",
     607         "InvalidArgument", JustWarning, o.str().c_str());
     608      return;
     609    }
     610    G4VModelCommand<M>::Model()->SetAuxPtsSizeType(mySizeType);
     611  }
     612 
     613};
     614
     615////////////////////////////////////////////////////////////////////////
    518616// Set step points fill style command
    519617template <typename M>
  • trunk/source/visualization/modeling/include/G4ModelCompoundCommandsT.hh

    r850 r931  
    2525//
    2626// $Id: G4ModelCompoundCommandsT.hh,v 1.1 2006/09/11 21:52:18 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay September 2006
  • trunk/source/visualization/modeling/include/G4ModelingParameters.hh

    r850 r931  
    2626//
    2727// $Id: G4ModelingParameters.hh,v 1.17 2006/11/14 14:42:08 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4ModelingParameters.icc

    r850 r931  
    2626//
    2727// $Id: G4ModelingParameters.icc,v 1.11 2006/11/14 14:42:08 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4NullModel.hh

    r850 r931  
    2626//
    2727// $Id: G4NullModel.hh,v 1.7 2006/06/29 21:30:30 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4PhysicalVolumeMassScene.hh

    r842 r931  
    2626//
    2727// $Id: G4PhysicalVolumeMassScene.hh,v 1.9 2008/01/04 21:59:15 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4PhysicalVolumeModel.hh

    r850 r931  
    2626//
    2727// $Id: G4PhysicalVolumeModel.hh,v 1.34 2007/04/03 13:46:49 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4PhysicalVolumeSearchScene.hh

    r842 r931  
    2626//
    2727// $Id: G4PhysicalVolumeSearchScene.hh,v 1.18 2008/01/04 21:59:15 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4PhysicalVolumeSearchScene.icc

    r850 r931  
    2626//
    2727// $Id: G4PhysicalVolumeSearchScene.icc,v 1.6 2006/06/29 21:30:38 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4ScaleModel.hh

    r850 r931  
    2626//
    2727// $Id: G4ScaleModel.hh,v 1.4 2006/11/01 10:28:42 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4TextModel.hh

    r850 r931  
    2626//
    2727// $Id: G4TextModel.hh,v 1.7 2006/11/01 10:28:42 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4TrajectoriesModel.hh

    r850 r931  
    2626//
    2727// $Id: G4TrajectoriesModel.hh,v 1.10 2006/10/26 11:10:23 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4TrajectoryChargeFilter.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryChargeFilter.hh,v 1.3 2006/08/25 19:44:14 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Filter trajectories according to charge. Only registered
  • trunk/source/visualization/modeling/include/G4TrajectoryDrawByAttribute.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryDrawByAttribute.hh,v 1.1 2006/09/11 21:52:18 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay September 2006
  • trunk/source/visualization/modeling/include/G4TrajectoryDrawByCharge.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryDrawByCharge.hh,v 1.7 2006/06/29 21:31:49 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl November 2005
  • trunk/source/visualization/modeling/include/G4TrajectoryDrawByOriginVolume.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryDrawByOriginVolume.hh,v 1.4 2006/06/29 21:31:51 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Class Description:
  • trunk/source/visualization/modeling/include/G4TrajectoryDrawByParticleID.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryDrawByParticleID.hh,v 1.7 2006/06/29 21:31:53 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl November 2005
  • trunk/source/visualization/modeling/include/G4TrajectoryDrawerUtils.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryDrawerUtils.hh,v 1.7 2007/05/30 08:56:55 allison Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl November 2005
  • trunk/source/visualization/modeling/include/G4TrajectoryFilterFactories.hh

    r850 r931  
    2525//
    2626/// $Id: G4TrajectoryFilterFactories.hh,v 1.4 2006/09/12 18:53:03 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929//
  • trunk/source/visualization/modeling/include/G4TrajectoryGenericDrawer.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryGenericDrawer.hh,v 1.2 2006/06/29 21:31:59 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl November 2005
  • trunk/source/visualization/modeling/include/G4TrajectoryModelFactories.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryModelFactories.hh,v 1.6 2006/09/12 18:53:03 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl October 2005
  • trunk/source/visualization/modeling/include/G4TrajectoryOriginVolumeFilter.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryOriginVolumeFilter.hh,v 1.3 2006/08/25 19:44:14 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Filter trajectories according to volume name. Only registered
  • trunk/source/visualization/modeling/include/G4TrajectoryParticleFilter.hh

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryParticleFilter.hh,v 1.3 2006/08/25 19:44:14 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Filter trajectories according to particle type. Only registered
  • trunk/source/visualization/modeling/include/G4VAttValueFilter.hh

    r850 r931  
    2525//
    2626// $Id: G4VAttValueFilter.hh,v 1.2 2006/12/13 15:50:04 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Abstract base class for G4AttValue filters
  • trunk/source/visualization/modeling/include/G4VModel.hh

    r850 r931  
    2626//
    2727// $Id: G4VModel.hh,v 1.19 2006/07/10 16:09:30 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4VModel.icc

    r850 r931  
    2626//
    2727// $Id: G4VModel.icc,v 1.12 2006/07/10 16:09:30 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/include/G4VModelCommand.hh

    r850 r931  
    2525//
    2626// $Id: G4VModelCommand.hh,v 1.4 2006/09/11 21:22:02 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl November 2005
  • trunk/source/visualization/modeling/include/G4VModelFactory.hh

    r850 r931  
    2525//
    2626// $Id: G4VModelFactory.hh,v 1.6 2006/06/29 21:32:30 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl October 2005
  • trunk/source/visualization/modeling/include/G4VTrajectoryModel.hh

    r850 r931  
    2525//
    2626// $Id: G4VTrajectoryModel.hh,v 1.7 2006/08/14 11:43:34 allison Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl October 2005
  • trunk/source/visualization/modeling/include/G4VisTrajContext.hh

    r850 r931  
    2424// ********************************************************************
    2525//
    26 // $Id: G4VisTrajContext.hh,v 1.3 2006/08/14 11:47:53 allison Exp $
    27 // GEANT4 tag $Name: HEAD $
     26// $Id: G4VisTrajContext.hh,v 1.4 2009/02/24 12:00:56 allison Exp $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay May 2006
     
    7272  G4double GetAuxPtsSize() const;
    7373
     74  void SetAuxPtsSizeType(const G4VMarker::SizeType& sizeType);
     75  G4VMarker::SizeType GetAuxPtsSizeType() const;
     76
    7477  void SetAuxPtsFillStyle(const G4VMarker::FillStyle& style);
    7578  G4VMarker::FillStyle GetAuxPtsFillStyle() const;
     
    9093  void SetStepPtsSize(const G4double& size);
    9194  G4double GetStepPtsSize() const;
     95
     96  void SetStepPtsSizeType(const G4VMarker::SizeType& sizeType);
     97  G4VMarker::SizeType GetStepPtsSizeType() const;
    9298
    9399  void SetStepPtsFillStyle(const G4VMarker::FillStyle& style);
     
    117123  G4Polymarker::MarkerType fAuxPtsType;
    118124  G4double fAuxPtsSize;
     125  G4VMarker::SizeType fAuxPtsSizeType;
    119126  G4VMarker::FillStyle fAuxPtsFillStyle;
    120127  G4Colour fAuxPtsColour;
     
    125132  G4Polymarker::MarkerType fStepPtsType;
    126133  G4double fStepPtsSize;
     134  G4VMarker::SizeType fStepPtsSizeType;
    127135  G4VMarker::FillStyle fStepPtsFillStyle;
    128136  G4Colour fStepPtsColour;
  • trunk/source/visualization/modeling/include/G4VisTrajContext.icc

    r850 r931  
    2424// ********************************************************************
    2525//
    26 // $Id: G4VisTrajContext.icc,v 1.3 2006/08/14 11:47:53 allison Exp $
    27 // GEANT4 tag $Name: HEAD $
     26// $Id: G4VisTrajContext.icc,v 1.4 2009/02/24 12:00:56 allison Exp $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay May 2006
     
    6161inline G4double G4VisTrajContext::GetAuxPtsSize() const {return fAuxPtsSize;}
    6262
     63inline void G4VisTrajContext::SetAuxPtsSizeType(const G4VMarker::SizeType& sizeType) {fAuxPtsSizeType = sizeType;}
     64inline G4VMarker::SizeType G4VisTrajContext::GetAuxPtsSizeType() const {return fAuxPtsSizeType;}
     65
    6366inline void G4VisTrajContext::SetAuxPtsFillStyle(const G4VMarker::FillStyle& style) {fAuxPtsFillStyle = style;}
    6467inline G4VMarker::FillStyle G4VisTrajContext::GetAuxPtsFillStyle() const {return fAuxPtsFillStyle;}
     
    7982inline void G4VisTrajContext::SetStepPtsSize(const G4double& size) {fStepPtsSize = size;}
    8083inline G4double G4VisTrajContext::GetStepPtsSize() const {return fStepPtsSize;}
     84
     85inline void G4VisTrajContext::SetStepPtsSizeType(const G4VMarker::SizeType& sizeType) {fStepPtsSizeType = sizeType;}
     86inline G4VMarker::SizeType G4VisTrajContext::GetStepPtsSizeType() const {return fStepPtsSizeType;}
    8187
    8288inline void G4VisTrajContext::SetStepPtsFillStyle(const G4VMarker::FillStyle& style) {fStepPtsFillStyle = style;}
  • trunk/source/visualization/modeling/src/G4AttFilterUtils.cc

    r850 r931  
    2525//
    2626// $Id: G4AttFilterUtils.cc,v 1.4 2006/12/13 15:50:06 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Visualisation attribute filter utility functions.
  • trunk/source/visualization/modeling/src/G4AxesModel.cc

    r850 r931  
    2626//
    2727// $Id: G4AxesModel.cc,v 1.6 2006/06/29 21:32:38 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4BoundingSphereScene.cc

    r850 r931  
    2626//
    2727// $Id: G4BoundingSphereScene.cc,v 1.11 2006/06/29 21:32:40 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4FlavoredParallelWorldModel.cc

    r850 r931  
    2626//
    2727// $Id: G4FlavoredParallelWorldModel.cc,v 1.7 2006/06/29 21:32:42 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030// P. Mora de Freitas et M.Verderi - 19 June 1998.
  • trunk/source/visualization/modeling/src/G4HitFilterFactories.cc

    r850 r931  
    2525//
    2626/// $Id: G4HitFilterFactories.cc,v 1.1 2006/09/12 18:53:03 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929//
  • trunk/source/visualization/modeling/src/G4HitsModel.cc

    r850 r931  
    2626//
    2727// $Id: G4HitsModel.cc,v 1.18 2006/11/14 14:42:08 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4LogicalVolumeModel.cc

    r850 r931  
    2626//
    2727// $Id: G4LogicalVolumeModel.cc,v 1.14 2006/11/01 10:28:42 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4ModelingParameters.cc

    r850 r931  
    2626//
    2727// $Id: G4ModelingParameters.cc,v 1.15 2006/11/14 14:42:08 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4NullModel.cc

    r850 r931  
    2626//
    2727// $Id: G4NullModel.cc,v 1.9 2006/06/29 21:32:50 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4PhysicalVolumeMassScene.cc

    r850 r931  
    2626//
    2727// $Id: G4PhysicalVolumeMassScene.cc,v 1.7 2006/11/06 09:24:13 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4PhysicalVolumeModel.cc

    r850 r931  
    2626//
    2727// $Id: G4PhysicalVolumeModel.cc,v 1.63 2007/11/10 14:56:36 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4PhysicalVolumeSearchScene.cc

    r850 r931  
    2626//
    2727// $Id: G4PhysicalVolumeSearchScene.cc,v 1.14 2008/07/27 10:49:24 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4ScaleModel.cc

    r850 r931  
    2626//
    2727// $Id: G4ScaleModel.cc,v 1.4 2006/06/29 21:32:58 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4TextModel.cc

    r850 r931  
    2626//
    2727// $Id: G4TextModel.cc,v 1.7 2006/06/29 21:33:00 gunter Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4TrajectoriesModel.cc

    r850 r931  
    2626//
    2727// $Id: G4TrajectoriesModel.cc,v 1.24 2006/11/14 14:42:08 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4TrajectoryChargeFilter.cc

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryChargeFilter.cc,v 1.4 2006/08/25 19:44:14 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Filter trajectories according to charge. Only registered
  • trunk/source/visualization/modeling/src/G4TrajectoryDrawByAttribute.cc

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryDrawByAttribute.cc,v 1.3 2006/09/14 15:41:42 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay August 2006
  • trunk/source/visualization/modeling/src/G4TrajectoryDrawByCharge.cc

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryDrawByCharge.cc,v 1.8 2006/06/29 21:33:06 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl November 2005
  • trunk/source/visualization/modeling/src/G4TrajectoryDrawByOriginVolume.cc

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryDrawByOriginVolume.cc,v 1.4 2006/06/29 21:33:08 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay March 2006
  • trunk/source/visualization/modeling/src/G4TrajectoryDrawByParticleID.cc

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryDrawByParticleID.cc,v 1.8 2006/06/29 21:33:10 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl November 2005
  • trunk/source/visualization/modeling/src/G4TrajectoryDrawerUtils.cc

    r850 r931  
    2424// ********************************************************************
    2525//
    26 // $Id: G4TrajectoryDrawerUtils.cc,v 1.11 2007/05/30 08:56:55 allison Exp $
    27 // GEANT4 tag $Name: HEAD $
     26// $Id: G4TrajectoryDrawerUtils.cc,v 1.12 2009/02/24 12:00:56 allison Exp $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl November 2005
     
    254254    if (myContext.GetDrawAuxPts() && (auxiliaryPoints.size() > 0)) {
    255255      auxiliaryPoints.SetMarkerType(myContext.GetAuxPtsType());
    256       auxiliaryPoints.SetScreenSize(myContext.GetAuxPtsSize());
     256      auxiliaryPoints.SetSize(myContext.GetAuxPtsSizeType(), myContext.GetAuxPtsSize());
    257257      auxiliaryPoints.SetFillStyle(myContext.GetAuxPtsFillStyle());
    258258
     
    266266    if (myContext.GetDrawStepPts() && (stepPoints.size() > 0)) {
    267267      stepPoints.SetMarkerType(myContext.GetStepPtsType());
    268       stepPoints.SetScreenSize(myContext.GetStepPtsSize());
     268      stepPoints.SetSize(myContext.GetStepPtsSizeType(), myContext.GetStepPtsSize());
    269269      stepPoints.SetFillStyle(myContext.GetStepPtsFillStyle());
    270270
     
    313313        point.push_back(auxiliaryPoints[i]);
    314314        point.SetMarkerType(myContext.GetAuxPtsType());
    315         point.SetScreenSize(myContext.GetAuxPtsSize());
     315        point.SetSize(myContext.GetAuxPtsSizeType(), myContext.GetAuxPtsSize());
    316316        point.SetFillStyle(myContext.GetAuxPtsFillStyle());
    317317        auxiliaryPointsAttribs.SetStartTime(auxiliaryPointTimes[i]);
     
    330330        point.push_back(stepPoints[i]);
    331331        point.SetMarkerType(myContext.GetStepPtsType());
    332         point.SetScreenSize(myContext.GetStepPtsSize());
     332        point.SetSize(myContext.GetStepPtsSizeType(), myContext.GetStepPtsSize());
    333333        point.SetFillStyle(myContext.GetStepPtsFillStyle());
    334334        stepPointsAttribs.SetStartTime(stepPointTimes[i]);
  • trunk/source/visualization/modeling/src/G4TrajectoryFilterFactories.cc

    r850 r931  
    2525//
    2626/// $Id: G4TrajectoryFilterFactories.cc,v 1.5 2006/09/12 18:53:03 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929//
  • trunk/source/visualization/modeling/src/G4TrajectoryGenericDrawer.cc

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryGenericDrawer.cc,v 1.2 2006/06/29 21:33:16 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay May 2006
  • trunk/source/visualization/modeling/src/G4TrajectoryModelFactories.cc

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryModelFactories.cc,v 1.7 2006/09/12 18:53:03 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay, John Allison, Joseph Perl October 2005
  • trunk/source/visualization/modeling/src/G4TrajectoryOriginVolumeFilter.cc

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryOriginVolumeFilter.cc,v 1.3 2006/08/25 19:44:14 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Filter trajectories according to volume name. Only registered
  • trunk/source/visualization/modeling/src/G4TrajectoryParticleFilter.cc

    r850 r931  
    2525//
    2626// $Id: G4TrajectoryParticleFilter.cc,v 1.3 2006/08/25 19:44:14 tinslay Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Filter trajectories according to particle type. Only registered
  • trunk/source/visualization/modeling/src/G4VModel.cc

    r850 r931  
    2626//
    2727// $Id: G4VModel.cc,v 1.14 2006/11/01 10:33:00 allison Exp $
    28 // GEANT4 tag $Name: HEAD $
     28// GEANT4 tag $Name: modeling-V09-02-00 $
    2929//
    3030//
  • trunk/source/visualization/modeling/src/G4VTrajectoryModel.cc

    r850 r931  
    2525//
    2626// $Id: G4VTrajectoryModel.cc,v 1.3 2006/06/29 21:33:26 gunter Exp $
    27 // GEANT4 tag $Name: HEAD $
     27// GEANT4 tag $Name: modeling-V09-02-00 $
    2828//
    2929// Jane Tinslay May 2006
  • trunk/source/visualization/modeling/src/G4VisTrajContext.cc

    r834 r931  
    3535  ,fAuxPtsType(G4Polymarker::squares)
    3636  ,fAuxPtsSize(2)
     37  ,fAuxPtsSizeType(G4VMarker::screen)
    3738  ,fAuxPtsFillStyle(G4VMarker::filled)
    3839  ,fAuxPtsColour(G4Colour::Magenta())
     
    4142  ,fStepPtsType(G4Polymarker::circles)
    4243  ,fStepPtsSize(2)
     44  ,fStepPtsSizeType(G4VMarker::screen)
    4345  ,fStepPtsFillStyle(G4VMarker::filled)
    4446  ,fStepPtsColour(G4Colour::Yellow())
Note: See TracChangeset for help on using the changeset viewer.