Import Geant4 7.0.0 source tree
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: SoBox.h,v 1.2 2004/06/14 09:27:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-02 $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
//
|
||||
/*-----------------------------Hepvis----------------------------------------*/
|
||||
/* */
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: SoCons.h,v 1.2 2004/06/14 09:27:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-02 $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
//
|
||||
/*-----------------------------Hepvis----------------------------------------*/
|
||||
/* */
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * DISCLAIMER *
|
||||
// * *
|
||||
// * The following disclaimer summarizes all the specific disclaimers *
|
||||
// * of contributors to this software. The specific disclaimers,which *
|
||||
// * govern, are listed with their locations in: *
|
||||
// * http://cern.ch/geant4/license *
|
||||
// * *
|
||||
// * 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. *
|
||||
// * *
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
////////////////////////////////////////////////////////////
|
||||
//
|
||||
// This node is able to produce PostScript, GIF files.
|
||||
//
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#ifndef HEPVis_SoImageWriter_h
|
||||
#define HEPVis_SoImageWriter_h
|
||||
|
||||
#include <Inventor/nodes/SoSubNode.h>
|
||||
#include <Inventor/fields/SoSFEnum.h>
|
||||
#include <Inventor/fields/SoSFString.h>
|
||||
|
||||
#define SoImageWriter Geant4_SoImageWriter
|
||||
|
||||
class SoImageWriter : public SoNode {
|
||||
SO_NODE_HEADER(SoImageWriter);
|
||||
public:
|
||||
/* enum Format {
|
||||
POST_SCRIPT,
|
||||
GIF
|
||||
};
|
||||
SoSFEnum format;*/
|
||||
SoSFString fileName;
|
||||
SoImageWriter();
|
||||
void enable();
|
||||
void disable();
|
||||
SbBool getStatus() const;
|
||||
protected:
|
||||
virtual ~SoImageWriter();
|
||||
public: /*SoEXTENDER*/
|
||||
virtual void GLRender(SoGLRenderAction*);
|
||||
public: /*SoINTERNAL*/
|
||||
static void initClass();
|
||||
private:
|
||||
SbBool fEnabled;
|
||||
SbBool fStatus;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,108 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * DISCLAIMER *
|
||||
// * *
|
||||
// * The following disclaimer summarizes all the specific disclaimers *
|
||||
// * of contributors to this software. The specific disclaimers,which *
|
||||
// * govern, are listed with their locations in: *
|
||||
// * http://cern.ch/geant4/license *
|
||||
// * *
|
||||
// * 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. *
|
||||
// * *
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
#ifndef HEPVis_SoMarkerSet_h
|
||||
#define HEPVis_SoMarkerSet_h
|
||||
|
||||
#include <Inventor/nodes/SoPointSet.h>
|
||||
|
||||
#include <Inventor/fields/SoMFInt32.h>
|
||||
|
||||
#define HEPVis_SoMarkerSet Geant4_HEPVis_SoMarkerSet
|
||||
|
||||
class HEPVis_SoMarkerSet : public SoPointSet {
|
||||
SO_NODE_HEADER(HEPVis_SoMarkerSet);
|
||||
public:
|
||||
SoMFInt32 markerIndex ;
|
||||
HEPVis_SoMarkerSet();
|
||||
|
||||
enum MarkerType {
|
||||
//************ 5x5 markers
|
||||
PLUS_5_5 = 0,
|
||||
ASTERISK_5_5,
|
||||
CROSS_5_5,
|
||||
STAR_5_5,
|
||||
CIRCLE_LINE_5_5,
|
||||
CIRCLE_FILLED_5_5,
|
||||
TRIANGLE_UP_LINE_5_5,
|
||||
TRIANGLE_UP_FILLED_5_5,
|
||||
TRIANGLE_DOWN_LINE_5_5,
|
||||
TRIANGLE_DOWN_FILLED_5_5,
|
||||
DAVID_STAR_LINE_5_5 = 10,
|
||||
DAVID_STAR_FILLED_5_5,
|
||||
SWISS_CROSS_LINE_5_5,
|
||||
SWISS_CROSS_FILLED_5_5,
|
||||
DIAMOND_LINE_5_5,
|
||||
DIAMOND_FILLED_5_5,
|
||||
SQUARE_LINE_5_5,
|
||||
SQUARE_FILLED_5_5 = 17,
|
||||
|
||||
//************ 7x7 markers
|
||||
PLUS_7_7 = 18,
|
||||
ASTERISK_7_7,
|
||||
CROSS_7_7,
|
||||
STAR_7_7,
|
||||
CIRCLE_LINE_7_7,
|
||||
CIRCLE_FILLED_7_7,
|
||||
TRIANGLE_UP_LINE_7_7,
|
||||
TRIANGLE_UP_FILLED_7_7,
|
||||
TRIANGLE_DOWN_LINE_7_7,
|
||||
TRIANGLE_DOWN_FILLED_7_7,
|
||||
DAVID_STAR_LINE_7_7,
|
||||
DAVID_STAR_FILLED_7_7,
|
||||
SWISS_CROSS_LINE_7_7 = 30,
|
||||
SWISS_CROSS_FILLED_7_7,
|
||||
DIAMOND_LINE_7_7,
|
||||
DIAMOND_FILLED_7_7,
|
||||
SQUARE_LINE_7_7,
|
||||
SQUARE_FILLED_7_7 = 35,
|
||||
|
||||
//************ 9x9 markers
|
||||
PLUS_9_9 = 36,
|
||||
ASTERISK_9_9,
|
||||
CROSS_9_9,
|
||||
STAR_9_9,
|
||||
CIRCLE_LINE_9_9,
|
||||
CIRCLE_FILLED_9_9,
|
||||
TRIANGLE_UP_LINE_9_9,
|
||||
TRIANGLE_UP_FILLED_9_9,
|
||||
TRIANGLE_DOWN_LINE_9_9,
|
||||
TRIANGLE_DOWN_FILLED_9_9,
|
||||
DAVID_STAR_LINE_9_9,
|
||||
DAVID_STAR_FILLED_9_9,
|
||||
SWISS_CROSS_LINE_9_9 = 30,
|
||||
SWISS_CROSS_FILLED_9_9,
|
||||
DIAMOND_LINE_9_9,
|
||||
DIAMOND_FILLED_9_9,
|
||||
SQUARE_LINE_9_9,
|
||||
SQUARE_FILLED_9_9 = 53
|
||||
} ;
|
||||
|
||||
public: /*SoEXTENDER*/
|
||||
virtual void GLRender(SoGLRenderAction*);
|
||||
public: /*SoINTERNAL*/
|
||||
static void initClass();
|
||||
protected:
|
||||
virtual ~HEPVis_SoMarkerSet();
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: SoTrap.h,v 1.2 2004/06/14 09:27:37 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-02 $
|
||||
// $Id: SoTrap.h,v 1.3 2004/11/23 21:51:05 gbarrand Exp $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
//
|
||||
/*-----------------------------Hepvis----------------------------------------*/
|
||||
/* */
|
||||
@@ -33,9 +33,13 @@
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#ifndef HEPVis_SoTrap_h
|
||||
#define HEPVis_SoTrap_h
|
||||
|
||||
// Inheritance :
|
||||
#include <Inventor/nodes/SoShape.h>
|
||||
|
||||
#include <Inventor/fields/SoSFNode.h>
|
||||
#include <Inventor/fields/SoSFBool.h>
|
||||
#include <Inventor/nodes/SoShape.h>
|
||||
#include <Inventor/fields/SoSFFloat.h>
|
||||
|
||||
//adding fields
|
||||
#ifdef WIN32
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: SoTrd.h,v 1.2 2004/06/14 09:27:37 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-02 $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
//
|
||||
/*-----------------------------Hepvis----------------------------------------*/
|
||||
/* */
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: SoTubs.h,v 1.2 2004/06/14 09:27:38 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-02 $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
//
|
||||
/*-----------------------------Hepvis----------------------------------------*/
|
||||
/* */
|
||||
|
||||
Reference in New Issue
Block a user