3#include <cgv/render/view.h>
4#include <cgv/media/axis_aligned_box.h>
23 void compute_clipping_planes(
double& z_near_derived,
double& z_far_derived,
bool clip_relative_to_extent =
false)
const;
25 void compute_clipping_planes(
const view&
view,
double& z_near_derived,
double& z_far_derived,
bool clip_relative_to_extent =
false)
const;
27 void compute_clipping_planes(
const dvec3& eye,
const dvec3& view_dir,
double& z_near_derived,
double& z_far_derived,
bool clip_relative_to_extent =
false)
const;
32 double get_z_near()
const;
36 virtual void set_z_near(
double z);
38 double get_z_far()
const;
42 virtual void set_z_far(
double z);
44 static double get_z_D(
double z_eye,
double z_near,
double z_far);
46 virtual void set_scene_extent(
const dbox3& _box);
48 dbox3 get_scene_extent()
const;
50 virtual void set_default_view();
57#include <cgv/config/lib_end.h>
extends the view class with information on z clipping planes and scene extent and supports clipping p...
double & ref_z_far()
reference to z_far value for ui construction
double & ref_z_near()
reference to z_near value for ui construction
defines a symmetric view with the following quantities: