20#ifdef WITH_CXX_GUARDEDALLOC
59 inline void setBorder(
int xmin,
int ymin,
int xmax,
int ymax)
159 _pFENode->DetachChildren();
160 _pVisibleSilhouetteNode->DetachChildren();
168 _pFENode->DetachChildren();
169 _pVisibleSilhouetteNode->DetachChildren();
256#ifdef WITH_CXX_GUARDEDALLOC
257 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:AppView")
A class to hold a bounding box.
Vectors and Matrices (useful type definitions)
Read Guarded memory(de)allocation.
Class to define a Drawing Style to be applied to the underlying children. Inherits from NodeGroup.
Define the float precision used in the program.
real distanceToSceneCenter()
void setHorizontalFov(float hfov)
real GetFovyDegrees() const
void AddDebug(NodeGroup *iDebug)
AppView(const char *iName=0)
void DetachVisibleSilhouette()
void setWidth(uint width)
void Draw2DScene(SceneVisitor *iRenderer)
void AddSilhouette(NodeGroup *iSilhouette)
void setBorder(int xmin, int ymin, int xmax, int ymax)
void setDebug(NodeGroup *iDebug)
void Add2DSilhouette(NodeGroup *)
void setThickness(float thickness)
NodeDrawingStyle * _ModelRootNode
NodeDrawingStyle * _DebugRootNode
NodeDrawingStyle * _p2DSelectionNode
void setModel(NodeGroup *iModel)
real GetFovyRadian() const
void setHeight(uint height)
void AddModel(NodeGroup *iModel)
NodeDrawingStyle * _SilhouetteRootNode
void Add2DVisibleSilhouette(NodeGroup *)
BBox< Vec3r > scene3DBBox() const
void DetachModel(Node *iModel)
void DrawScene(SceneVisitor *iRenderer)
virtual int numberOfChildren()
virtual void DetachChildren()
virtual void AddChild(Node *iChild)
virtual const BBox< Vec3r > & UpdateBBox()
virtual void DetachChild(Node *iChild)
virtual const BBox< Vec3r > & bbox() const
ccl_device_inline float2 fabs(const float2 a)
VecMat::Vec2< int > Vec2i
ccl_device_inline int abs(int x)