RobotGui::ViewProviderTrajectory Class Reference

#include <ViewProviderTrajectory.h>

Inheritance diagram for RobotGui::ViewProviderTrajectory:
Gui::ViewProviderGeometryObject Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass RobotGui::ViewProviderEdge2TracObject RobotGui::ViewProviderTrajectoryCompound RobotGui::ViewProviderTrajectoryDressUp

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.
 ViewProviderTrajectory ()
 constructor.
 ~ViewProviderTrajectory ()
 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
SoDrawStyle * pcDrawStyle
SoLineSet * pcLines
Gui::SoFCSelectionpcTrajectoryRoot

Detailed Description

Definition at line 40 of file ViewProviderTrajectory.h.


Constructor & Destructor Documentation

ViewProviderTrajectory::ViewProviderTrajectory (  ) 

constructor.

Definition at line 62 of file ViewProviderTrajectory.cpp.

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

ViewProviderTrajectory::~ViewProviderTrajectory (  ) 

destructor.

Definition at line 84 of file ViewProviderTrajectory.cpp.

References pcCoords, pcDrawStyle, pcLines, and pcTrajectoryRoot.


Member Function Documentation

void ViewProviderTrajectory::attach ( App::DocumentObject pcObject  )  [virtual]
void * RobotGui::ViewProviderTrajectory::create ( void   )  [static]
Base::Type RobotGui::ViewProviderTrajectory::getClassTypeId ( void   )  [static]
std::vector< std::string > ViewProviderTrajectory::getDisplayModes ( void   )  const [virtual]

Return a list of all possible modes.

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 129 of file ViewProviderTrajectory.cpp.

const App::PropertyData & RobotGui::ViewProviderTrajectory::getPropertyData ( void   )  const [protected, virtual]
const App::PropertyData * RobotGui::ViewProviderTrajectory::getPropertyDataPtr ( void   )  [static, protected]
Base::Type RobotGui::ViewProviderTrajectory::getTypeId ( void   )  const [virtual]
void RobotGui::ViewProviderTrajectory::init ( void   )  [static]
void ViewProviderTrajectory::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 122 of file ViewProviderTrajectory.cpp.

References Gui::ViewProvider::setDisplayMaskMode().

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

Member Data Documentation

SoCoordinate3* RobotGui::ViewProviderTrajectory::pcCoords [protected]

Definition at line 59 of file ViewProviderTrajectory.h.

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

Definition at line 60 of file ViewProviderTrajectory.h.

Referenced by ~ViewProviderTrajectory().

Definition at line 61 of file ViewProviderTrajectory.h.

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

Definition at line 58 of file ViewProviderTrajectory.h.

Referenced by attach(), and ~ViewProviderTrajectory().


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

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