StdCmdToggleClipPlane Class Reference

Inheritance diagram for StdCmdToggleClipPlane:
Gui::Command Gui::CommandBase

List of all members.

Public Member Functions

virtual const char * className () const
 The C++ class name is needed as context for the translation framework.
 StdCmdToggleClipPlane ()
virtual ~StdCmdToggleClipPlane ()

Protected Member Functions

virtual void activated (int iMsg)
 Methods which gets called when activated, needs to be reimplemented!
virtual Gui::ActioncreateAction (void)
 Creates the used Action.
virtual bool isActive (void)
 Overite this method if your Cmd is not always active.

Detailed Description

Definition at line 457 of file CommandView.cpp.


Constructor & Destructor Documentation

StdCmdToggleClipPlane::StdCmdToggleClipPlane (  ) 
virtual StdCmdToggleClipPlane::~StdCmdToggleClipPlane (  )  [inline, virtual]

Definition at line 457 of file CommandView.cpp.


Member Function Documentation

void StdCmdToggleClipPlane::activated ( int  iMsg  )  [protected, virtual]

Methods which gets called when activated, needs to be reimplemented!

Implements Gui::Command.

Definition at line 477 of file CommandView.cpp.

References Gui::MainWindow::activeWindow(), Gui::getMainWindow(), Gui::View3DInventor::hasClippingPlane(), and Gui::View3DInventor::toggleClippingPlane().

virtual const char* StdCmdToggleClipPlane::className (  )  const [inline, virtual]

The C++ class name is needed as context for the translation framework.

Implements Gui::CommandBase.

Definition at line 457 of file CommandView.cpp.

Action * StdCmdToggleClipPlane::createAction ( void   )  [protected, virtual]

Creates the used Action.

Reimplemented from Gui::Command.

Definition at line 470 of file CommandView.cpp.

References Gui::Action::setCheckable().

bool StdCmdToggleClipPlane::isActive ( void   )  [protected, virtual]

Overite this method if your Cmd is not always active.

Reimplemented from Gui::Command.

Definition at line 488 of file CommandView.cpp.

References Gui::CommandBase::_pcAction, Gui::MainWindow::activeWindow(), Gui::getMainWindow(), Gui::View3DInventor::hasClippingPlane(), Gui::Action::isChecked(), and Gui::Action::setChecked().


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

Generated on Wed Nov 23 19:01:40 2011 for FreeCAD by  doxygen 1.6.1