Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
SbPainter Class Referenceabstract

#include <SbPainter.h>

+ Inheritance diagram for SbPainter:

Public Member Functions

 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
 

Protected Attributes

int fWindowWidth
 
int fWindowHeight
 
float fRed
 
float fGreen
 
float fBlue
 
SbBool fEdges
 

Detailed Description

Definition at line 59 of file SbPainter.h.

Constructor & Destructor Documentation

◆ SbPainter()

SbPainter::SbPainter ( )

Definition at line 38 of file SbPainter.cc.

42,fRed(0.)
43,fGreen(0.)
44,fBlue(0.)
46//////////////////////////////////////////////////////////////////////////////
47//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
48{
49}
float fGreen
Definition SbPainter.h:73
int fWindowWidth
Definition SbPainter.h:72
SbBool fEdges
Definition SbPainter.h:74
float fRed
Definition SbPainter.h:73
float fBlue
Definition SbPainter.h:73
int fWindowHeight
Definition SbPainter.h:72
#define FALSE
Definition globals.hh:38

Referenced by SbPainter().

◆ ~SbPainter()

SbPainter::~SbPainter ( )
virtual

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//

Definition at line 51 of file SbPainter.cc.

55{
56}

Referenced by ~SbPainter().

Member Function Documentation

◆ beginTraversal()

virtual void SbPainter::beginTraversal ( )
pure virtual

Implemented in SbPainterPS.

◆ clearColorBuffer()

virtual void SbPainter::clearColorBuffer ( float ,
float ,
float  )
pure virtual

Implemented in SbPainterPS.

◆ enableEdges()

void SbPainter::enableEdges ( SbBool aValue)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//

Definition at line 69 of file SbPainter.cc.

74{
75 fEdges = aValue;
76}

Referenced by enableEdges().

◆ endTraversal()

virtual void SbPainter::endTraversal ( )
pure virtual

Implemented in SbPainterPS.

◆ setWindowSize()

void SbPainter::setWindowSize ( int aWindowWidth,
int aWindowHeight )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//

Definition at line 58 of file SbPainter.cc.

64{
65 fWindowWidth = aWindowWidth;
66 fWindowHeight = aWindowHeight;
67}

Referenced by SoImageWriter::GLRender(), and setWindowSize().

Member Data Documentation

◆ fBlue

float SbPainter::fBlue
protected

Definition at line 73 of file SbPainter.h.

◆ fEdges

SbBool SbPainter::fEdges
protected

Definition at line 74 of file SbPainter.h.

Referenced by enableEdges().

◆ fGreen

float SbPainter::fGreen
protected

Definition at line 73 of file SbPainter.h.

◆ fRed

float SbPainter::fRed
protected

Definition at line 73 of file SbPainter.h.

◆ fWindowHeight

int SbPainter::fWindowHeight
protected

◆ fWindowWidth

int SbPainter::fWindowWidth
protected

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