Tables

tables/view

#include "dxfio/tables/view.hpp"

In DxfIO::Tables

struct ViewVIEW

A VIEW table record: a named view of the drawing, with the camera it is seen through.

FieldType and defaultMeaning
RecordTables::RecordThe name, flags and handles every table record carries.
Heightdouble{1}How tall the view is, in display coordinates. Group 40.
CenterVectorThe center of the view, in display coordinates. Groups 10, 20.
Widthdouble{1}How wide the view is, in display coordinates. Group 41.
DirectionVector{.X = 0, .Y = 0, .Z = 1}The direction the view looks from, toward the target, in world coordinates. Groups 11, 21, 31.
TargetVectorThe point the view looks at, in world coordinates. Groups 12, 22, 32.
Focaldouble{Lens}The lens length, in millimeters, of a perspective view. Group 42.
FrontdoubleThe front clipping plane, as an offset from the target. Group 43.
BackdoubleThe back clipping plane, as an offset from the target. Group 44.
TwistdoubleThe rotation of the view about its direction, in degrees. Group 50.
ModeintBits, as $VIEWMODE: 1 perspective, 2 front clipping, 4 back clipping, 8 UCS follow, 16 front clip not at the eye. Group 71.
RenderintHow the view is shaded: 0 2D optimized, 1 wireframe, 2 hidden line, 3 flat, 4 Gouraud, 5 and 6 those two with wireframe. Group 281, from R2000.
AssociatedboolWhether the view keeps a UCS of its own in Axes. Group 72, from R2000.
AxesTables::AxesThe UCS of the view, written only when Associated is set; from R2000.
PlottableboolWhether the camera is plotted. Group 73, from R2007.
BackgroundHandleThe background object. Group 332, from R2007.
SectionHandleThe live section object. Group 334, from R2007.
StyleHandleThe visual style. Group 348, from R2007.

Constants

Lensdouble = 50The lens length, in millimeters, of a new view or viewport.