#include <ViewProviderInventorObject.h>
Public Member Functions | |
void | attach (App::DocumentObject *pcObject) |
std::vector< std::string > | getDisplayModes () const |
Return a list of all possible modes. | |
virtual Base::Type | getTypeId (void) const |
void | setDisplayMode (const char *ModeName) |
set the display mode | |
void | updateData (const App::Property *) |
Gets called if some of the property hade bin changed. | |
bool | useNewSelectionModel (void) const |
indicates if the ViewProvider use the new Selection model | |
ViewProviderInventorObject () | |
constructor. | |
~ViewProviderInventorObject () | |
destructor. | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Protected Attributes | |
SoSeparator * | pcBuffer |
SoSeparator * | pcFile |
Definition at line 33 of file ViewProviderInventorObject.h.
ViewProviderInventorObject::ViewProviderInventorObject | ( | ) |
constructor.
Definition at line 45 of file ViewProviderInventorObject.cpp.
ViewProviderInventorObject::~ViewProviderInventorObject | ( | ) |
destructor.
Definition at line 53 of file ViewProviderInventorObject.cpp.
void ViewProviderInventorObject::attach | ( | App::DocumentObject * | pcObject | ) | [virtual] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 59 of file ViewProviderInventorObject.cpp.
References Gui::ViewProvider::addDisplayMaskMode(), pcBuffer, and pcFile.
void * Gui::ViewProviderInventorObject::create | ( | void | ) | [static] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderInventorObject.cpp.
Base::Type Gui::ViewProviderInventorObject::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderInventorObject.cpp.
std::vector< std::string > ViewProviderInventorObject::getDisplayModes | ( | void | ) | const [virtual] |
Return a list of all possible modes.
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 81 of file ViewProviderInventorObject.cpp.
const App::PropertyData & Gui::ViewProviderInventorObject::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderInventorObject.cpp.
const App::PropertyData * Gui::ViewProviderInventorObject::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderInventorObject.cpp.
Base::Type Gui::ViewProviderInventorObject::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderInventorObject.cpp.
void Gui::ViewProviderInventorObject::init | ( | void | ) | [static] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderInventorObject.cpp.
Referenced by Gui::Application::initTypes().
void ViewProviderInventorObject::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 70 of file ViewProviderInventorObject.cpp.
References Gui::ViewProvider::setDisplayMaskMode().
void ViewProviderInventorObject::updateData | ( | const App::Property * | ) | [virtual] |
Gets called if some of the property hade bin changed.
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 90 of file ViewProviderInventorObject.cpp.
References buffer, App::InventorObject::Buffer, DrawingExample::file, draftlibs::dxfReader::filename, App::InventorObject::FileName, App::DocumentObject::getDocument(), App::Document::getName(), App::DocumentObject::getNameInDocument(), pcBuffer, pcFile, and Gui::ViewProviderDocumentObject::pcObject.
bool Gui::ViewProviderInventorObject::useNewSelectionModel | ( | void | ) | const [inline, virtual] |
indicates if the ViewProvider use the new Selection model
Reimplemented from Gui::ViewProvider.
Definition at line 48 of file ViewProviderInventorObject.h.
SoSeparator* Gui::ViewProviderInventorObject::pcBuffer [protected] |
Definition at line 54 of file ViewProviderInventorObject.h.
Referenced by attach(), updateData(), and ~ViewProviderInventorObject().
SoSeparator* Gui::ViewProviderInventorObject::pcFile [protected] |
Definition at line 55 of file ViewProviderInventorObject.h.
Referenced by attach(), updateData(), and ~ViewProviderInventorObject().