Version: 6.3.1
Public Member Functions | Data Fields

HypothesisData Class Reference

Class containing information about hypothesis. More...

#include <SMESHGUI_Hypotheses.h>

Public Member Functions

 HypothesisData (const QString &, const QString &, const QString &, const QString &, const QString &, const QString &, const QList< int > &, const bool, const QStringList &, const QStringList &, const QStringList &, const QStringList &, const bool=true, const bool supportSub=false)

Data Fields

QString TypeName
 hypothesis type name
QString PluginName
 plugin name
QString ServerLibName
 server library name
QString ClientLibName
 client library name
QString Label
 label
QString IconId
 icon identifier
QList< intDim
 list of supported dimensions (see SMESH.Dimension enumeration)
bool IsAux
 TRUE if given hypothesis is auxiliary one, FALSE otherwise.
bool IsNeedGeometry
 TRUE if the algorithm works with shapes only, FALSE otherwise.
bool IsSupportSubmeshes
 TRUE if the algo building all-dim elems supports submeshes.
QStringList NeededHypos
 list of obligatory hypotheses
QStringList OptionalHypos
 list of optional hypotheses
QStringList InputTypes
 list of element types required as a prerequisite
QStringList OutputTypes
 list of types of generated elements

Detailed Description

Class containing information about hypothesis.

Definition at line 162 of file SMESHGUI_Hypotheses.h.


Constructor & Destructor Documentation

HypothesisData::HypothesisData ( const QString &  theTypeName,
const QString &  thePluginName,
const QString &  theServerLibName,
const QString &  theClientLibName,
const QString &  theLabel,
const QString &  theIconId,
const QList< int > &  theDim,
const bool  theIsAux,
const QStringList &  theNeededHypos,
const QStringList &  theOptionalHypos,
const QStringList &  theInputTypes,
const QStringList &  theOutputTypes,
const bool  theIsNeedGeometry = true,
const bool  supportSub = false 
)

Definition at line 666 of file SMESHGUI_Hypotheses.cxx.

  : TypeName( theTypeName ),
    PluginName( thePluginName ),
    ServerLibName( theServerLibName ),
    ClientLibName( theClientLibName ),
    Label( theLabel ),
    IconId( theIconId ),
    Dim( theDim ),
    IsAux( theIsAux ),
    NeededHypos( theNeededHypos ),
    OptionalHypos( theOptionalHypos ),
    InputTypes( theInputTypes ),
    OutputTypes( theOutputTypes ),
    IsNeedGeometry( theIsNeedGeometry ),
    IsSupportSubmeshes( supportSub )
{
}

Field Documentation

client library name

Definition at line 175 of file SMESHGUI_Hypotheses.h.

Referenced by SMESHGUI_MeshOp.createHypothesis(), SMESHGUI_MeshOp.getAlgo(), and SMESH.GetHypothesisCreator().

list of supported dimensions (see SMESH.Dimension enumeration)

Definition at line 178 of file SMESHGUI_Hypotheses.h.

Referenced by SMESHGUI_MeshOp.existingHyps(), SMESH.IsCompatibleAlgorithm(), and SMESHGUI_MeshOp.processSet().

icon identifier

Definition at line 177 of file SMESHGUI_Hypotheses.h.

list of element types required as a prerequisite

Definition at line 186 of file SMESHGUI_Hypotheses.h.

Referenced by SMESHGUI_MeshOp.isSubmeshIgnored().

TRUE if given hypothesis is auxiliary one, FALSE otherwise.

Definition at line 179 of file SMESHGUI_Hypotheses.h.

Referenced by SMESHGUI_MeshOp.existingHyps(), and SMESH.GetAvailableHypotheses().

TRUE if the algorithm works with shapes only, FALSE otherwise.

Definition at line 180 of file SMESHGUI_Hypotheses.h.

Referenced by SMESH.GetAvailableHypotheses().

TRUE if the algo building all-dim elems supports submeshes.

Definition at line 181 of file SMESHGUI_Hypotheses.h.

Referenced by SMESHGUI_MeshOp.isSubmeshIgnored().

list of obligatory hypotheses

Definition at line 184 of file SMESHGUI_Hypotheses.h.

Referenced by SMESH.IsAvailableHypothesis().

list of optional hypotheses

Definition at line 185 of file SMESHGUI_Hypotheses.h.

Referenced by SMESH.IsAvailableHypothesis().

list of types of generated elements

Definition at line 187 of file SMESHGUI_Hypotheses.h.

Referenced by SMESH.IsCompatibleAlgorithm().

plugin name

Definition at line 173 of file SMESHGUI_Hypotheses.h.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS