Import Geant4 7.0.0 source tree
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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_SbGL_h
|
||||
#define HEPVis_SbGL_h
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef APPLE_GL
|
||||
#include <gl.h>
|
||||
#include <glu.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: SbMath.h,v 1.2 2004/06/14 09:27:34 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-02 $
|
||||
// $Id: SbMath.h,v 1.3 2004/12/07 23:40:59 perl Exp $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-03 $
|
||||
//
|
||||
#ifndef HEPVis_SbMath_h
|
||||
#define HEPVis_SbMath_h
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.1415926535897931160E0
|
||||
#define M_PI_2 1.5707963267948965580E0
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// History :
|
||||
// - 09/12/98, G.Barrand : creation.
|
||||
|
||||
#ifndef HEPVis_SbPainter_h
|
||||
#define HEPVis_SbPainter_h
|
||||
|
||||
#include <Inventor/SbBasic.h>
|
||||
|
||||
/*
|
||||
#include <HEPVis/SbStyle.h>
|
||||
|
||||
typedef enum {
|
||||
SbPrimitivePoints,
|
||||
SbPrimitiveLineStrip,
|
||||
SbPrimitiveLineLoop,
|
||||
SbPrimitiveLines,
|
||||
SbPrimitivePolygon
|
||||
} SbPrimitiveType;
|
||||
|
||||
class SbPainterContext {
|
||||
public:
|
||||
float fRed,fGreen,fBlue;
|
||||
int fLineWidth;
|
||||
SbLineStyle fLineStyle;
|
||||
int fMarkerSize;
|
||||
SbMarkerStyle fMarkerStyle;
|
||||
SbAreaStyle fAreaStyle;
|
||||
int fPolygonMode;
|
||||
};
|
||||
*/
|
||||
|
||||
#define SbPainter Geant4_SbPainter
|
||||
|
||||
class SbPainter {
|
||||
public:
|
||||
SbPainter();
|
||||
virtual ~SbPainter();
|
||||
void setWindowSize(int,int);
|
||||
void enableEdges(SbBool);
|
||||
virtual void beginTraversal() = 0;
|
||||
virtual void clearColorBuffer(float,float,float) = 0;
|
||||
//virtual void drawPrimitive(SbPrimitiveType,
|
||||
// int,float*,float*,float*,
|
||||
// const SbPainterContext&) = 0;
|
||||
virtual void endTraversal() = 0;
|
||||
protected:
|
||||
int fWindowWidth,fWindowHeight;
|
||||
float fRed,fGreen,fBlue;
|
||||
SbBool fEdges;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,127 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// History :
|
||||
// - 25/09/98, G.Barrand : creation.
|
||||
|
||||
#ifndef HEPVis_SbPainterPS_h
|
||||
#define HEPVis_SbPainterPS_h
|
||||
|
||||
// Inheritance :
|
||||
#include <HEPVis/SbPainter.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <Inventor/SbViewportRegion.h>
|
||||
|
||||
#define SbPainterPS Geant4_SbPainterPS
|
||||
|
||||
class SbPainterPS : public SbPainter {
|
||||
public:
|
||||
SbPainterPS();
|
||||
~SbPainterPS();
|
||||
void beginTraversal();
|
||||
void clearColorBuffer(float,float,float);
|
||||
//void drawPrimitive(SbPrimitiveType,
|
||||
// int,float*,float*,float*,
|
||||
// const SbPainterContext&);
|
||||
void endTraversal();
|
||||
public:
|
||||
void setColorScheme(int);
|
||||
void setOrientation(int);
|
||||
void setBackgroundDrawn(int);
|
||||
void setBitsPerPixel(int);
|
||||
void setLineWidth(int);
|
||||
void* getStream();
|
||||
void setFileName(const char*);
|
||||
const char* getFileName() const;
|
||||
void openFileForWriting(const char*);
|
||||
void closeStream();
|
||||
void putPageScaleInStream(float,float);
|
||||
void putSaveStateInStream();
|
||||
void putRestoreStateInStream();
|
||||
void putTranslationInStream(float,float);
|
||||
void putScaleInStream(float,float);
|
||||
void putBeginPageInStream();
|
||||
void putEndPageInStream();
|
||||
void putRGB_InStream(float,float,float);
|
||||
void putMarkerSizeInStream(float);
|
||||
//void putMarkerStyleInStream(SbMarkerStyle);
|
||||
void putBackgroundInStream(float,float,float,float,float);
|
||||
void putFrameInStream(float,float,float,float,float);
|
||||
void putRotateInStream(float);
|
||||
void putNewPathInStream();
|
||||
void putStrokeInStream();
|
||||
void putFillInStream();
|
||||
void putClosePathInStream();
|
||||
void putCapInStream(int);
|
||||
void putLineToInStream(float,float);
|
||||
void putMoveInStream(float,float);
|
||||
void putCircleInStream(float,float,float);
|
||||
void putLineWidthInStream(int);
|
||||
//void putLineStyleInStream(SbLineStyle);
|
||||
typedef int(*GetRGB_Function)(unsigned int,unsigned int,
|
||||
double&,double&,double&);
|
||||
void putImageInStream(unsigned int,unsigned int,GetRGB_Function);
|
||||
private:
|
||||
//void drawPolygon(int,float*,float*,float,float,float,const SbAreaStyle&);
|
||||
//void drawLines(int,float*,float*,float,float,float,const SbLineStyle&,int);
|
||||
//void drawMarkers(int,float*,float*,
|
||||
// float,float,float,const SbMarkerStyle&,int);
|
||||
enum ColorScheme {
|
||||
Color = 0,
|
||||
Grey = 1,
|
||||
BlackWhite = 2
|
||||
};
|
||||
struct {
|
||||
int shade;
|
||||
int portrait;
|
||||
int nbit;
|
||||
int doBack;
|
||||
float lineWidth;
|
||||
} fParams;
|
||||
float fDeviceWidth;
|
||||
float fDeviceHeight;
|
||||
int fPageNumber;
|
||||
long fPagePos;
|
||||
float fMarkerSize;
|
||||
FILE* fFile;
|
||||
char* fFileName;
|
||||
int fGSave;
|
||||
int fBufferCount;
|
||||
char* fBufferString;
|
||||
#define METAFILE_RECORD_LENGTH 80
|
||||
unsigned char fBufferPointer[METAFILE_RECORD_LENGTH+1];
|
||||
private:
|
||||
void putInStreamF(const char*,...);
|
||||
void printFLN(const char*,...);
|
||||
void printV(const char*,va_list);
|
||||
float convertRGB_ToGrey(float,float,float);
|
||||
void writeByte(unsigned char);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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_SoCounterAction_h
|
||||
#define HEPVis_SoCounterAction_h
|
||||
|
||||
// Inheritance :
|
||||
#include <Inventor/actions/SoAction.h>
|
||||
|
||||
#include <Inventor/actions/SoSubAction.h>
|
||||
|
||||
#define SoCounterAction Geant4_SoCounterAction
|
||||
|
||||
class SoCounterAction : public SoAction {
|
||||
SO_ACTION_HEADER(SoCounterAction);
|
||||
public:
|
||||
SoCounterAction();
|
||||
virtual ~SoCounterAction();
|
||||
static void initClass(void);
|
||||
enum LookFor { NODE = 1,TYPE = 2, NAME = 3 };
|
||||
void setLookFor(LookFor);
|
||||
void setType(const SoType,SbBool = TRUE);
|
||||
void setName(const SbName);
|
||||
public:
|
||||
int getCount() const;
|
||||
protected:
|
||||
virtual void beginTraversal(SoNode*);
|
||||
private:
|
||||
static void actionMethod(SoAction*,SoNode*);
|
||||
private:
|
||||
int fCount;
|
||||
int fLookFor;
|
||||
SbName fName;
|
||||
SoType fType;
|
||||
SbBool fCheckDerived;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,59 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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_SoGL2PSAction_h
|
||||
#define HEPVis_SoGL2PSAction_h
|
||||
|
||||
#include <Inventor/actions/SoGLRenderAction.h>
|
||||
|
||||
/**
|
||||
* SoGL2PSAction inherits Inventor/SoGLRenderAction.
|
||||
* It uses the gl2ps software to produce vector PostScript of a scene graph.
|
||||
* See applications/DetectorTreeKit, Polyhedron for examples.
|
||||
*/
|
||||
|
||||
#define SoGL2PSAction Geant4_SoGL2PSAction
|
||||
|
||||
class SoGL2PSAction : public SoGLRenderAction {
|
||||
SO_ACTION_HEADER(SoGL2PSAction);
|
||||
public:
|
||||
SoGL2PSAction(const SbViewportRegion&);
|
||||
void setFileName(const char*);
|
||||
void enableFileWriting();
|
||||
void disableFileWriting();
|
||||
SbBool fileWritingEnabled() const;
|
||||
SbBool addBitmap(int,int,float=0,float=0,float=0,float=0);
|
||||
void beginViewport();
|
||||
void endViewport();
|
||||
public: /*SoINTERNAL*/
|
||||
static void initClass();
|
||||
protected:
|
||||
virtual void beginTraversal(SoNode*);
|
||||
private:
|
||||
void gl2psBegin();
|
||||
private:
|
||||
SbString fFileName;
|
||||
FILE* fFile;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// 27/03/2004 : G.Barrand : creation.
|
||||
|
||||
#ifndef HEPVis_SoStyleCache_h
|
||||
#define HEPVis_SoStyleCache_h
|
||||
|
||||
#include <Inventor/nodes/SoGroup.h>
|
||||
|
||||
//#include <HEPVis/SbStyle.h>
|
||||
|
||||
class SoMaterial;
|
||||
class SoDrawStyle;
|
||||
class SoLightModel;
|
||||
class SoResetTransform;
|
||||
class SbColor;
|
||||
|
||||
#define SoStyleCache Geant4_SoStyleCache
|
||||
|
||||
class SoStyleCache : public SoGroup {
|
||||
public:
|
||||
SoStyleCache();
|
||||
protected:
|
||||
~SoStyleCache();
|
||||
public:
|
||||
SoMaterial* getMaterial(const SbColor&,float = 0);
|
||||
SoMaterial* getMaterial(float,float,float,float = 0);
|
||||
//SoDrawStyle* getLineStyle(SbLineStyle,float = 0);
|
||||
SoDrawStyle* getLineStyle(unsigned short = 0xFFFF,float = 0);
|
||||
SoLightModel* getLightModelPhong();
|
||||
SoLightModel* getLightModelBaseColor();
|
||||
SoResetTransform* getResetTransform();
|
||||
private:
|
||||
SoGroup* fMaterials;
|
||||
SoGroup* fLineStyles;
|
||||
SoGroup* fLightModels;
|
||||
SoResetTransform* fResetTransform;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: SoDetectorTreeKit.h,v 1.2 2004/06/14 09:27:35 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-02 $
|
||||
// $Id: SoDetectorTreeKit.h,v 1.3 2004/11/22 22:57:01 gbarrand Exp $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
//
|
||||
/*-----------------------------Hepvis----------------------------------------*/
|
||||
/* */
|
||||
@@ -80,6 +80,9 @@ public:
|
||||
// Return the preview state
|
||||
virtual SbBool getPreview() const;
|
||||
|
||||
// The SoSwitch::whichChild = SO_SWITCH_ALL
|
||||
void setPreviewAndFull();
|
||||
|
||||
// Return the preview Separator
|
||||
virtual SoSeparator *getPreviewSeparator() const;
|
||||
|
||||
|
||||
@@ -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