Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <SbPainterPS.h>
Public Types | |
typedef int(*) | GetRGB_Function(unsigned int, unsigned int, double &, double &, double &) |
Public Member Functions | |
SbPainterPS () | |
~SbPainterPS () | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
void | beginTraversal () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
void | clearColorBuffer (float, float, float) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
void | endTraversal () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
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 | 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 | putImageInStream (unsigned int, unsigned int, GetRGB_Function) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
Public Member Functions inherited from SbPainter | |
SbPainter () | |
virtual | ~SbPainter () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
void | setWindowSize (int, int) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
void | enableEdges (SbBool) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
Additional Inherited Members | |
Protected Attributes inherited from SbPainter | |
int | fWindowWidth |
int | fWindowHeight |
float | fRed |
float | fGreen |
float | fBlue |
SbBool | fEdges |
Definition at line 41 of file SbPainterPS.h.
int(*) SbPainterPS::GetRGB_Function(unsigned int, unsigned int, double &, double &, double &) |
Definition at line 85 of file SbPainterPS.h.
SbPainterPS::SbPainterPS | ( | ) |
Definition at line 53 of file SbPainterPS.cc.
Referenced by SbPainterPS().
SbPainterPS::~SbPainterPS | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 78 of file SbPainterPS.cc.
Referenced by ~SbPainterPS().
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Implements SbPainter.
Definition at line 93 of file SbPainterPS.cc.
Referenced by beginTraversal(), and SoImageWriter::GLRender().
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Implements SbPainter.
Definition at line 116 of file SbPainterPS.cc.
Referenced by clearColorBuffer(), and SoImageWriter::GLRender().
void SbPainterPS::closeStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 440 of file SbPainterPS.cc.
Referenced by closeStream(), SoImageWriter::GLRender(), openFileForWriting(), and ~SbPainterPS().
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Implements SbPainter.
Definition at line 105 of file SbPainterPS.cc.
Referenced by endTraversal(), and SoImageWriter::GLRender().
const char * SbPainterPS::getFileName | ( | ) | const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 350 of file SbPainterPS.cc.
Referenced by getFileName().
void * SbPainterPS::getStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 358 of file SbPainterPS.cc.
Referenced by getStream(), and SoImageWriter::GLRender().
void SbPainterPS::openFileForWriting | ( | const char * | aString | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 366 of file SbPainterPS.cc.
Referenced by beginTraversal(), SoImageWriter::GLRender(), and openFileForWriting().
void SbPainterPS::putBackgroundInStream | ( | float | aR, |
float | aG, | ||
float | aB, | ||
float | aWidth, | ||
float | aHeight ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 705 of file SbPainterPS.cc.
Referenced by clearColorBuffer(), and putBackgroundInStream().
void SbPainterPS::putBeginPageInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 614 of file SbPainterPS.cc.
Referenced by beginTraversal(), and putBeginPageInStream().
void SbPainterPS::putCapInStream | ( | int | aX | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 809 of file SbPainterPS.cc.
Referenced by putCapInStream(), and putFrameInStream().
void SbPainterPS::putCircleInStream | ( | float | aX, |
float | aY, | ||
float | aR ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 838 of file SbPainterPS.cc.
Referenced by putCircleInStream().
void SbPainterPS::putClosePathInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 801 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), putClosePathInStream(), and putFrameInStream().
void SbPainterPS::putEndPageInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 624 of file SbPainterPS.cc.
Referenced by endTraversal(), and putEndPageInStream().
void SbPainterPS::putFillInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 793 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), and putFillInStream().
void SbPainterPS::putFrameInStream | ( | float | aR, |
float | aG, | ||
float | aB, | ||
float | aWidth, | ||
float | aHeight ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 733 of file SbPainterPS.cc.
Referenced by endTraversal(), and putFrameInStream().
void SbPainterPS::putImageInStream | ( | unsigned int | aWidth, |
unsigned int | aHeight, | ||
GetRGB_Function | aProc ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 869 of file SbPainterPS.cc.
Referenced by SoImageWriter::GLRender(), and putImageInStream().
void SbPainterPS::putLineToInStream | ( | float | aX, |
float | aY ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 818 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), putFrameInStream(), and putLineToInStream().
void SbPainterPS::putLineWidthInStream | ( | int | aWidth | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 649 of file SbPainterPS.cc.
Referenced by putFrameInStream(), and putLineWidthInStream().
void SbPainterPS::putMarkerSizeInStream | ( | float | aSize | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 666 of file SbPainterPS.cc.
Referenced by putMarkerSizeInStream().
void SbPainterPS::putMoveInStream | ( | float | aX, |
float | aY ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 828 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), putFrameInStream(), and putMoveInStream().
void SbPainterPS::putNewPathInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 777 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), putFrameInStream(), and putNewPathInStream().
void SbPainterPS::putPageScaleInStream | ( | float | aWidth, |
float | aHeight ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 536 of file SbPainterPS.cc.
Referenced by beginTraversal(), and putPageScaleInStream().
void SbPainterPS::putRestoreStateInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 585 of file SbPainterPS.cc.
Referenced by closeStream(), endTraversal(), putBackgroundInStream(), putEndPageInStream(), putImageInStream(), and putRestoreStateInStream().
void SbPainterPS::putRGB_InStream | ( | float | aR, |
float | aG, | ||
float | aB ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 633 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), putFrameInStream(), and putRGB_InStream().
void SbPainterPS::putRotateInStream | ( | float | aX | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 768 of file SbPainterPS.cc.
Referenced by putPageScaleInStream(), and putRotateInStream().
void SbPainterPS::putSaveStateInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 576 of file SbPainterPS.cc.
Referenced by beginTraversal(), openFileForWriting(), putBackgroundInStream(), putBeginPageInStream(), putImageInStream(), and putSaveStateInStream().
void SbPainterPS::putScaleInStream | ( | float | aX, |
float | aY ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 604 of file SbPainterPS.cc.
Referenced by putPageScaleInStream(), and putScaleInStream().
void SbPainterPS::putStrokeInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 785 of file SbPainterPS.cc.
Referenced by putFrameInStream(), and putStrokeInStream().
void SbPainterPS::putTranslationInStream | ( | float | aX, |
float | aY ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 594 of file SbPainterPS.cc.
Referenced by putPageScaleInStream(), and putTranslationInStream().
void SbPainterPS::setBackgroundDrawn | ( | int | aDoback | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 308 of file SbPainterPS.cc.
Referenced by setBackgroundDrawn().
void SbPainterPS::setBitsPerPixel | ( | int | aNbit | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 317 of file SbPainterPS.cc.
Referenced by SoImageWriter::GLRender(), and setBitsPerPixel().
void SbPainterPS::setColorScheme | ( | int | aShade | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 290 of file SbPainterPS.cc.
Referenced by setColorScheme().
void SbPainterPS::setFileName | ( | const char * | aString | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 340 of file SbPainterPS.cc.
Referenced by setFileName().
void SbPainterPS::setLineWidth | ( | int | aWidth | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 329 of file SbPainterPS.cc.
Referenced by setLineWidth().
void SbPainterPS::setOrientation | ( | int | aPortrait | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 299 of file SbPainterPS.cc.
Referenced by setOrientation().
int SbPainterPS::doBack |
Definition at line 102 of file SbPainterPS.h.
float SbPainterPS::lineWidth |
Definition at line 103 of file SbPainterPS.h.
int SbPainterPS::nbit |
Definition at line 101 of file SbPainterPS.h.
int SbPainterPS::portrait |
Definition at line 100 of file SbPainterPS.h.
int SbPainterPS::shade |
Definition at line 99 of file SbPainterPS.h.