PbLinearDataMapping Class |
Class to define linear data mapping.
Namespace: OIV.MeshViz.Graph
The PbLinearDataMapping type exposes the following members.
Name | Description | |
---|---|---|
![]() | PbLinearDataMapping | Default constructor. |
Name | Description | |
---|---|---|
![]() | CopyFrom(PbBase) | Assignment operator. |
![]() | CopyFrom(PbDataMapping) | Assignment operator. |
![]() | CopyFrom(PbLinearDataMapping) | Assignment operator. |
![]() | EnableConnection | Activates/deactivates the mechanism of connection. |
![]() | EnableThresholds | Enable/Disable the taking into account of threshold values. |
![]() | EnableTransparency | Enable/Disable the taking into account of transparency. |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetHLSColor(Single) | Gets HLS color associated with a value. |
![]() | GetHLSColor(Single, Single) | Gets the HLS color and the transparency associated to a value. |
![]() | GetMaxHLSThreshold(Single) | Gets the maximum threshold and its associated HLS color. |
![]() | GetMaxHLSThreshold(Single, Single) | Gets the maximum threshold, its associated HLS color and transparency. |
![]() | GetMaxRGBThreshold(Single) | Gets the maximum threshold and its associated RGB color. |
![]() | GetMaxRGBThreshold(Single, Single) | Gets the maximum threshold, its associated RGB color and transparency. |
![]() | GetMinHLSThreshold(Single) | Gets the minimum threshold and its associated HLS color. |
![]() | GetMinHLSThreshold(Single, Single) | Gets the minimum threshold, its associated HLS color and transparency. |
![]() | GetMinRGBThreshold(Single) | Gets the minimum threshold and its associated RGB color. |
![]() | GetMinRGBThreshold(Single, Single) | Gets the minimum threshold, its associated RGB color and transparency. |
![]() | GetRGBColor(Single) | Gets RGB color associated to a value. |
![]() | GetRGBColor(Single, Single) | Gets the RGB color and the transparency associated with a value. |
![]() | GetTransparencyValueDeletedParts | Gets a value that defines the following property : each primitive part of which transparency >= value, is deleted. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValues(Single, SbColor, Single, SbColor) | Gets the current values v1,v2 and the associated RGB colors c1, c2. |
![]() | GetValues(Single, Single, Single, Single) | Gets the current values v1,v2 and the associated HLS colors c1, c2. |
![]() | GetValues(Single, SbColor, Single, Single, SbColor, Single) | Gets the current values v1,v2, the associated transparecny t1,t2, and the associated RGB colors c1, c2. |
![]() | GetValues(Single, Single, Single, Single, Single, Single) | Gets the current values v1,v2, the associated transparecny t1,t2, and the associated HLS colors c1, c2. |
![]() | IsConnectionEnabled | Returns true if the connection mechanism is active, otherwise false. |
![]() | IsTransparencyEnabled | Returns true if transparency is enabled, otherwise false. |
![]() | SetMaxThreshold(Single) | Sets a maximum threshold. |
![]() | SetMaxThreshold(Single, SbColor) | Calls SetMaxThreshold(threshold_max, cmax, 0.0). (Inherited from PbDataMapping.) |
![]() | SetMaxThreshold(Single, Single) | Calls SetMaxThreshold(threshold_max, cmax, 0.0). (Inherited from PbDataMapping.) |
![]() | SetMaxThreshold(Single, SbColor, Single) | Sets a maximum threshold, associated to a RGB color and a transparency value. |
![]() | SetMaxThreshold(Single, Single, Single) | Sets a maximum threshold, associated to a HLS color and a transparency value. |
![]() | SetMinThreshold(Single) | Sets a minimum threshold. |
![]() | SetMinThreshold(Single, SbColor) | Calls SetMinThreshold(threshold_min, cmin, 0.0). (Inherited from PbDataMapping.) |
![]() | SetMinThreshold(Single, Single) | Calls SetMinThreshold(threshold_min, cmin, 0.0). (Inherited from PbDataMapping.) |
![]() | SetMinThreshold(Single, SbColor, Single) | Sets a minimum threshold, associated to a RGB color and a transparency value. |
![]() | SetMinThreshold(Single, Single, Single) | Sets a minimum threshold, associated to a HLS color and a transparency value. |
![]() | SetTransparencyValueDeletedParts | Sets a value that defines the following property : each primitive part of which transparency >= value, is deleted. |
![]() | SetValues(Single, SbColor, Single, SbColor) | Sets values v1,v2 and the associated RGB colors c1, c2. |
![]() | SetValues(Single, Single, Single, Single) | Sets values v1,v2 and the associated HLS colors c1, c2. |
![]() | SetValues(Single, SbColor, Single, Single, SbColor, Single) | Sets values v1,v2, the associated transparecny t1,t2, and the associated RGB colors c1, c2. |
![]() | SetValues(Single, Single, Single, Single, Single, Single) | Sets values v1,v2, the associated transparecny t1,t2, and the associated HLS colors c1, c2. |
![]() | ThresholdsEnabled | Returns min=true if the minimum threshold is enabled, otherwise false. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Touch | Simulates the changing of an instance of this object, so all connected objects are informed of this change. |
This class is used to define linear data mapping. This object defines a linear association between colors, transparencies and floating-point values. In other words, this association is defined by 2 functions F(c,v) and F(c,t):
F(c,v)(V) = C (with c being a color and v being a value). F(t,v)(V) = T (with t being a transparency and v being a value).F(c,v) and F(t,v) are linear, so only two values (v1 and v2), two associated transparencies(t1,t2) and two associated colors (c1 and c2) define these functions. For a given value vi, its color ci is determined by linear interpolation between (v1,c1) and (v2,c2). Idem for the transparencies. By default v1=0, v2=0, c1=(0,0,0) (black), c2=(1,1,1) (white), t1=t2=0.0 (opaque).