PartGui::ViewProviderPartReference Class Reference

#include <ViewProviderReference.h>

Inheritance diagram for PartGui::ViewProviderPartReference:
Gui::ViewProviderGeometryObject Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

virtual void attach (App::DocumentObject *)
 Attaches the document object to this view provider.
virtual std::vector< std::string > getDisplayModes (void) const
 returns a list of all possible modes
virtual Base::Type getTypeId (void) const
void reload ()
 Update the view representation.
virtual void setDisplayMode (const char *ModeName)
 set the display mode
virtual void updateData (const App::Property *)
 Gets called if some of the property hade bin changed.
 ViewProviderPartReference ()
 constructor
virtual ~ViewProviderPartReference ()
 destructor

Static Public Member Functions

static void * create (void)
static Base::Type getClassTypeId (void)
static void init (void)

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (void) const
virtual void onChanged (const App::Property *prop)
 get called by the container whenever a property has been changed

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Protected Attributes

SoGroup * EdgeRoot
SoGroup * FaceRoot
SoSwitch * pcControlPoints
SoMaterial * pcLineMaterial
SoDrawStyle * pcLineStyle
SoMaterial * pcPointMaterial
SoDrawStyle * pcPointStyle
SoShapeHints * pShapeHints
SoGroup * VertexRoot

Detailed Description

Definition at line 52 of file ViewProviderReference.h.


Constructor & Destructor Documentation

ViewProviderPartReference::ViewProviderPartReference (  ) 
ViewProviderPartReference::~ViewProviderPartReference (  )  [virtual]

destructor

Definition at line 157 of file ViewProviderReference.cpp.


Member Function Documentation

void ViewProviderPartReference::attach ( App::DocumentObject pcObject  )  [virtual]

Attaches the document object to this view provider.

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 227 of file ViewProviderReference.cpp.

References Gui::ViewProvider::addDisplayMaskMode(), EdgeRoot, FaceRoot, pShapeHints, and VertexRoot.

void * PartGui::ViewProviderPartReference::create ( void   )  [static]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 98 of file ViewProviderReference.cpp.

Base::Type PartGui::ViewProviderPartReference::getClassTypeId ( void   )  [static]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 98 of file ViewProviderReference.cpp.

std::vector< std::string > ViewProviderPartReference::getDisplayModes ( void   )  const [virtual]

returns a list of all possible modes

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 270 of file ViewProviderReference.cpp.

const App::PropertyData & PartGui::ViewProviderPartReference::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 98 of file ViewProviderReference.cpp.

const App::PropertyData * PartGui::ViewProviderPartReference::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 98 of file ViewProviderReference.cpp.

Base::Type PartGui::ViewProviderPartReference::getTypeId ( void   )  const [virtual]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 98 of file ViewProviderReference.cpp.

void PartGui::ViewProviderPartReference::init ( void   )  [static]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 98 of file ViewProviderReference.cpp.

void ViewProviderPartReference::onChanged ( const App::Property prop  )  [protected, virtual]

get called by the container whenever a property has been changed

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 169 of file ViewProviderReference.cpp.

void PartGui::ViewProviderPartReference::reload (  ) 

Update the view representation.

void ViewProviderPartReference::setDisplayMode ( const char *  ModeName  )  [virtual]

set the display mode

If you add new viewing modes in getDisplayModes() then you need to reimplement also seDisplaytMode() to handle these new modes by setting the appropriate display mode.

Reimplemented from Gui::ViewProvider.

Definition at line 262 of file ViewProviderReference.cpp.

References Gui::ViewProvider::setDisplayMaskMode().

void ViewProviderPartReference::updateData ( const App::Property  )  [virtual]

Gets called if some of the property hade bin changed.

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 285 of file ViewProviderReference.cpp.


Member Data Documentation

Definition at line 88 of file ViewProviderReference.h.

Referenced by attach().

Definition at line 89 of file ViewProviderReference.h.

Referenced by attach().

Definition at line 95 of file ViewProviderReference.h.

Definition at line 91 of file ViewProviderReference.h.

Definition at line 93 of file ViewProviderReference.h.

Definition at line 92 of file ViewProviderReference.h.

Definition at line 94 of file ViewProviderReference.h.

Definition at line 96 of file ViewProviderReference.h.

Referenced by attach().

Definition at line 90 of file ViewProviderReference.h.

Referenced by attach().


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

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