BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
BALL::VIEW::RaytraceableContourSurfaceDialog Class Reference

#include <BALL/VIEW/DIALOGS/raytraceableContourSurfaceDialog.h>

Inheritance diagram for BALL::VIEW::RaytraceableContourSurfaceDialog:
QDialog BALL::VIEW::ModularWidget BALL::Embeddable BALL::VIEW::ConnectionObject

Public Slots

void add ()
 
void accept ()
 
void reject ()
 
void changedSliderThreshold (int a)
 
void changedEditThreshold ()
 
void changedRangeMin ()
 
void changedRangeMax ()
 
void changedRangeSteps ()
 

Public Member Functions

 RaytraceableContourSurfaceDialog (RaytraceableGrid *grid, QWidget *parent=0, const char *name="RaytraceableContourSurfaceDialog", bool modal=FALSE, Qt::WFlags fl=0)
 
 ~RaytraceableContourSurfaceDialog ()
 
void setGrid (RaytraceableGrid *grid)
 
RaytraceableGridgetGrid ()
 
- Public Member Functions inherited from BALL::VIEW::ModularWidget
void setWorkingDirFromFilename_ (String filename)
 
virtual void showHelp (const String &url)
 
 ModularWidget (const char *name="<ModularWidget>")
 
 ModularWidget (const ModularWidget &widget)
 
virtual ~ModularWidget ()
 
virtual void destroy ()
 
virtual void clear ()
 
virtual void checkMenu (MainControl &main_control)
 
QAction * insertMenuEntry (Position parent_id, const String &name, const QObject *receiver=0, const char *slot=0, const String &description="", QKeySequence accel=QKeySequence())
 
void setMenuHint (const String &hint)
 
void setMenuHelp (const String &url)
 
virtual void registerForHelpSystem (const QObject *object, const String &url)
 
virtual void addToolBarEntries (QToolBar *main_tb)
 
void setIcon (const String &filename, bool add_to_main_toolbar=true)
 
virtual void initializePreferencesTab (Preferences &preferences)
 
virtual void finalizePreferencesTab (Preferences &preferences)
 
virtual void applyPreferences ()
 
virtual void fetchPreferences (INIFile &inifile)
 
virtual void writePreferences (INIFile &inifile)
 
bool lockComposites ()
 
bool unlockComposites ()
 Unlock the Composites. More...
 
MainControlgetMainControl () const
 
virtual void setStatusbarText (const String &text, bool important=false)
 
virtual void setStatusbarText (const QString &text, bool important=false)
  More...
 
String getWorkingDir ()
 Implemented for convenience. More...
 
void setWorkingDir (const String &dir)
 Implemented for convenience. More...
 
FragmentDBgetFragmentDB () const
 
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
virtual void initializeWidget (MainControl &main_control)
 
virtual void finalizeWidget (MainControl &main_control)
 
virtual bool canHandle (const String &) const
 
virtual bool openFile (const String &)
 
- Public Member Functions inherited from BALL::Embeddable
 Embeddable (const String &identifier="<Embeddable>")
 
 Embeddable (const Embeddable &embeddable)
 
virtual ~Embeddable ()
 
void setIdentifier (const String &identifier)
 
const StringgetIdentifier () const
 
void unregisterThis ()
 
virtual void registerThis ()
 
- Public Member Functions inherited from BALL::VIEW::ConnectionObject
 ConnectionObject ()
 
virtual ~ConnectionObject ()
 
void registerConnectionObject (ConnectionObject &object)
 
void unregisterConnectionObject (ConnectionObject &object)
 
bool isConnectionObjectRegistered (const ConnectionObject &object)
 
ConnectionObjectgetParent () const
 
ConnectionObjectgetRoot ()
 
virtual void onNotify (Message *message)
 
virtual bool isValid () const
 

Protected Slots

void setDefaultRangeValues_ ()
 

Protected Member Functions

void addModel_ (float threshold)
 

Private Member Functions

float getValue_ (const QAbstractSlider *slider) const
 
float getValue_ (const QLineEdit *edit) const throw (Exception::InvalidFormat)
 

Private Attributes

float min_
 
float max_
 
int steps_
 
float current_threshold_
 
RaytraceableGridgrid_
 

Additional Inherited Members

- Public Types inherited from BALL::Embeddable
typedef std::vector< Embeddable * > EmbeddableVector
 
- Static Public Member Functions inherited from BALL::VIEW::ModularWidget
static void registerWidget (ModularWidget *mwidget) throw (Exception::NullPointer)
 
- Static Protected Member Functions inherited from BALL::Embeddable
static void registerInstance_ (const std::type_info &type, const Embeddable *instance)
 
static void unregisterInstance_ (const Embeddable *instance)
 
static Size countInstances_ (const std::type_info &type)
 
static EmbeddablegetInstance_ (const std::type_info &type, Position index)
 
static EmbeddablegetInstance_ (const std::type_info &type, const String &identifier)
 
- Protected Attributes inherited from BALL::VIEW::ModularWidget
QAction * window_menu_entry_
 
bool show_window_enty_
 
bool default_visible_
 
QAction * last_action_
 
QList< QAction * > main_toolbar_actions_
 

Detailed Description

Dialog for selecting contour urface thresholds for the raytracing mode of scene.

ViewDialogs

Definition at line 35 of file raytraceableContourSurfaceDialog.h.

Constructor & Destructor Documentation

BALL::VIEW::RaytraceableContourSurfaceDialog::RaytraceableContourSurfaceDialog ( RaytraceableGrid grid,
QWidget parent = 0,
const char *  name = "RaytraceableContourSurfaceDialog",
bool  modal = FALSE,
Qt::WFlags  fl = 0 
)
BALL::VIEW::RaytraceableContourSurfaceDialog::~RaytraceableContourSurfaceDialog ( )

Member Function Documentation

void BALL::VIEW::RaytraceableContourSurfaceDialog::accept ( )
slot
void BALL::VIEW::RaytraceableContourSurfaceDialog::add ( )
slot
void BALL::VIEW::RaytraceableContourSurfaceDialog::addModel_ ( float  threshold)
protected
void BALL::VIEW::RaytraceableContourSurfaceDialog::changedEditThreshold ( )
slot
void BALL::VIEW::RaytraceableContourSurfaceDialog::changedRangeMax ( )
slot
void BALL::VIEW::RaytraceableContourSurfaceDialog::changedRangeMin ( )
slot
void BALL::VIEW::RaytraceableContourSurfaceDialog::changedRangeSteps ( )
slot
void BALL::VIEW::RaytraceableContourSurfaceDialog::changedSliderThreshold ( int  a)
slot
RaytraceableGrid* BALL::VIEW::RaytraceableContourSurfaceDialog::getGrid ( )
inline

Definition at line 54 of file raytraceableContourSurfaceDialog.h.

float BALL::VIEW::RaytraceableContourSurfaceDialog::getValue_ ( const QAbstractSlider *  slider) const
private
float BALL::VIEW::RaytraceableContourSurfaceDialog::getValue_ ( const QLineEdit edit) const throw (Exception::InvalidFormat)
private
void BALL::VIEW::RaytraceableContourSurfaceDialog::reject ( )
slot
void BALL::VIEW::RaytraceableContourSurfaceDialog::setDefaultRangeValues_ ( )
protectedslot
void BALL::VIEW::RaytraceableContourSurfaceDialog::setGrid ( RaytraceableGrid grid)
inline

Definition at line 53 of file raytraceableContourSurfaceDialog.h.

Member Data Documentation

float BALL::VIEW::RaytraceableContourSurfaceDialog::current_threshold_
private

Definition at line 106 of file raytraceableContourSurfaceDialog.h.

RaytraceableGrid* BALL::VIEW::RaytraceableContourSurfaceDialog::grid_
private

Definition at line 108 of file raytraceableContourSurfaceDialog.h.

float BALL::VIEW::RaytraceableContourSurfaceDialog::max_
private

Definition at line 103 of file raytraceableContourSurfaceDialog.h.

float BALL::VIEW::RaytraceableContourSurfaceDialog::min_
private

Definition at line 102 of file raytraceableContourSurfaceDialog.h.

int BALL::VIEW::RaytraceableContourSurfaceDialog::steps_
private

Definition at line 105 of file raytraceableContourSurfaceDialog.h.