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

#include <BALL/VIEW/DATATYPE/standardDatasets.h>

Inheritance diagram for BALL::VIEW::VectorGridController:
BALL::VIEW::DatasetController QObject BALL::Embeddable

Public Slots

bool visualizeFieldLines ()
 
- Public Slots inherited from BALL::VIEW::DatasetController
virtual bool write ()
 Show a file dialog for writing the selected Dataset. More...
 
bool open ()
 
virtual bool deleteDatasets ()
 Delete all Datasets. More...
 
virtual bool deleteDataset ()
 Delete the currently highlighted Dataset. More...
 

Public Member Functions

 VectorGridController ()
 
 VectorGridController (VectorGridController &dc)
 
virtual ~VectorGridController ()
 
virtual bool write (Dataset *set, String filetype, String filename)
 
virtual Datasetopen (String filetype, String filename)
 
virtual bool createMenuEntries ()
 
virtual QMenu * buildContextMenu (QTreeWidgetItem *item)
 
VectorGridgetData (Dataset *set)
 
- Public Member Functions inherited from BALL::VIEW::DatasetController
 DatasetController ()
 
 DatasetController (DatasetController &dc)
 
virtual ~DatasetController ()
 
void setDatasetControl (DatasetControl *dc)
 
DatasetControlgetDatasetControl ()
 
virtual bool handle (DatasetMessage *msg)
 
virtual bool insertDataset (Dataset *set)
 
virtual bool deleteDataset (Dataset *set)
 
vector< Dataset * > getDatasets ()
 Get all Datasets of this type in the DatasetControl. More...
 
vector< Dataset * > getSelectedDatasets ()
 Get all selected Datasets of this type in the DatasetControl. More...
 
DatasetgetSelectedDataset ()
 
bool hasDataset (Dataset *set)
 
bool hasItem (QTreeWidgetItem *item)
 Test if a given QTreeWidgetItem corresponds to a registered Dataset. More...
 
DatasetgetDataset (QTreeWidgetItem *item)
 Get the Dataset for a QTreeWidgetItem. More...
 
String getType ()
 
virtual void checkMenu (MainControl &mc)
 
vector< StringgetSupportedFileFormats ()
 
- Public Member Functions inherited from BALL::Embeddable
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
 Embeddable (const String &identifier="<Embeddable>")
 
 Embeddable (const Embeddable &embeddable)
 
virtual ~Embeddable ()
 
void setIdentifier (const String &identifier)
 
const StringgetIdentifier () const
 
void unregisterThis ()
 
virtual void registerThis ()
 

Static Public Attributes

static String type
 

Protected Member Functions

void deleteDataset_ (Dataset *set)
 
- Protected Member Functions inherited from BALL::VIEW::DatasetController
void setStatusbarText (const String &text, bool important=false)
 
void setStatusbarText (const QString &text, bool important=false)
 
String getFileTypes_ ()
 
String getNameFromFileName_ (String filename)
 
QAction * insertMenuEntry_ (Position pid, const String &name, const char *slot, const String &description="", QKeySequence accel=QKeySequence())
 

Protected Attributes

FieldLinesDialogdialog_
 
- Protected Attributes inherited from BALL::VIEW::DatasetController
String type_
 
vector< Stringfile_formats_
 
DatasetControlcontrol_
 
vector< QAction * > actions_
 
HashSet< QAction * > actions_for_one_set_
 
HashMap< QTreeWidgetItem
*, Dataset * > 
item_to_dataset_
 
HashMap< Dataset
*, QTreeWidgetItem * > 
dataset_to_item_
 

Additional Inherited Members

- Public Types inherited from BALL::Embeddable
typedef std::vector< Embeddable * > EmbeddableVector
 
- 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)
 

Detailed Description

Controller class for VectorGrid

Definition at line 257 of file standardDatasets.h.

Constructor & Destructor Documentation

BALL::VIEW::VectorGridController::VectorGridController ( )
BALL::VIEW::VectorGridController::VectorGridController ( VectorGridController dc)
virtual BALL::VIEW::VectorGridController::~VectorGridController ( )
virtual

Member Function Documentation

virtual QMenu* BALL::VIEW::VectorGridController::buildContextMenu ( QTreeWidgetItem item)
virtual

Create a context menu for this data type. Initial support for deleting and saving entries is included. Overload this method for providing further entries.

Reimplemented from BALL::VIEW::DatasetController.

virtual bool BALL::VIEW::VectorGridController::createMenuEntries ( )
virtual

Create menu entries for this data type. Initial support for open file menu entry is included. Overload this method for providing further entries.

Reimplemented from BALL::VIEW::DatasetController.

void BALL::VIEW::VectorGridController::deleteDataset_ ( Dataset )
protectedvirtual

In the derived class: cast to concrete type and delete the data!

Reimplemented from BALL::VIEW::DatasetController.

VectorGrid* BALL::VIEW::VectorGridController::getData ( Dataset set)
virtual Dataset* BALL::VIEW::VectorGridController::open ( String  filetype,
String  filename 
)
virtual

Reimplemented from BALL::VIEW::DatasetController.

bool BALL::VIEW::VectorGridController::visualizeFieldLines ( )
slot
virtual bool BALL::VIEW::VectorGridController::write ( Dataset set,
String  filetype,
String  filename 
)
virtual

Reimplemented from BALL::VIEW::DatasetController.

Member Data Documentation

FieldLinesDialog* BALL::VIEW::VectorGridController::dialog_
protected

Definition at line 301 of file standardDatasets.h.

String BALL::VIEW::VectorGridController::type
static

Definition at line 290 of file standardDatasets.h.