Public Member Functions | |
PovrayFlags (const bool smooth=false, const bool bicubic_patch=false, const bool external_data=false) | |
void | parse_parameters (const ParameterHandler &prm) |
unsigned int | memory_consumption () const |
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
Public Attributes | |
bool | smooth |
bool | bicubic_patch |
bool | external_data |
Flags controlling the details of output in Povray format. Several flags are implemented, see their respective documentation.
DataOutBase::PovrayFlags::PovrayFlags | ( | const bool | smooth = false , |
|
const bool | bicubic_patch = false , |
|||
const bool | external_data = false | |||
) |
Constructor.
static void DataOutBase::PovrayFlags::declare_parameters | ( | ParameterHandler & | prm | ) | [static] |
Declare all flags with name and type as offered by this class, for use in input files.
void DataOutBase::PovrayFlags::parse_parameters | ( | const ParameterHandler & | prm | ) |
Read the parameters declared in declare_parameters
and set the flags for this output format accordingly.
The flags thus obtained overwrite all previous contents of this object.
Determine an estimate for the memory consumption (in bytes) of this object. Since sometimes the size of objects can not be determined exactly (for example: what is the memory consumption of an STL std::map
type with a certain number of elements?), this is only an estimate. however often quite close to the true value.
Normal vector interpolation, if set to true
default = false
Use bicubic patches (b-splines) instead of triangles.
default = false
include external "data.inc" with camera, light and texture definition for the scene.
default = false