VISH  0.2
Classes | Public Types | Public Member Functions | Public Attributes
Wizt::VCreationPreferences Class Reference

A certain object (especcially input types) might have multiple implementations by the GUI or alternative input mechanism. More...

#include </home/werner/origo/vish/ocean/plankton/VCreationPreferences.hpp>

List of all members.

Classes

Public Types

Public Member Functions

Public Attributes


Detailed Description

A certain object (especcially input types) might have multiple implementations by the GUI or alternative input mechanism.

An object may request one specific implementation in preference to others. As not all interface imlementations might provide the same variety of input objects, the preference for such a specific implementation is specified through an abstraction layer casted into this VCreationPreferences class.

A list of desired properties which are requested from an input parameter. Each property is specified via a textual description and is assigned an weight which indicates the importance of this property.

Examples:

ClippingPlane.cpp, DynamicBackground.cpp, and MouseBackground.cpp.


Member Function Documentation

double Wizt::VCreationPreferences::weight ( const VCreationPreferences P) const

Compute the correlation of the current creation preference with another one.

The returned value is the sum of the product of all desired weights with all found weights. Properties which are not available in both preference list are ignored and thus do not contribute.


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