| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

IVisualizationSvc Class Reference

this interface defines a Visualization service that is able to answer many question concerning the visualization of the detector. More...

#include <VisDesc/IVisualizationSvc.h>

Inheritance diagram for IVisualizationSvc:

[legend]
Collaboration diagram for IVisualizationSvc:
[legend]
List of all members.

Public Types

 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR
enum  Status

Public Member Functions

virtual const VisAttribute visAttribute (const Material *mat) const =0
 This method returns the visualization attribute associated to a given material or 0 if there is no attribute associated to it.
virtual const VisAttribute visAttribute (const ILVolume *vol) const =0
 This method returns the visualization attribute associated to a given logical volume or 0 if there is no attribute associated to it.
virtual void reload ()=0
 this method erases the current set of attributes and loads a new set
virtual StatusCode queryInterface (const InterfaceID &riid, void **ppvInterface)=0
virtual unsigned long addRef ()=0
virtual unsigned long release ()=0

Static Public Member Functions

static const InterfaceIDinterfaceID ()
 Retrieve interface ID.

Public Attributes

 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR

Detailed Description

this interface defines a Visualization service that is able to answer many question concerning the visualization of the detector.

It is able to associate visualization attributes to materials and logical volumes. These describe the way these materials and volumes should be displayed

Author:
Sebastien Ponce

Definition at line 30 of file IVisualizationSvc.h.


Member Function Documentation

static const InterfaceID& IVisualizationSvc::interfaceID (  )  [inline, static]

Retrieve interface ID.

Reimplemented from IInterface.

Definition at line 35 of file IVisualizationSvc.h.

00035 { return IID_IVisualizationSvc; }

virtual const VisAttribute IVisualizationSvc::visAttribute ( const Material mat  )  const [pure virtual]

This method returns the visualization attribute associated to a given material or 0 if there is no attribute associated to it.

Parameters:
mat the material
Returns:
the visualization attribute that should be used to display this material

Implemented in VisualizationSvc.

virtual const VisAttribute IVisualizationSvc::visAttribute ( const ILVolume vol  )  const [pure virtual]

This method returns the visualization attribute associated to a given logical volume or 0 if there is no attribute associated to it.

Parameters:
vol the logical volume
Returns:
the visualization attribute that should be used to display this logical volume

Implemented in VisualizationSvc.

virtual void IVisualizationSvc::reload (  )  [pure virtual]

this method erases the current set of attributes and loads a new set

Implemented in VisualizationSvc.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:00:46 2011 for VisSvc by doxygen 1.4.7