Gui::ViewProviderVRMLObject Class Reference

#include <ViewProviderVRMLObject.h>

Inheritance diagram for Gui::ViewProviderVRMLObject:
Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

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::PropertyDatagetPropertyData (void) const

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Protected Attributes

SoFCSelectionpcVRML

Detailed Description

Definition at line 34 of file ViewProviderVRMLObject.h.


Constructor & Destructor Documentation

ViewProviderVRMLObject::ViewProviderVRMLObject (  ) 

constructor.

Definition at line 45 of file ViewProviderVRMLObject.cpp.

References Gui::SoFCSelection::OFF, and Gui::SoFCSelection::SEL_OFF.

ViewProviderVRMLObject::~ViewProviderVRMLObject (  ) 

destructor.

Definition at line 54 of file ViewProviderVRMLObject.cpp.

References pcVRML.


Member Function Documentation

void ViewProviderVRMLObject::attach ( App::DocumentObject pcObject  )  [virtual]
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.


Member Data Documentation

Definition at line 51 of file ViewProviderVRMLObject.h.

Referenced by attach(), updateData(), and ~ViewProviderVRMLObject().


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

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