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 67 of file VRender.h.

Member Enumeration Documentation

Enumerator
EPS 
PS 
XFIG 
SVG 

Definition at line 74 of file VRender.h.

Enumerator
CullHiddenFaces 
OptimizeBackFaceCulling 
RenderBlackAndWhite 
AddBackground 
TightenBoundingBox 

Definition at line 76 of file VRender.h.

Enumerator
NoSorting 
BSPSort 
TopologicalSort 
AdvancedTopologicalSort 

Definition at line 73 of file VRender.h.

Constructor & Destructor Documentation

VRenderParams::VRenderParams ( )

Definition at line 242 of file VRender.cpp.

VRenderParams::~VRenderParams ( )

Definition at line 251 of file VRender.cpp.

Member Function Documentation

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

Definition at line 116 of file VRender.h.

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

Definition at line 88 of file VRender.h.

int vrender::VRenderParams::format ( )
inline

Definition at line 85 of file VRender.h.

bool VRenderParams::isEnabled ( VRenderOption  opt)

Definition at line 273 of file VRender.cpp.

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

Definition at line 255 of file VRender.cpp.

void VRenderParams::setFilename ( const QString &  filename)

Definition at line 260 of file VRender.cpp.

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

Definition at line 86 of file VRender.h.

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

Definition at line 265 of file VRender.cpp.

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

Definition at line 94 of file VRender.h.

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

Definition at line 83 of file VRender.h.

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

Definition at line 117 of file VRender.h.

int vrender::VRenderParams::sortMethod ( )
inline

Definition at line 82 of file VRender.h.

Friends And Related Function Documentation

friend class BSPSortMethod
friend

Definition at line 111 of file VRender.h.

friend class Exporter
friend

Definition at line 110 of file VRender.h.

friend class ParserGL
friend

Definition at line 109 of file VRender.h.

friend class TopologicalSortMethod
friend

Definition at line 113 of file VRender.h.

friend class TopologicalSortUtils
friend

Definition at line 114 of file VRender.h.

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

Definition at line 112 of file VRender.h.

Member Data Documentation

int vrender::VRenderParams::_error
private

Definition at line 97 of file VRender.h.

QString vrender::VRenderParams::_filename
private

Definition at line 104 of file VRender.h.

VRenderFormat vrender::VRenderParams::_format
private

Definition at line 99 of file VRender.h.

unsigned int vrender::VRenderParams::_options
private

Definition at line 103 of file VRender.h.

ProgressFunction vrender::VRenderParams::_progress_function
private

Definition at line 101 of file VRender.h.

VRenderSortMethod vrender::VRenderParams::_sortMethod
private

Definition at line 98 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 Jun 10 2019 14:00:25