Blender
V3.3
|
#include <AppView.h>
Protected Member Functions | |
int | rabs (int x) |
real | rabs (real x) |
Protected Attributes | |
unsigned int | _width |
unsigned int | _height |
BBox< Vec2i > | _border |
float | _thickness |
float | _Fovy |
NodeGroup | _RootNode |
NodeDrawingStyle * | _ModelRootNode |
NodeDrawingStyle * | _SilhouetteRootNode |
NodeDrawingStyle * | _DebugRootNode |
NodeGroup | _Light |
real | _minBBox |
real | _maxBBox |
real | _maxAbs |
real | _minAbs |
bool | _Draw2DScene |
bool | _Draw3DScene |
NodeGroup | _p2DNode |
NodeDrawingStyle * | _p2DSelectionNode |
Freestyle::AppView::AppView | ( | const char * | iName = 0 | ) |
Definition at line 36 of file AppView.cpp.
References _DebugRootNode, _Fovy, _Light, _maxAbs, _maxBBox, _minAbs, _minBBox, _ModelRootNode, _p2DNode, _p2DSelectionNode, _RootNode, _SilhouetteRootNode, Freestyle::NodeGroup::AddChild(), Freestyle::Node::bbox(), DEG2RADF, Freestyle::DrawingStyle::LINES, max, min, rabs(), Freestyle::NodeDrawingStyle::setLightingEnabled(), Freestyle::NodeDrawingStyle::setLineWidth(), Freestyle::NodeDrawingStyle::setPointSize(), and Freestyle::NodeDrawingStyle::setStyle().
|
virtual |
Definition at line 78 of file AppView.cpp.
References _Light, _p2DNode, _RootNode, and Freestyle::NodeGroup::destroy().
Definition at line 108 of file AppView.h.
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 113 of file AppView.h.
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 128 of file AppView.h.
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 103 of file AppView.h.
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 41 of file AppView.h.
Referenced by Freestyle::AppCanvas::border().
|
inline |
Definition at line 178 of file AppView.h.
Referenced by Freestyle::Controller::DeleteViewMap().
Definition at line 133 of file AppView.h.
Referenced by Freestyle::Controller::ClearRootNode().
|
inline |
Definition at line 162 of file AppView.h.
Referenced by Freestyle::Controller::DeleteViewMap().
|
inline |
real Freestyle::AppView::distanceToSceneCenter | ( | ) |
Definition at line 86 of file AppView.cpp.
References _ModelRootNode, Freestyle::Node::bbox(), g_freestyle, Freestyle::BBox< Point >::getMax(), Freestyle::BBox< Point >::getMin(), UNPACK3, v, and FreestyleGlobals::viewpoint.
Referenced by GetFocalLength().
void Freestyle::AppView::Draw2DScene | ( | SceneVisitor * | iRenderer | ) |
2D Scene Drawing
void Freestyle::AppView::DrawScene | ( | SceneVisitor * | iRenderer | ) |
Core scene drawing
|
inline |
Definition at line 186 of file AppView.h.
Referenced by Freestyle::Controller::ComputeViewMap().
real Freestyle::AppView::GetFocalLength | ( | ) |
Definition at line 154 of file AppView.cpp.
References _maxAbs, distanceToSceneCenter(), and max.
Referenced by Freestyle::Controller::ComputeViewMap().
|
inline |
|
inline |
Definition at line 196 of file AppView.h.
Referenced by Freestyle::Controller::ComputeViewMap().
|
inline |
Definition at line 37 of file AppView.h.
Referenced by Freestyle::Controller::ComputeSteerableViewMap().
|
inlineprotected |
fabs or abs
Definition at line 223 of file AppView.h.
References blender::math::abs(), and Freestyle::x.
Referenced by AppView().
Definition at line 227 of file AppView.h.
References fabs(), and Freestyle::x.
Definition at line 206 of file AppView.h.
Referenced by Freestyle::AppCanvas::scene3DBBox().
|
inline |
Definition at line 57 of file AppView.h.
Referenced by init_view().
Definition at line 118 of file AppView.h.
Referenced by Freestyle::Controller::LoadMesh().
|
inline |
Definition at line 191 of file AppView.h.
References KDL::atan(), and KDL::tan().
Sets the model to draw in the viewer iModel The Root Node of the model
Definition at line 76 of file AppView.h.
Referenced by Freestyle::Controller::LoadMesh().
Definition at line 61 of file AppView.h.
Referenced by init_view().
|
inline |
|
inline |
Definition at line 45 of file AppView.h.
Referenced by Freestyle::AppCanvas::thickness().
|
inline |
Definition at line 33 of file AppView.h.
Referenced by Freestyle::Controller::ComputeSteerableViewMap().
real Freestyle::AppView::zfar | ( | ) |
Definition at line 125 of file AppView.cpp.
References _ModelRootNode, Freestyle::Node::bbox(), g_freestyle, Freestyle::BBox< Point >::getMax(), Freestyle::BBox< Point >::getMin(), max, norm(), UNPACK3, v, and FreestyleGlobals::viewpoint.
Referenced by Freestyle::Controller::ComputeViewMap().
real Freestyle::AppView::znear | ( | ) |
Definition at line 96 of file AppView.cpp.
References _ModelRootNode, Freestyle::Node::bbox(), g_freestyle, Freestyle::BBox< Point >::getMax(), Freestyle::BBox< Point >::getMin(), max, min, norm(), UNPACK3, v, and FreestyleGlobals::viewpoint.
Referenced by Freestyle::Controller::ComputeViewMap().
|
protected |
|
protected |
|
protected |
Definition at line 241 of file AppView.h.
Referenced by AppView(), and ~AppView().
|
protected |
Definition at line 245 of file AppView.h.
Referenced by AppView(), and GetFocalLength().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 251 of file AppView.h.
Referenced by AppView(), and ~AppView().
|
protected |
|
protected |
Definition at line 236 of file AppView.h.
Referenced by AppView(), and ~AppView().
|
protected |