Geant4 11.1.1
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) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual void | beginTraversal ()=0 |
virtual void | clearColorBuffer (float, float, float)=0 |
virtual void | endTraversal ()=0 |
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.
typedef 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.
SbPainterPS::~SbPainterPS | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 78 of file SbPainterPS.cc.
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Implements SbPainter.
Definition at line 93 of file SbPainterPS.cc.
Referenced by SoImageWriter::GLRender().
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Implements SbPainter.
Definition at line 116 of file SbPainterPS.cc.
Referenced by SoImageWriter::GLRender().
void SbPainterPS::closeStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 440 of file SbPainterPS.cc.
Referenced by SoImageWriter::GLRender(), openFileForWriting(), and ~SbPainterPS().
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Implements SbPainter.
Definition at line 105 of file SbPainterPS.cc.
Referenced by SoImageWriter::GLRender().
const char * SbPainterPS::getFileName | ( | ) | const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 350 of file SbPainterPS.cc.
void * SbPainterPS::getStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 358 of file SbPainterPS.cc.
Referenced by SoImageWriter::GLRender().
void SbPainterPS::openFileForWriting | ( | const char * | aString | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 366 of file SbPainterPS.cc.
Referenced by beginTraversal(), and SoImageWriter::GLRender().
void SbPainterPS::putBackgroundInStream | ( | float | aR, |
float | aG, | ||
float | aB, | ||
float | aWidth, | ||
float | aHeight | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 705 of file SbPainterPS.cc.
Referenced by clearColorBuffer().
void SbPainterPS::putBeginPageInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 614 of file SbPainterPS.cc.
Referenced by beginTraversal().
void SbPainterPS::putCapInStream | ( | int | aX | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 809 of file SbPainterPS.cc.
Referenced by putFrameInStream().
void SbPainterPS::putCircleInStream | ( | float | aX, |
float | aY, | ||
float | aR | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 838 of file SbPainterPS.cc.
void SbPainterPS::putClosePathInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 801 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), and putFrameInStream().
void SbPainterPS::putEndPageInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 624 of file SbPainterPS.cc.
Referenced by endTraversal().
void SbPainterPS::putFillInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 793 of file SbPainterPS.cc.
Referenced by putBackgroundInStream().
void SbPainterPS::putFrameInStream | ( | float | aR, |
float | aG, | ||
float | aB, | ||
float | aWidth, | ||
float | aHeight | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 733 of file SbPainterPS.cc.
Referenced by endTraversal().
void SbPainterPS::putImageInStream | ( | unsigned int | aWidth, |
unsigned int | aHeight, | ||
GetRGB_Function | aProc | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 869 of file SbPainterPS.cc.
Referenced by SoImageWriter::GLRender().
void SbPainterPS::putLineToInStream | ( | float | aX, |
float | aY | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 818 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), and putFrameInStream().
void SbPainterPS::putLineWidthInStream | ( | int | aWidth | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 649 of file SbPainterPS.cc.
Referenced by putFrameInStream().
void SbPainterPS::putMarkerSizeInStream | ( | float | aSize | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 666 of file SbPainterPS.cc.
void SbPainterPS::putMoveInStream | ( | float | aX, |
float | aY | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 828 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), and putFrameInStream().
void SbPainterPS::putNewPathInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 777 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), and putFrameInStream().
void SbPainterPS::putPageScaleInStream | ( | float | aWidth, |
float | aHeight | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 536 of file SbPainterPS.cc.
Referenced by beginTraversal().
void SbPainterPS::putRestoreStateInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 585 of file SbPainterPS.cc.
Referenced by closeStream(), endTraversal(), putBackgroundInStream(), putEndPageInStream(), and putImageInStream().
void SbPainterPS::putRGB_InStream | ( | float | aR, |
float | aG, | ||
float | aB | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 633 of file SbPainterPS.cc.
Referenced by putBackgroundInStream(), and putFrameInStream().
void SbPainterPS::putRotateInStream | ( | float | aX | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 768 of file SbPainterPS.cc.
Referenced by putPageScaleInStream().
void SbPainterPS::putSaveStateInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 576 of file SbPainterPS.cc.
Referenced by beginTraversal(), openFileForWriting(), putBackgroundInStream(), putBeginPageInStream(), and putImageInStream().
void SbPainterPS::putScaleInStream | ( | float | aX, |
float | aY | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 604 of file SbPainterPS.cc.
Referenced by putPageScaleInStream().
void SbPainterPS::putStrokeInStream | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 785 of file SbPainterPS.cc.
Referenced by putFrameInStream().
void SbPainterPS::putTranslationInStream | ( | float | aX, |
float | aY | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 594 of file SbPainterPS.cc.
Referenced by putPageScaleInStream().
void SbPainterPS::setBackgroundDrawn | ( | int | aDoback | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 308 of file SbPainterPS.cc.
void SbPainterPS::setBitsPerPixel | ( | int | aNbit | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 317 of file SbPainterPS.cc.
Referenced by SoImageWriter::GLRender().
void SbPainterPS::setColorScheme | ( | int | aShade | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 290 of file SbPainterPS.cc.
void SbPainterPS::setFileName | ( | const char * | aString | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 340 of file SbPainterPS.cc.
void SbPainterPS::setLineWidth | ( | int | aWidth | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 329 of file SbPainterPS.cc.
void SbPainterPS::setOrientation | ( | int | aPortrait | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 299 of file SbPainterPS.cc.
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.