SandboxGui::SoWidgetShape Class Reference

#include <Workbench.h>

List of all members.

Public Member Functions

void setWidget (QWidget *w)
 SoWidgetShape ()

Static Public Member Functions

static void initClass ()

Protected Member Functions

virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)
virtual void generatePrimitives (SoAction *action)
void getQuad (SoState *state, SbVec3f &v0, SbVec3f &v1, SbVec3f &v2, SbVec3f &v3)
virtual void GLRender (SoGLRenderAction *action)

Detailed Description

Definition at line 48 of file Mod/Sandbox/Gui/Workbench.h.


Constructor & Destructor Documentation

SoWidgetShape::SoWidgetShape (  ) 

Definition at line 121 of file Mod/Sandbox/Gui/Workbench.cpp.


Member Function Documentation

void SoWidgetShape::computeBBox ( SoAction *  action,
SbBox3f &  box,
SbVec3f &  center 
) [protected, virtual]

Definition at line 136 of file Mod/Sandbox/Gui/Workbench.cpp.

References getQuad(), and draftlibs::fcgeo::v1().

void SoWidgetShape::generatePrimitives ( SoAction *  action  )  [protected, virtual]

Definition at line 205 of file Mod/Sandbox/Gui/Workbench.cpp.

References getQuad(), and draftlibs::fcgeo::v1().

void SoWidgetShape::getQuad ( SoState *  state,
SbVec3f &  v0,
SbVec3f &  v1,
SbVec3f &  v2,
SbVec3f &  v3 
) [protected]

Definition at line 156 of file Mod/Sandbox/Gui/Workbench.cpp.

References draftlibs::fcvec::dist(), and SketcherExample::f.

Referenced by computeBBox(), and generatePrimitives().

void SoWidgetShape::GLRender ( SoGLRenderAction *  action  )  [protected, virtual]

Definition at line 126 of file Mod/Sandbox/Gui/Workbench.cpp.

void SoWidgetShape::initClass ( void   )  [static]

Definition at line 116 of file Mod/Sandbox/Gui/Workbench.cpp.

Referenced by initSandboxGui().

void SoWidgetShape::setWidget ( QWidget *  w  ) 

Definition at line 244 of file Mod/Sandbox/Gui/Workbench.cpp.

Referenced by CmdTestWidgetShape::activated().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:46 2011 for FreeCAD by  doxygen 1.6.1