mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 09:40:35 +05:00
Typo and whitespace fixes by Kunda
http://www.salome-platform.org/forum/forum_9/454200149#834683007
This commit is contained in:
parent
328926550c
commit
f4dd52ae3d
@ -8,7 +8,7 @@ In MESH you can create a group of elements of a certain type. The main way to cr
|
|||||||
select in the **Mesh** menu **Create Group** item (also available in the context menu of the mesh).
|
select in the **Mesh** menu **Create Group** item (also available in the context menu of the mesh).
|
||||||
To create a group you should define the following:
|
To create a group you should define the following:
|
||||||
|
|
||||||
* **Mesh** - the mesh whose elements will form your group. You can select your mesh in the Objet Browser or in the 3D viewer.
|
* **Mesh** - the mesh whose elements will form your group. You can select your mesh in the Object Browser or in the 3D viewer.
|
||||||
* **Elements Type** - set of radio buttons allows to select the type of elements which will form your group:
|
* **Elements Type** - set of radio buttons allows to select the type of elements which will form your group:
|
||||||
* **Nodes**
|
* **Nodes**
|
||||||
* **0D Element**
|
* **0D Element**
|
||||||
|
@ -86,7 +86,7 @@ bool SMESH_PreviewActorsCollection::Init( const TopoDS_Shape& theShape,
|
|||||||
// Handle( SALOME_InteractiveObject ) anIO = new SALOME_InteractiveObject();
|
// Handle( SALOME_InteractiveObject ) anIO = new SALOME_InteractiveObject();
|
||||||
// anIO->setEntry( theEntry.toUtf8().constData() );
|
// anIO->setEntry( theEntry.toUtf8().constData() );
|
||||||
|
|
||||||
// get indexes of seleted elements
|
// get indexes of selected elements
|
||||||
TopExp::MapShapes( theMainShape, myMapOfShapes );
|
TopExp::MapShapes( theMainShape, myMapOfShapes );
|
||||||
TopExp_Explorer exp( theShape, theType );
|
TopExp_Explorer exp( theShape, theType );
|
||||||
QSet<int> indices;
|
QSet<int> indices;
|
||||||
|
@ -54,7 +54,7 @@ public:
|
|||||||
|
|
||||||
virtual void SetVisibility( int theVisibility );
|
virtual void SetVisibility( int theVisibility );
|
||||||
|
|
||||||
//! Initialiaze the instance completely
|
//! Initialize the instance completely
|
||||||
virtual void
|
virtual void
|
||||||
Initialize();
|
Initialize();
|
||||||
|
|
||||||
|
@ -673,7 +673,7 @@ namespace
|
|||||||
|
|
||||||
QList< QPair< GEOM::ListOfFields_var, QString > > aFieldList;
|
QList< QPair< GEOM::ListOfFields_var, QString > > aFieldList;
|
||||||
|
|
||||||
// Get a file name to write in and additional otions
|
// Get a file name to write in and additional options
|
||||||
if ( isUNV || isDAT || isGMF ) // Export w/o options
|
if ( isUNV || isDAT || isGMF ) // Export w/o options
|
||||||
{
|
{
|
||||||
if ( isUNV )
|
if ( isUNV )
|
||||||
@ -5731,7 +5731,7 @@ const char* gPathSep = "|"; // character used to separate paths
|
|||||||
* \brief Store visual parameters
|
* \brief Store visual parameters
|
||||||
*
|
*
|
||||||
* This method is called just before the study document is saved.
|
* This method is called just before the study document is saved.
|
||||||
* Store visual parameters in AttributeParameter attribue(s)
|
* Store visual parameters in AttributeParameter attribute(s)
|
||||||
*/
|
*/
|
||||||
void SMESHGUI::storeVisualParameters (int savePoint)
|
void SMESHGUI::storeVisualParameters (int savePoint)
|
||||||
{
|
{
|
||||||
@ -6083,7 +6083,7 @@ typedef std::map<int, TPlaneInfoList> TPlaneInfoMap;
|
|||||||
* \brief Restore visual parameters
|
* \brief Restore visual parameters
|
||||||
*
|
*
|
||||||
* This method is called after the study document is opened.
|
* This method is called after the study document is opened.
|
||||||
* Restore visual parameters from AttributeParameter attribue(s)
|
* Restore visual parameters from AttributeParameter attribute(s)
|
||||||
*/
|
*/
|
||||||
void SMESHGUI::restoreVisualParameters (int savePoint)
|
void SMESHGUI::restoreVisualParameters (int savePoint)
|
||||||
{
|
{
|
||||||
|
@ -5402,9 +5402,9 @@ SALOMEDS::TMPFile* SMESH_Mesh_i::GetVtkUgStream()
|
|||||||
char* str = aWriter->GetOutputString();
|
char* str = aWriter->GetOutputString();
|
||||||
int size = aWriter->GetOutputStringLength();
|
int size = aWriter->GetOutputStringLength();
|
||||||
|
|
||||||
//Allocate octect buffer of required size
|
//Allocate octet buffer of required size
|
||||||
CORBA::Octet* OctetBuf = SALOMEDS::TMPFile::allocbuf(size);
|
CORBA::Octet* OctetBuf = SALOMEDS::TMPFile::allocbuf(size);
|
||||||
//Copy ostrstream content to the octect buffer
|
//Copy ostrstream content to the octet buffer
|
||||||
memcpy(OctetBuf, str, size);
|
memcpy(OctetBuf, str, size);
|
||||||
//Create and return TMPFile
|
//Create and return TMPFile
|
||||||
SeqFile = new SALOMEDS::TMPFile(size, size, OctetBuf, 1);
|
SeqFile = new SALOMEDS::TMPFile(size, size, OctetBuf, 1);
|
||||||
@ -6379,5 +6379,3 @@ _GET_ITER_DEFINE( SMDS_VolumeIteratorPtr, volumesIterator, SMDS_MeshVolume, SMDS
|
|||||||
// END Implementation of SMESH_MeshPartDS
|
// END Implementation of SMESH_MeshPartDS
|
||||||
//
|
//
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
/// may only be needed to be called in case if mesh objects are
|
/// may only be needed to be called in case if mesh objects are
|
||||||
/// created when no active study is set to %SMESH component.
|
/// created when no active study is set to %SMESH component.
|
||||||
/// In this case, mentioned functions can be used to forcibly
|
/// In this case, mentioned functions can be used to forcibly
|
||||||
/// publish existing objects in the currrently active study.
|
/// publish existing objects in the currently active study.
|
||||||
///
|
///
|
||||||
/// Note that if there are no open study, these methods will do
|
/// Note that if there are no open study, these methods will do
|
||||||
/// nothing.
|
/// nothing.
|
||||||
|
@ -4793,7 +4793,7 @@ void StdMeshers_PrismAsBlock::THorizontalEdgeAdaptor::dumpNodes(int nbNodes) con
|
|||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Costructor of TPCurveOnHorFaceAdaptor fills its map of
|
* \brief Constructor of TPCurveOnHorFaceAdaptor fills its map of
|
||||||
* normalized parameter to node UV on a horizontal face
|
* normalized parameter to node UV on a horizontal face
|
||||||
* \param [in] sideFace - lateral prism side
|
* \param [in] sideFace - lateral prism side
|
||||||
* \param [in] isTop - is \a horFace top or bottom of the prism
|
* \param [in] isTop - is \a horFace top or bottom of the prism
|
||||||
|
Loading…
Reference in New Issue
Block a user