Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
vrender::VRenderParams Class Reference

#include <VRender.h>

Public Types

enum  VRenderFormat { EPS, PS, XFIG, SVG }
 
enum  VRenderOption {
  CullHiddenFaces = 0x1, OptimizeBackFaceCulling = 0x4, RenderBlackAndWhite = 0x8, AddBackground = 0x10,
  TightenBoundingBox = 0x20
}
 
enum  VRenderSortMethod { NoSorting, BSPSort, TopologicalSort, AdvancedTopologicalSort }
 

Public Member Functions

const QString filename ()
 
int format ()
 
bool isEnabled (VRenderOption)
 
void setFilename (const QString &filename)
 
void setFormat (VRenderFormat f)
 
void setOption (VRenderOption, bool)
 
void setProgressFunction (ProgressFunction pf)
 
void setSortMethod (VRenderParams::VRenderSortMethod s)
 
int sortMethod ()
 
 VRenderParams ()
 
 ~VRenderParams ()
 

Private Member Functions

int & error ()
 
void progress (float, const QString &)
 
int & size ()
 

Private Attributes

int _error
 
QString _filename
 
VRenderFormat _format
 
unsigned int _options
 
ProgressFunction _progress_function
 
VRenderSortMethod _sortMethod
 

Friends

class BSPSortMethod
 
class Exporter
 
class ParserGL
 
class TopologicalSortMethod
 
class TopologicalSortUtils
 
void VectorialRender (RenderCB render_callback, void *callback_params, VRenderParams &vparams)
 
class VisibilityOptimizer
 

Detailed Description

Definition at line 62 of file VRender.h.

Member Enumeration Documentation

◆ VRenderFormat

Enumerator
EPS 
PS 
XFIG 
SVG 

Definition at line 69 of file VRender.h.

◆ VRenderOption

Enumerator
CullHiddenFaces 
OptimizeBackFaceCulling 
RenderBlackAndWhite 
AddBackground 
TightenBoundingBox 

Definition at line 71 of file VRender.h.

◆ VRenderSortMethod

Enumerator
NoSorting 
BSPSort 
TopologicalSort 
AdvancedTopologicalSort 

Definition at line 68 of file VRender.h.

Constructor & Destructor Documentation

◆ VRenderParams()

VRenderParams::VRenderParams ( )

Definition at line 242 of file VRender.cpp.

◆ ~VRenderParams()

VRenderParams::~VRenderParams ( )

Definition at line 251 of file VRender.cpp.

Member Function Documentation

◆ error()

int& vrender::VRenderParams::error ( )
inlineprivate

Definition at line 111 of file VRender.h.

◆ filename()

const QString vrender::VRenderParams::filename ( )
inline

Definition at line 83 of file VRender.h.

◆ format()

int vrender::VRenderParams::format ( )
inline

Definition at line 80 of file VRender.h.

◆ isEnabled()

bool VRenderParams::isEnabled ( VRenderOption  opt)

Definition at line 273 of file VRender.cpp.

◆ progress()

void VRenderParams::progress ( float  f,
const QString &  progress_string 
)
private

Definition at line 255 of file VRender.cpp.

◆ setFilename()

void VRenderParams::setFilename ( const QString &  filename)

Definition at line 260 of file VRender.cpp.

◆ setFormat()

void vrender::VRenderParams::setFormat ( VRenderFormat  f)
inline

Definition at line 81 of file VRender.h.

◆ setOption()

void VRenderParams::setOption ( VRenderOption  opt,
bool  b 
)

Definition at line 265 of file VRender.cpp.

◆ setProgressFunction()

void vrender::VRenderParams::setProgressFunction ( ProgressFunction  pf)
inline

Definition at line 89 of file VRender.h.

◆ setSortMethod()

void vrender::VRenderParams::setSortMethod ( VRenderParams::VRenderSortMethod  s)
inline

Definition at line 78 of file VRender.h.

◆ size()

int& vrender::VRenderParams::size ( )
inlineprivate

Definition at line 112 of file VRender.h.

◆ sortMethod()

int vrender::VRenderParams::sortMethod ( )
inline

Definition at line 77 of file VRender.h.

Friends And Related Function Documentation

◆ BSPSortMethod

friend class BSPSortMethod
friend

Definition at line 106 of file VRender.h.

◆ Exporter

friend class Exporter
friend

Definition at line 105 of file VRender.h.

◆ ParserGL

friend class ParserGL
friend

Definition at line 104 of file VRender.h.

◆ TopologicalSortMethod

friend class TopologicalSortMethod
friend

Definition at line 108 of file VRender.h.

◆ TopologicalSortUtils

friend class TopologicalSortUtils
friend

Definition at line 109 of file VRender.h.

◆ VectorialRender

void VectorialRender ( RenderCB  render_callback,
void *  callback_params,
VRenderParams vparams 
)
friend

◆ VisibilityOptimizer

friend class VisibilityOptimizer
friend

Definition at line 107 of file VRender.h.

Member Data Documentation

◆ _error

int vrender::VRenderParams::_error
private

Definition at line 92 of file VRender.h.

◆ _filename

QString vrender::VRenderParams::_filename
private

Definition at line 99 of file VRender.h.

◆ _format

VRenderFormat vrender::VRenderParams::_format
private

Definition at line 94 of file VRender.h.

◆ _options

unsigned int vrender::VRenderParams::_options
private

Definition at line 98 of file VRender.h.

◆ _progress_function

ProgressFunction vrender::VRenderParams::_progress_function
private

Definition at line 96 of file VRender.h.

◆ _sortMethod

VRenderSortMethod vrender::VRenderParams::_sortMethod
private

Definition at line 93 of file VRender.h.


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


octovis
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Mon Feb 28 2022 22:58:17