#include <ViewProviderVRMLObject.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. | |
ViewProviderVRMLObject () | |
constructor. | |
~ViewProviderVRMLObject () | |
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 | |
SoFCSelection * | pcVRML |
Definition at line 34 of file ViewProviderVRMLObject.h.
ViewProviderVRMLObject::ViewProviderVRMLObject | ( | ) |
constructor.
Definition at line 45 of file ViewProviderVRMLObject.cpp.
References Gui::SoFCSelection::OFF, and Gui::SoFCSelection::SEL_OFF.
ViewProviderVRMLObject::~ViewProviderVRMLObject | ( | ) |
void ViewProviderVRMLObject::attach | ( | App::DocumentObject * | pcObject | ) | [virtual] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 59 of file ViewProviderVRMLObject.cpp.
References Gui::ViewProvider::addDisplayMaskMode(), Gui::SoFCSelection::documentName, App::DocumentObject::getDocument(), App::Document::getName(), App::DocumentObject::getNameInDocument(), Gui::SoFCSelection::objectName, pcVRML, and Gui::SoFCSelection::subElementName.
void * Gui::ViewProviderVRMLObject::create | ( | void | ) | [static] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderVRMLObject.cpp.
Base::Type Gui::ViewProviderVRMLObject::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderVRMLObject.cpp.
std::vector< std::string > ViewProviderVRMLObject::getDisplayModes | ( | void | ) | const [virtual] |
Return a list of all possible modes.
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 75 of file ViewProviderVRMLObject.cpp.
const App::PropertyData & Gui::ViewProviderVRMLObject::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderVRMLObject.cpp.
const App::PropertyData * Gui::ViewProviderVRMLObject::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderVRMLObject.cpp.
Base::Type Gui::ViewProviderVRMLObject::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderVRMLObject.cpp.
void Gui::ViewProviderVRMLObject::init | ( | void | ) | [static] |
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 43 of file ViewProviderVRMLObject.cpp.
Referenced by Gui::Application::initTypes().
void ViewProviderVRMLObject::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 68 of file ViewProviderVRMLObject.cpp.
References Gui::ViewProvider::setDisplayMaskMode().
void ViewProviderVRMLObject::updateData | ( | const App::Property * | ) | [virtual] |
Gets called if some of the property hade bin changed.
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 82 of file ViewProviderVRMLObject.cpp.
References buffer, DrawingExample::file, draftlibs::dxfReader::filename, Gui::ViewProviderDocumentObject::pcObject, pcVRML, and App::VRMLObject::VrmlFile.
SoFCSelection* Gui::ViewProviderVRMLObject::pcVRML [protected] |
Definition at line 51 of file ViewProviderVRMLObject.h.
Referenced by attach(), updateData(), and ~ViewProviderVRMLObject().