|
Blender V5.0
|
#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 38 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 80 of file AppView.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
Adds a model for displaying in the viewer
Definition at line 87 of file AppView.h.
References _maxAbs, _maxBBox, _minAbs, _minBBox, _ModelRootNode, and rabs().
Referenced by setModel().
|
inline |
Definition at line 103 of file AppView.h.
References _SilhouetteRootNode.
|
inline |
Definition at line 178 of file AppView.h.
References _DebugRootNode.
|
inline |
Definition at line 149 of file AppView.h.
References _ModelRootNode, and _p2DNode.
|
inline |
|
inline |
Definition at line 162 of file AppView.h.
References _p2DSelectionNode, and _SilhouetteRootNode.
|
inline |
Definition at line 172 of file AppView.h.
References _p2DSelectionNode.
| real Freestyle::AppView::distanceToSceneCenter | ( | ) |
Definition at line 88 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 186 of file AppView.h.
References _height, and _width.
Referenced by setHorizontalFov().
| real Freestyle::AppView::GetFocalLength | ( | ) |
Definition at line 156 of file AppView.cpp.
References _maxAbs, and distanceToSceneCenter().
|
inline |
|
inline |
|
inline |
|
inlineprotected |
fabs or abs
Definition at line 223 of file AppView.h.
References abs, and Freestyle::x.
Referenced by AddModel(), AppView(), and DetachModel().
Definition at line 227 of file AppView.h.
References fabs(), and Freestyle::x.
Definition at line 206 of file AppView.h.
References _ModelRootNode.
|
inline |
|
inline |
Definition at line 118 of file AppView.h.
References _DebugRootNode, and AddDebug().
|
inline |
|
inline |
|
inline |
Sets the model to draw in the viewer iModel The Root Node of the model
Definition at line 76 of file AppView.h.
References _ModelRootNode, and AddModel().
|
inline |
Definition at line 61 of file AppView.h.
References _thickness, and thickness().
|
inline |
|
inline |
|
inline |
| real Freestyle::AppView::zfar | ( | ) |
Definition at line 127 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 98 of file AppView.cpp.
References _ModelRootNode, g_freestyle, Freestyle::BBox< Point >::getMax(), Freestyle::BBox< Point >::getMin(), norm(), UNPACK3, and v.
Definition at line 68 of file AppView.h.
Referenced by border(), and setBorder().
|
protected |
Definition at line 239 of file AppView.h.
Referenced by AddDebug(), AppView(), DetachDebug(), and setDebug().
|
protected |
Definition at line 233 of file AppView.h.
Referenced by AppView(), GetFovyDegrees(), GetFovyRadian(), and setHorizontalFov().
|
protected |
Definition at line 67 of file AppView.h.
Referenced by GetAspect(), height(), and setHeight().
|
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 AddModel(), AppView(), DetachModel(), and GetFocalLength().
|
protected |
Definition at line 244 of file AppView.h.
Referenced by AddModel(), AppView(), and DetachModel().
|
protected |
Definition at line 246 of file AppView.h.
Referenced by AddModel(), AppView(), and DetachModel().
|
protected |
Definition at line 243 of file AppView.h.
Referenced by AddModel(), AppView(), and DetachModel().
|
protected |
Definition at line 237 of file AppView.h.
Referenced by AddModel(), AppView(), DetachModel(), DetachModel(), distanceToSceneCenter(), scene3DBBox(), setModel(), zfar(), and znear().
|
protected |
Definition at line 251 of file AppView.h.
Referenced by AppView(), DetachModel(), and ~AppView().
|
protected |
Definition at line 252 of file AppView.h.
Referenced by AppView(), DetachSilhouette(), and DetachVisibleSilhouette().
|
protected |
Definition at line 236 of file AppView.h.
Referenced by AppView(), and ~AppView().
|
protected |
Definition at line 238 of file AppView.h.
Referenced by AddSilhouette(), AppView(), and DetachSilhouette().
|
protected |
Definition at line 69 of file AppView.h.
Referenced by setThickness(), and thickness().
|
protected |
Definition at line 67 of file AppView.h.
Referenced by GetAspect(), setWidth(), and width().