ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SbPainterPS Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/OpenInventor/include/HEPVis/SbPainterPS.h>

+ Inheritance diagram for SbPainterPS:
+ Collaboration diagram for SbPainterPS:

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)
 
voidgetStream ()
 
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)
 

Private Types

enum  ColorScheme { Color = 0, Grey = 1, BlackWhite = 2 }
 

Private Member Functions

void putInStreamF (const char *,...)
 
void printFLN (const char *,...)
 
void printV (const char *, va_list)
 
float convertRGB_ToGrey (float, float, float)
 
void writeByte (unsigned char)
 

Private Attributes

struct {
   int   shade
 
   int   portrait
 
   int   nbit
 
   int   doBack
 
   float   lineWidth
 
fParams
 
float fDeviceWidth
 
float fDeviceHeight
 
int fPageNumber
 
float fMarkerSize
 
FILE * fFile
 
char * fFileName
 
int fGSave
 
int fBufferCount
 
char * fBufferString
 
unsigned char fBufferPointer [METAFILE_RECORD_LENGTH+1]
 

Additional Inherited Members

- Protected Attributes inherited from SbPainter
int fWindowWidth
 
int fWindowHeight
 
float fRed
 
float fGreen
 
float fBlue
 
SbBool fEdges
 

Detailed Description

Definition at line 41 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 41 of file SbPainterPS.h

Member Typedef Documentation

typedef int(* SbPainterPS::GetRGB_Function)(unsigned int, unsigned int, double &, double &, double &)

Definition at line 85 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 85 of file SbPainterPS.h

Member Enumeration Documentation

Enumerator:
Color 
Grey 
BlackWhite 

Definition at line 93 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 93 of file SbPainterPS.h

Constructor & Destructor Documentation

SbPainterPS::SbPainterPS ( )
SbPainterPS::~SbPainterPS ( )

Member Function Documentation

void SbPainterPS::beginTraversal ( )
virtual

Implements SbPainter.

void SbPainterPS::clearColorBuffer ( float  ,
float  ,
float   
)
virtual

Implements SbPainter.

void SbPainterPS::closeStream ( )
float SbPainterPS::convertRGB_ToGrey ( float  ,
float  ,
float   
)
private
void SbPainterPS::endTraversal ( )
virtual

Implements SbPainter.

const char* SbPainterPS::getFileName ( ) const
void* SbPainterPS::getStream ( )
void SbPainterPS::openFileForWriting ( const char *  )
void SbPainterPS::printFLN ( const char *  ,
  ... 
)
private
void SbPainterPS::printV ( const char *  ,
va_list   
)
private
void SbPainterPS::putBackgroundInStream ( float  ,
float  ,
float  ,
float  ,
float   
)
void SbPainterPS::putBeginPageInStream ( )
void SbPainterPS::putCapInStream ( int  )
void SbPainterPS::putCircleInStream ( float  ,
float  ,
float   
)
void SbPainterPS::putClosePathInStream ( )
void SbPainterPS::putEndPageInStream ( )
void SbPainterPS::putFillInStream ( )
void SbPainterPS::putFrameInStream ( float  ,
float  ,
float  ,
float  ,
float   
)
void SbPainterPS::putImageInStream ( unsigned  int,
unsigned  int,
GetRGB_Function   
)
void SbPainterPS::putInStreamF ( const char *  ,
  ... 
)
private
void SbPainterPS::putLineToInStream ( float  ,
float   
)
void SbPainterPS::putLineWidthInStream ( int  )
void SbPainterPS::putMarkerSizeInStream ( float  )
void SbPainterPS::putMoveInStream ( float  ,
float   
)
void SbPainterPS::putNewPathInStream ( )
void SbPainterPS::putPageScaleInStream ( float  ,
float   
)
void SbPainterPS::putRestoreStateInStream ( )
void SbPainterPS::putRGB_InStream ( float  ,
float  ,
float   
)
void SbPainterPS::putRotateInStream ( float  )
void SbPainterPS::putSaveStateInStream ( )
void SbPainterPS::putScaleInStream ( float  ,
float   
)
void SbPainterPS::putStrokeInStream ( )
void SbPainterPS::putTranslationInStream ( float  ,
float   
)
void SbPainterPS::setBackgroundDrawn ( int  )
void SbPainterPS::setBitsPerPixel ( int  )
void SbPainterPS::setColorScheme ( int  )
void SbPainterPS::setFileName ( const char *  )
void SbPainterPS::setLineWidth ( int  )
void SbPainterPS::setOrientation ( int  )
void SbPainterPS::writeByte ( unsigned  char)
private

Member Data Documentation

int SbPainterPS::doBack

Definition at line 102 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 102 of file SbPainterPS.h

int SbPainterPS::fBufferCount
private

Definition at line 112 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 112 of file SbPainterPS.h

unsigned char SbPainterPS::fBufferPointer[METAFILE_RECORD_LENGTH+1]
private

Definition at line 115 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 115 of file SbPainterPS.h

char* SbPainterPS::fBufferString
private

Definition at line 113 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 113 of file SbPainterPS.h

float SbPainterPS::fDeviceHeight
private

Definition at line 106 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 106 of file SbPainterPS.h

float SbPainterPS::fDeviceWidth
private

Definition at line 105 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 105 of file SbPainterPS.h

FILE* SbPainterPS::fFile
private

Definition at line 109 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 109 of file SbPainterPS.h

char* SbPainterPS::fFileName
private

Definition at line 110 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 110 of file SbPainterPS.h

int SbPainterPS::fGSave
private

Definition at line 111 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 111 of file SbPainterPS.h

float SbPainterPS::fMarkerSize
private

Definition at line 108 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 108 of file SbPainterPS.h

int SbPainterPS::fPageNumber
private

Definition at line 107 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 107 of file SbPainterPS.h

struct { ... } SbPainterPS::fParams
float SbPainterPS::lineWidth

Definition at line 103 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 103 of file SbPainterPS.h

int SbPainterPS::nbit

Definition at line 101 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 101 of file SbPainterPS.h

int SbPainterPS::portrait

Definition at line 100 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 100 of file SbPainterPS.h

int SbPainterPS::shade

Definition at line 99 of file SbPainterPS.h.

View newest version in sPHENIX GitHub at line 99 of file SbPainterPS.h


The documentation for this class was generated from the following file: