|
Blender V4.3
|
#include <AppView.h>
Public Member Functions | |
| AppView (const char *iName=0) | |
| virtual | ~AppView () |
| uint | width () |
| uint | height () |
| BBox< Vec2i > | border () |
| float | thickness () |
| void | setWidth (uint width) |
| void | setHeight (uint height) |
| void | setBorder (int xmin, int ymin, int xmax, int ymax) |
| void | setThickness (float thickness) |
| void | setModel (NodeGroup *iModel) |
| void | AddModel (NodeGroup *iModel) |
| void | AddSilhouette (NodeGroup *iSilhouette) |
| void | Add2DSilhouette (NodeGroup *) |
| void | Add2DVisibleSilhouette (NodeGroup *) |
| void | setDebug (NodeGroup *iDebug) |
| void | AddDebug (NodeGroup *iDebug) |
| void | DetachModel (Node *iModel) |
| void | DetachModel () |
| void | DetachSilhouette () |
| void | DetachVisibleSilhouette () |
| void | DetachDebug () |
| real | distanceToSceneCenter () |
| real | GetFocalLength () |
| real | GetAspect () const |
| void | setHorizontalFov (float hfov) |
| real | GetFovyRadian () const |
| real | GetFovyDegrees () const |
| BBox< Vec3r > | scene3DBBox () const |
| real | znear () |
| real | zfar () |
| void | DrawScene (SceneVisitor *iRenderer) |
| void | Draw2DScene (SceneVisitor *iRenderer) |
Protected Member Functions | |
| int | rabs (int x) |
| real | rabs (real x) |
| Freestyle::AppView::AppView | ( | const char * | iName = 0 | ) |
Definition at line 39 of file AppView.cpp.
References _DebugRootNode, _Fovy, _Light, _maxAbs, _maxBBox, _minAbs, _minBBox, _ModelRootNode, _p2DNode, _p2DSelectionNode, _RootNode, _SilhouetteRootNode, DEG2RADF, Freestyle::DrawingStyle::LINES, and rabs().
|
virtual |
Definition at line 81 of file AppView.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
Adds a model for displaying in the viewer
Definition at line 89 of file AppView.h.
References _maxAbs, _maxBBox, _minAbs, _minBBox, _ModelRootNode, and rabs().
Referenced by setModel().
|
inline |
Definition at line 105 of file AppView.h.
References _SilhouetteRootNode.
|
inline |
Definition at line 180 of file AppView.h.
References _DebugRootNode.
|
inline |
Definition at line 151 of file AppView.h.
References _ModelRootNode, and _p2DNode.
|
inline |
|
inline |
Definition at line 164 of file AppView.h.
References _p2DSelectionNode, and _SilhouetteRootNode.
|
inline |
Definition at line 174 of file AppView.h.
References _p2DSelectionNode.
| real Freestyle::AppView::distanceToSceneCenter | ( | ) |
Definition at line 89 of file AppView.cpp.
References _ModelRootNode, g_freestyle, Freestyle::BBox< Point >::getMax(), Freestyle::BBox< Point >::getMin(), UNPACK3, and v.
Referenced by GetFocalLength().
| void Freestyle::AppView::Draw2DScene | ( | SceneVisitor * | iRenderer | ) |
| void Freestyle::AppView::DrawScene | ( | SceneVisitor * | iRenderer | ) |
Core scene drawing
|
inline |
Definition at line 188 of file AppView.h.
References _height, and _width.
Referenced by setHorizontalFov().
| real Freestyle::AppView::GetFocalLength | ( | ) |
Definition at line 157 of file AppView.cpp.
References _maxAbs, and distanceToSceneCenter().
|
inline |
|
inline |
|
inline |
fabs or abs
Definition at line 225 of file AppView.h.
References abs(), and Freestyle::x.
Referenced by AddModel(), AppView(), and DetachModel().
Definition at line 229 of file AppView.h.
References fabs(), and Freestyle::x.
Definition at line 208 of file AppView.h.
References _ModelRootNode.
|
inline |
Definition at line 120 of file AppView.h.
References _DebugRootNode, and AddDebug().
|
inline |
|
inline |
Definition at line 193 of file AppView.h.
References _Fovy, and GetAspect().
|
inline |
Sets the model to draw in the viewer iModel The Root Node of the model
Definition at line 78 of file AppView.h.
References _ModelRootNode, and AddModel().
|
inline |
Definition at line 63 of file AppView.h.
References _thickness, and thickness().
|
inline |
|
inline |
|
inline |
| real Freestyle::AppView::zfar | ( | ) |
Definition at line 128 of file AppView.cpp.
References _ModelRootNode, g_freestyle, Freestyle::BBox< Point >::getMax(), Freestyle::BBox< Point >::getMin(), norm(), UNPACK3, and v.
| real Freestyle::AppView::znear | ( | ) |
Definition at line 99 of file AppView.cpp.
References _ModelRootNode, g_freestyle, Freestyle::BBox< Point >::getMax(), Freestyle::BBox< Point >::getMin(), norm(), UNPACK3, and v.
Definition at line 70 of file AppView.h.
Referenced by border(), and setBorder().
|
protected |
Definition at line 241 of file AppView.h.
Referenced by AddDebug(), AppView(), DetachDebug(), and setDebug().
|
protected |
Definition at line 235 of file AppView.h.
Referenced by AppView(), GetFovyDegrees(), GetFovyRadian(), and setHorizontalFov().
|
protected |
Definition at line 69 of file AppView.h.
Referenced by GetAspect(), height(), and setHeight().
|
protected |
Definition at line 243 of file AppView.h.
Referenced by AppView(), and ~AppView().
|
protected |
Definition at line 247 of file AppView.h.
Referenced by AddModel(), AppView(), DetachModel(), and GetFocalLength().
|
protected |
Definition at line 246 of file AppView.h.
Referenced by AddModel(), AppView(), and DetachModel().
|
protected |
Definition at line 248 of file AppView.h.
Referenced by AddModel(), AppView(), and DetachModel().
|
protected |
Definition at line 245 of file AppView.h.
Referenced by AddModel(), AppView(), and DetachModel().
|
protected |
Definition at line 239 of file AppView.h.
Referenced by AddModel(), AppView(), DetachModel(), DetachModel(), distanceToSceneCenter(), scene3DBBox(), setModel(), zfar(), and znear().
|
protected |
Definition at line 253 of file AppView.h.
Referenced by AppView(), DetachModel(), and ~AppView().
|
protected |
Definition at line 254 of file AppView.h.
Referenced by AppView(), DetachSilhouette(), and DetachVisibleSilhouette().
|
protected |
Definition at line 238 of file AppView.h.
Referenced by AppView(), and ~AppView().
|
protected |
Definition at line 240 of file AppView.h.
Referenced by AddSilhouette(), AppView(), and DetachSilhouette().
|
protected |
Definition at line 71 of file AppView.h.
Referenced by setThickness(), and thickness().
|
protected |
Definition at line 69 of file AppView.h.
Referenced by GetAspect(), setWidth(), and width().