ImageGui::ViewProviderImagePlane Class Reference

#include <ViewProviderImagePlane.h>

Inheritance diagram for ImageGui::ViewProviderImagePlane:
Gui::ViewProviderGeometryObject Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

void attach (App::DocumentObject *pcObject)
 Attaches the document object to this view provider.
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.
 ViewProviderImagePlane ()
 constructor.
 ~ViewProviderImagePlane ()
 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

SoCoordinate3 * pcCoords
SoTexture2 * texture

Detailed Description

Definition at line 38 of file ViewProviderImagePlane.h.


Constructor & Destructor Documentation

ViewProviderImagePlane::ViewProviderImagePlane (  ) 

constructor.

Definition at line 59 of file ViewProviderImagePlane.cpp.

References texture().

ViewProviderImagePlane::~ViewProviderImagePlane (  ) 

destructor.

Definition at line 68 of file ViewProviderImagePlane.cpp.

References pcCoords, and texture.


Member Function Documentation

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

Attaches the document object to this view provider.

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 74 of file ViewProviderImagePlane.cpp.

References Gui::ViewProvider::addDisplayMaskMode(), pcCoords, and texture.

void * ImageGui::ViewProviderImagePlane::create ( void   )  [static]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 57 of file ViewProviderImagePlane.cpp.

Base::Type ImageGui::ViewProviderImagePlane::getClassTypeId ( void   )  [static]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 57 of file ViewProviderImagePlane.cpp.

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

Return a list of all possible modes.

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 114 of file ViewProviderImagePlane.cpp.

const App::PropertyData & ImageGui::ViewProviderImagePlane::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 57 of file ViewProviderImagePlane.cpp.

const App::PropertyData * ImageGui::ViewProviderImagePlane::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 57 of file ViewProviderImagePlane.cpp.

Base::Type ImageGui::ViewProviderImagePlane::getTypeId ( void   )  const [virtual]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 57 of file ViewProviderImagePlane.cpp.

void ImageGui::ViewProviderImagePlane::init ( void   )  [static]

Reimplemented from Gui::ViewProviderGeometryObject.

Definition at line 57 of file ViewProviderImagePlane.cpp.

Referenced by initImageGui().

void ViewProviderImagePlane::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 107 of file ViewProviderImagePlane.cpp.

References Gui::ViewProvider::setDisplayMaskMode().

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

Member Data Documentation

SoCoordinate3* ImageGui::ViewProviderImagePlane::pcCoords [protected]

Definition at line 58 of file ViewProviderImagePlane.h.

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

Definition at line 59 of file ViewProviderImagePlane.h.

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


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

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