BALL::VIEW::ModifyRepresentationDialog Class Reference
[QT Dialogs]

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

Inheritance diagram for BALL::VIEW::ModifyRepresentationDialog:
Inheritance graph
[legend]

List of all members.

Public Slots

void accept ()
void tabChanged ()
void autoScale ()
void choosePressed ()
void gridSelected ()
void show ()
void applySplit ()

Public Member Functions

 ModifyRepresentationDialog (QWidget *parent=0, const char *name="ModifyRepresentationDialog", bool modal=FALSE, Qt::WFlags fl=0)
 ~ModifyRepresentationDialog ()
virtual void onNotify (Message *message)
void setRepresentation (Representation *rep)
void setGrid (RegularData3D *grid)
void setMinValue (float value)
void setMaxValue (float value)
void setMidValue (float value)
void setSplitRadius (float distance)
void setMode (Position pos)

Protected Types

typedef HashGrid3< const Atom * > AtomGrid
typedef HashGridBox3< const
Atom * > 
AtomBox

Protected Slots

void customColorTransparencyChanged ()
void changeDrawingModeTransparencyChanged ()
void splitMethodChanged ()

Protected Member Functions

 ModifyRepresentationDialog (const ModifyRepresentationDialog &dialog)
void colorByCustomColor_ ()
bool colorByGrid_ ()
bool insertGrid_ (RegularData3D &grid, const String &name)
void removeGrid_ (RegularData3D &grid)
void invalidateGrid_ ()
void invalidateMesh_ ()
void changeDrawingMode_ ()
void checkApplyButton_ ()
void calculateIncludedVertices_ (vector< bool > &include_vertex, const Mesh &org_mesh, HashSet< const Composite * > &roots)
bool checkInclude_ (const AtomGrid &atom_grid, const Vector3 &point) const

Protected Attributes

RegularData3Dgrid_
float square_distance_
ColorRGBA selected_color
ColorRGBA min_min_color
ColorRGBA min_color
ColorRGBA mid_color
ColorRGBA max_color
ColorRGBA max_max_color
Representationrep_
std::list< RegularData3D * > grid_list_
vector< Vector3vertices_
MaterialSettingsmaterial_settings_

Detailed Description

Dialog for coloring of surfaces The surfaces can be colored by a given color, or from the values, contained in a RegularData3D grid. You can also set the transparency of the surface.

Definition at line 51 of file modifyRepresentationDialog.h.


Member Typedef Documentation

Definition at line 114 of file modifyRepresentationDialog.h.

Definition at line 113 of file modifyRepresentationDialog.h.


Constructor & Destructor Documentation

BALL::VIEW::ModifyRepresentationDialog::ModifyRepresentationDialog ( QWidget parent = 0,
const char *  name = "ModifyRepresentationDialog",
bool  modal = FALSE,
Qt::WFlags  fl = 0 
)
BALL::VIEW::ModifyRepresentationDialog::~ModifyRepresentationDialog (  ) 
BALL::VIEW::ModifyRepresentationDialog::ModifyRepresentationDialog ( const ModifyRepresentationDialog dialog  )  [protected]

Member Function Documentation

void BALL::VIEW::ModifyRepresentationDialog::accept (  )  [slot]
void BALL::VIEW::ModifyRepresentationDialog::applySplit (  )  [slot]
void BALL::VIEW::ModifyRepresentationDialog::autoScale (  )  [slot]
void BALL::VIEW::ModifyRepresentationDialog::calculateIncludedVertices_ ( vector< bool > &  include_vertex,
const Mesh org_mesh,
HashSet< const Composite * > &  roots 
) [protected]
void BALL::VIEW::ModifyRepresentationDialog::changeDrawingMode_ (  )  [protected]
void BALL::VIEW::ModifyRepresentationDialog::changeDrawingModeTransparencyChanged (  )  [protected, slot]
void BALL::VIEW::ModifyRepresentationDialog::checkApplyButton_ (  )  [protected]
bool BALL::VIEW::ModifyRepresentationDialog::checkInclude_ ( const AtomGrid atom_grid,
const Vector3 point 
) const [inline, protected]
void BALL::VIEW::ModifyRepresentationDialog::choosePressed (  )  [slot]
void BALL::VIEW::ModifyRepresentationDialog::colorByCustomColor_ (  )  [protected]
bool BALL::VIEW::ModifyRepresentationDialog::colorByGrid_ (  )  [protected]
void BALL::VIEW::ModifyRepresentationDialog::customColorTransparencyChanged (  )  [protected, slot]
void BALL::VIEW::ModifyRepresentationDialog::gridSelected (  )  [slot]
bool BALL::VIEW::ModifyRepresentationDialog::insertGrid_ ( RegularData3D grid,
const String name 
) [protected]
void BALL::VIEW::ModifyRepresentationDialog::invalidateGrid_ (  )  [protected]
void BALL::VIEW::ModifyRepresentationDialog::invalidateMesh_ (  )  [protected]
virtual void BALL::VIEW::ModifyRepresentationDialog::onNotify ( Message message  )  [virtual]

Message handling method. This method handles messages sent to this connectionObject. If a certain message should be processed for this connectionObject this method must be overridden. With the help of the RTTI methods one can easily determine if an incoming message is relevant for this connectionObject. See Message for further information concerning messages.

Parameters:
message a pointer to a message. Do not delete the message in this method.

Reimplemented from BALL::VIEW::ConnectionObject.

void BALL::VIEW::ModifyRepresentationDialog::removeGrid_ ( RegularData3D grid  )  [protected]
void BALL::VIEW::ModifyRepresentationDialog::setGrid ( RegularData3D grid  ) 
void BALL::VIEW::ModifyRepresentationDialog::setMaxValue ( float  value  ) 
void BALL::VIEW::ModifyRepresentationDialog::setMidValue ( float  value  ) 
void BALL::VIEW::ModifyRepresentationDialog::setMinValue ( float  value  ) 
void BALL::VIEW::ModifyRepresentationDialog::setMode ( Position  pos  ) 
void BALL::VIEW::ModifyRepresentationDialog::setRepresentation ( Representation rep  ) 
void BALL::VIEW::ModifyRepresentationDialog::setSplitRadius ( float  distance  ) 
void BALL::VIEW::ModifyRepresentationDialog::show (  )  [slot]
void BALL::VIEW::ModifyRepresentationDialog::splitMethodChanged (  )  [protected, slot]
void BALL::VIEW::ModifyRepresentationDialog::tabChanged (  )  [slot]

Member Data Documentation

Definition at line 127 of file modifyRepresentationDialog.h.

Definition at line 133 of file modifyRepresentationDialog.h.

Definition at line 135 of file modifyRepresentationDialog.h.

Definition at line 130 of file modifyRepresentationDialog.h.

Definition at line 130 of file modifyRepresentationDialog.h.

Definition at line 130 of file modifyRepresentationDialog.h.

Definition at line 130 of file modifyRepresentationDialog.h.

Definition at line 130 of file modifyRepresentationDialog.h.

Definition at line 132 of file modifyRepresentationDialog.h.

Definition at line 130 of file modifyRepresentationDialog.h.

Definition at line 128 of file modifyRepresentationDialog.h.

Definition at line 134 of file modifyRepresentationDialog.h.

Generated by  doxygen 1.6.3