24#ifndef __SO_VECTORIZE_PS_ACTION_
25#define __SO_VECTORIZE_PS_ACTION_
82 {
return m_langLevel ; }
103 { m_numericAccuracyFactor = factor ; }
111 {
return m_numericAccuracyFactor ;}
117 unsigned int m_langLevel ;
118 float m_numericAccuracyFactor ;
173 static void initClass();
174 static void exitClass();
177 virtual void printPolyMark(
const SbVec4f *points,
183 virtual void printPolyMark(
const SbVec4f *points,
188 virtual void printImage(
const SbVec4f &origin,
189 const unsigned char *imagePixels,
196 virtual void printPolyLine(
const SbVec4f *points,
202 int linePatternScaleFactor = 1);
203 virtual void printPolygon(
const SbVec4f *points,
209 const unsigned char *pattern);
210 virtual void printText2(
const SbVec4f point,
219 virtual void printBorder();
220 virtual void printBackground();
224 virtual void writeHeader();
225 virtual void writeFooter();
228 virtual void setHardwareClip();
233 void createBitmap(
int markerIndex,
const SbVec2s &
size);
234 SbBool isBitmapExist(
int markerIndex);
236 void assignColor(
SbColor color,
float linewidth);
237 void pcp079(
char* buffer );
239 void writePixel(
unsigned char pixel);
240 void initWritePixel();
241 void initDefaultCurrentValues();
244 int m_numCreatedBitmaps;
245 int m_createdBitmaps[1000];
246 int m_currentBitmapIndex;
248 float m_currentPointSize;
249 float m_currentThickness;
250 u_short m_currentLinePattern;
251 int m_currentPatternScaleFactor;
254 int m_numWritenPixels;
255 int m_currentPattableIndex;
256 int m_nbPattableIndex;
257 unsigned int m_langLevel ;
258 SbBool m_gouraudShadingPossible ;
260 float m_scaleNumVal ;
#define TRUE
Possible value of SbBool.
#define SO_ACTION_HEADER(className)
List of generic (void *) pointers.
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D vector class.
VertAlignment
Vertical alignment.
HorAlignment
Horizontal alignment.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Extension of Poi...
<a href="IconLegend.html"><img src="extHC.gif" alt="HardCopy" border="0"></a> Class used to write ve...
void setNumericAccuracyFactor(float factor)
Sets the factor used to compute the accuracy of all real numeric values.
void setColored(SbBool flag=TRUE)
Sets the colored output flag.
unsigned int getLevel() const
Returns the PostScript language level.
virtual ~SoPSVectorOutput()
Destructor.
SbBool getColored() const
Gets the colored output flag.
float getNumericAccuracy() const
Returns the factor used to compute the accuracy of all real numeric values.
void setLevel(unsigned int level)
Sets the PostScript language level.
SoPSVectorOutput()
Constructor.
<a href="IconLegend.html"><img src="extHC.gif" alt="HardCopy" border="0"></a> Abstract class used to...
<a href="IconLegend.html"><img src="extHC.gif" alt="HardCopy" border="0"></a> Abstract class for vec...
<a href="IconLegend.html"><img src="extHC.gif" alt="HardCopy" border="0"></a> Realizes the vectoriza...
SoVectorizePSAction()
Constructor.
SoPSVectorOutput * getPSVectorOutput() const
Returns the SoPSVectorOutput instance in action.
virtual ~SoVectorizePSAction()
Destructor.