#include <ViewProviderExtern.h>
Public Member Functions | |
void | adjustDocumentName (const char *docname) |
virtual const char * | getDefaultDisplayMode () const |
get the default display mode | |
virtual std::vector< std::string > | getDisplayModes (void) const |
returns a list of all possible display modes | |
virtual Base::Type | getTypeId (void) const |
void | setModeByFile (const char *name, const char *ivFileName) |
void | setModeBySoInput (const char *name, SoInput &ivFileInput) |
void | setModeByString (const char *name, const char *ivFragment) |
virtual void | updateData (const App::Property *) |
ViewProviderExtern () | |
constructor. | |
virtual | ~ViewProviderExtern () |
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 | |
std::vector< std::string > | modes |
Definition at line 36 of file ViewProviderExtern.h.
ViewProviderExtern::ViewProviderExtern | ( | ) |
constructor.
Definition at line 51 of file ViewProviderExtern.cpp.
ViewProviderExtern::~ViewProviderExtern | ( | ) | [virtual] |
destructor.
Definition at line 56 of file ViewProviderExtern.cpp.
void ViewProviderExtern::adjustDocumentName | ( | const char * | docname | ) |
Definition at line 122 of file ViewProviderExtern.cpp.
References Gui::ViewProvider::pcModeSwitch.
Referenced by Gui::DocumentPy::addAnnotation().
void * Gui::ViewProviderExtern::create | ( | void | ) | [static] |
Reimplemented from Gui::ViewProvider.
Definition at line 48 of file ViewProviderExtern.cpp.
Base::Type Gui::ViewProviderExtern::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::ViewProvider.
Definition at line 48 of file ViewProviderExtern.cpp.
const char * ViewProviderExtern::getDefaultDisplayMode | ( | ) | const [virtual] |
get the default display mode
Implements Gui::ViewProvider.
Definition at line 144 of file ViewProviderExtern.cpp.
References modes.
std::vector< std::string > ViewProviderExtern::getDisplayModes | ( | void | ) | const [virtual] |
returns a list of all possible display modes
Implements Gui::ViewProvider.
Definition at line 150 of file ViewProviderExtern.cpp.
References modes.
const App::PropertyData & Gui::ViewProviderExtern::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Gui::ViewProvider.
Definition at line 48 of file ViewProviderExtern.cpp.
const App::PropertyData * Gui::ViewProviderExtern::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Gui::ViewProvider.
Definition at line 48 of file ViewProviderExtern.cpp.
Base::Type Gui::ViewProviderExtern::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::ViewProvider.
Definition at line 48 of file ViewProviderExtern.cpp.
void Gui::ViewProviderExtern::init | ( | void | ) | [static] |
Reimplemented from Gui::ViewProvider.
Definition at line 48 of file ViewProviderExtern.cpp.
Referenced by Gui::Application::initTypes().
void ViewProviderExtern::setModeByFile | ( | const char * | name, | |
const char * | ivFileName | |||
) |
Definition at line 68 of file ViewProviderExtern.cpp.
References Sketcher::end, DrawingExample::file, and setModeBySoInput().
Referenced by Gui::DocumentPy::addAnnotation().
void ViewProviderExtern::setModeBySoInput | ( | const char * | name, | |
SoInput & | ivFileInput | |||
) |
Definition at line 96 of file ViewProviderExtern.cpp.
References Gui::ViewProvider::addDisplayMaskMode(), modes, RobotExample::pos, and Gui::ViewProvider::setDisplayMaskMode().
Referenced by setModeByFile(), and setModeByString().
void ViewProviderExtern::setModeByString | ( | const char * | name, | |
const char * | ivFragment | |||
) |
Definition at line 61 of file ViewProviderExtern.cpp.
References setModeBySoInput().
Referenced by Gui::MainWindow::customEvent(), and Gui::View3DInventorPy::setAnnotation().
virtual void Gui::ViewProviderExtern::updateData | ( | const App::Property * | ) | [inline, virtual] |
Implements Gui::ViewProvider.
Definition at line 54 of file ViewProviderExtern.h.
std::vector<std::string> Gui::ViewProviderExtern::modes [protected] |
Definition at line 60 of file ViewProviderExtern.h.
Referenced by getDefaultDisplayMode(), getDisplayModes(), and setModeBySoInput().