# Modified by : Marc Tajchman (CEA)
# Modified by : Mikhail Ponikarov (OCN)
#
-AC_INIT([Salome2 Project VISU module], [6.3.0], [webmaster.salome@opencascade.com], [SalomeVISU])
+AC_INIT([Salome2 Project VISU module], [6.3.1], [webmaster.salome@opencascade.com], [SalomeVISU])
AC_CONFIG_AUX_DIR(adm_local/unix/config_files)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
doc/salome/gui/VISU/doxyfile \
doc/salome/gui/VISU/doxyfile_idl \
doc/salome/gui/VISU/static/header.html \
+ doc/salome/gui/VISU/static/header_py.html \
doc/salome/tui/Makefile \
doc/salome/tui/doxyfile \
doc/salome/tui/static/header.html \
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = visugen_doc
-HTML_HEADER = @builddir@/static/header.html
+HTML_HEADER = @builddir@/static/header_py.html
HTML_FOOTER = @srcdir@/static/footer.html
HTML_STYLESHEET = @srcdir@/static/doxygen.css
TOC_EXPAND = YES
#External reference options
#---------------------------------------------------------------------------
GENERATE_TAGFILE = visugen_doc.tag
-SEARCHENGINE = YES
\ No newline at end of file
+SEARCHENGINE = YES
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>$title</title>
+<link href="$relpath$tabs.css" rel="stylesheet" type="text/css"/>
+<link href="$relpath$search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="$relpath$search/search.js"></script>
+<link href="$relpath$navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="$relpath$jquery.js"></script>
+<script type="text/javascript" src="$relpath$navtree.js"></script>
+<script type="text/javascript" src="$relpath$resize.js"></script>
+<script type="text/javascript">
+$(document).ready(initResizable);
+</script>
+<link href="$relpath$doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body onload='searchBox.OnSelectItem(0);'>
+<div id="top"><!-- do not remove this div! -->
+<div id="titlearea"><div align="right"><div class="version">Version: @VERSION@</div></div></div>
+<div align="bottom-left"><a href=../index.html>Home</a></div>
+
+</div>
( int )( aColor[2] * 255.0 ) ) );
myInfoWindowGroup->setChecked( aPickingSettings->GetInfoWindowEnabled() );
- vtkFloatingPointType transparency = aPickingSettings->GetInfoWindowTransparency() * 100.0;
+ // VSR 28.06.2011 : IPAL 22513: add 0.5 to eliminate any prevision problems
+ vtkFloatingPointType transparency = aPickingSettings->GetInfoWindowTransparency() * 100.0 + 0.5;
myTransparencySpinBox->setValue( (int) transparency );
myPositionComboBox->setCurrentIndex( aPickingSettings->GetInfoWindowPosition() );
myCameraGroup->setChecked( aPickingSettings->GetCameraMovementEnabled() );
void VisuGUI_SizeBox::setOutsideSize( float theOutsideSize )
{
- theOutsideSize*=100.;
- myOutsideSizeSpinBox->setValue( ( int ) theOutsideSize );
+ myOutsideSizeSpinBox->setValue( ( int ) ( theOutsideSize * 100. + 0.5 ) );
}
float VisuGUI_SizeBox::getGeomSize() const
void VisuGUI_SizeBox::setGeomSize( float theGeomSize )
{
- theGeomSize*=100.;
- myGeomSizeSpinBox->setValue( ( int ) theGeomSize );
+ myGeomSizeSpinBox->setValue( ( int ) ( theGeomSize * 100. + 0.5 ) );
}
float VisuGUI_SizeBox::getMinSize() const
void VisuGUI_SizeBox::setMinSize( float theMinSize )
{
- theMinSize*=100.;
- myMinSizeSpinBox->setValue( ( int ) theMinSize );
+ myMinSizeSpinBox->setValue( ( int ) ( theMinSize * 100. + 0.5 ) );
}
float VisuGUI_SizeBox::getMaxSize() const
void VisuGUI_SizeBox::setMaxSize( float theMaxSize )
{
- theMaxSize*=100.;
- myMaxSizeSpinBox->setValue( (int) theMaxSize );
+ myMaxSizeSpinBox->setValue( (int) ( theMaxSize * 100. + 0.5 ) );
}
float VisuGUI_SizeBox::getMagnification() const
void VisuGUI_SizeBox::setMagnification( float theMagnification )
{
- theMagnification*=100.;
- myMagnificationSpinBox->setValue( (int) theMagnification );
+ myMagnificationSpinBox->setValue( (int) ( theMagnification * 100. + 0.5 ) );
}
float VisuGUI_SizeBox::getIncrement() const
long int aSize;
int* aValuePtr = ReceiverFactory::getValue(aSender, aSize);
myConnIndex.assign(aValuePtr, aValuePtr + aSize);
+
+ // since the connectivity indices for polygones are stored together with other elements
+ // we should cut the indices by a value of the first one
+ if( aSize > 0 )
+ {
+ int anOffset = myConnIndex.front() - 1;
+ for( int anIndex = 0; anIndex < aSize; anIndex++ )
+ myConnIndex[ anIndex ] -= anOffset;
+ }
}
}