choose the necessary *.txt, *.tab or *.csv file containing tables and
click \b Open button.
-Checkbox "Use first string as title" is checked if it is needed to use
-information from first string of file as titles of columns of table.
+If the checkbox "Use first string as title" is on, the
+information from the first string of the file is used as titles of
+table columns.
</li>
contain your exported table, and click \b OK button. Your table will
be exported.
-You can perform export table to *.txt or *.tab file
+You can export table to *.txt or *.tab file
\image html exporttables1.png
-Or you can perform export table to *.csv file
+Or you can export table to *.csv file
\image html exporttables2.png
- Standard point markers
The Post-Pro module provides a set of predefined point marker shapes
-which can be used to display points in 3D viewer.
+which can be used to display points in the 3D viewer.
Each standard point marker has two attributes: type (defines shape
form) and scale factor (defines shape size).
It is also possible to load a point marker shape from an external file.
This file should provide a description of the point texture as a set
-of lines; each line is represented as sequence of "0" and "1" symbols,
+of lines; each line is represented as a sequence of "0" and "1" symbols,
where "1" symbol means an opaque pixel and "0" symbol means a
-transparent pixel. The width of the texture correspond to the length
+transparent pixel. The width of the texture corresponds to the length
of the longest line in the file, expanded to the nearest byte-aligned
value. The height of the texture is equal to the number of non-empty
lines in the file. Note that missing symbols are replaced by "0".
\image html viewtable.png
-When the <b>Enable editing</b> option is checked, contents of the table
-are editable.
-\note At the current moment this mode allows to sort table data only.
-Sorting is performed by clicking on header of the column, by which the data
-has to be sorted.
+When the <b>Enable editing</b> option is checked, the table contents are editable.
+\note At the current moment this mode only allows to sort table data.
+The sorting is performed by clicking on the header of the column, by which the data
+is sorted.
<b>Sort policy</b> option allows to specify how the empty cells will be processed
during the sort procedure. The following options are available:
<li><b>Empty cells are considered as highest values</b></li>
<li><b>Empty cells are always first</b></li>
<li><b>Empty cells are always last</b></li>
-<li><b>Empty cells are ignored</b> (means that positions of the empty cells
-will not change after sorting)</li>
+<li><b>Empty cells are ignored</b> (this means that the positions of empty cells
+will not change after the sorting)</li>
</ul>
-<b>Adjust Cells</b> button allows to adjust size of the table cells according
+<b>Adjust Cells</b> button allows to adjust the size of table cells according
to their contents.
It is also possible to create
vtkFloatingPointType* aScalarRange = GetScalarRange();
vtkFloatingPointType aDeltaScalarRange = aScalarRange[1] - aScalarRange[0];
+ // to avoid FPE if the minimum is equal to maximum
+ if( aDeltaScalarRange < 1.0 / VTK_LARGE_FLOAT )
+ return aMinSize;
+
return aMinSize + aDelta*(aVal - aScalarRange[0]) / aDeltaScalarRange;
}
<message><source>MODE</source><translation>Mode:</translation></message>
<message><source>LINEAR</source><translation>Linear</translation></message>
- <message><source>COSINUSOIDAL</source><translation>1 - cos( t ) / 2</translation></message>
+ <message><source>COSINUSOIDAL</source><translation>( 1 - cos( t ) ) / 2</translation></message>
<message><source>SINUSOIDAL</source><translation>sin( t - Pi / 2 )</translation></message>
<message><source>NUMBER_OF_STEPS</source><translation>Number Steps:</translation></message>
<translation>Shrink Factor:</translation>
</message>
</context>
+ <context>
+ <name>VisuGUI_PrimitiveBox</name>
+ <message>
+ <source>ALPHA_TEXTURE</source>
+ <translation>Alpha Channel Texture (16x16) : </translation>
+ </message>
+ <message>
+ <source>ALPHA_THRESHOLD</source>
+ <translation>Alpha Channel Threshold : </translation>
+ </message>
+ <message>
+ <source>CLAMP</source>
+ <translation>Maximum Size (Clamp) : </translation>
+ </message>
+ <message>
+ <source>FACE_LIMIT</source>
+ <translation>Notify when number of faces exceeds : </translation>
+ </message>
+ <message>
+ <source>FACE_NUMBER</source>
+ <translation>Number of faces : </translation>
+ </message>
+ <message>
+ <source>GEOMETRICAL_SPHERE</source>
+ <translation>Geometrical Sphere</translation>
+ </message>
+ <message>
+ <source>MAIN_TEXTURE</source>
+ <translation>Main Texture (16x16) : </translation>
+ </message>
+ <message>
+ <source>OPENGL_POINT</source>
+ <translation>OpenGL Point</translation>
+ </message>
+ <message>
+ <source>POINT_SPRITE</source>
+ <translation>Point Sprite</translation>
+ </message>
+ <message>
+ <source>PRIMITIVE_TITLE</source>
+ <translation>Primitive</translation>
+ </message>
+ <message>
+ <source>RESOLUTION</source>
+ <translation>Resolution : </translation>
+ </message>
+ </context>
+ <context>
+ <name>VisuGUI_SizeBox</name>
+ <message>
+ <source>COLOR</source>
+ <translation>Color : </translation>
+ </message>
+ <message>
+ <source>COLOR_TITLE</source>
+ <translation>Color</translation>
+ </message>
+ <message>
+ <source>GEOM_SIZE</source>
+ <translation>Size of points (%) : </translation>
+ </message>
+ <message>
+ <source>INCREMENT</source>
+ <translation>+/- Ratio : </translation>
+ </message>
+ <message>
+ <source>MAGNIFICATION</source>
+ <translation>Magnification (%) : </translation>
+ </message>
+ <message>
+ <source>MAX_SIZE</source>
+ <translation>max size (%) : </translation>
+ </message>
+ <message>
+ <source>MIN_SIZE</source>
+ <translation>Range values for min size (%) : </translation>
+ </message>
+ <message>
+ <source>OUTSIDE_SIZE</source>
+ <translation>Percentage of normal size(%) : </translation>
+ </message>
+ <message>
+ <source>SIZE_TITLE</source>
+ <translation>Size</translation>
+ </message>
+ <message>
+ <source>UNIFORM_COLOR</source>
+ <translation>Uniform Color</translation>
+ </message>
+ </context>
<context>
<name>VISU_TableDlg</name>
<message>
if( VISU::Prs3d_i* aPrs = aPrsList[i] )
{
VTKViewer_MarkerDlg* aDlg = new VTKViewer_MarkerDlg( GetDesktop( this ) );
+ aDlg->setHelpData( "VISU", "point_marker_page.html" );
aDlg->setCustomMarkerMap( aMarkerMap[ aStudyId ] );
// Set property for precision value for spinboxes
for ( ii = 0; ii < nbQuantities; ii++ ){
- setPreferenceProperty( precs[ii], "min", ii == 2 ? 0 : -10 );
- setPreferenceProperty( precs[ii], "max", ii == 2 ? 3 : 10 );
+ setPreferenceProperty( precs[ii], "min", ii == 2 ? 0 : -14 );
+ setPreferenceProperty( precs[ii], "max", ii == 2 ? 3 : 14 );
setPreferenceProperty( precs[ii], "precision", 2 );
}
return false;
theMarkerTexture = aMarkerIter->second.second;
+ return true;
}