Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOM Namespace Reference

Classes

class  TPythonDump
 
class  GenericObjPtr
 A smart pointer for the SALOME GenericObj interface. More...
 
interface  IAdvancedOperations
 Interface for advanced modeling functions. More...
 
interface  IBREPOperations
 Interface for BREPPlugin modeling functions. More...
 
struct  Parameter
 Object creation parameters. More...
 
struct  CreationInformation
 
struct  ModifInfo
 Reporting on shape healing. More...
 
interface  GEOM_BaseObject
 A common root of objects in GEOM module. More...
 
interface  GEOM_Object
 Interface of geometric object. More...
 
interface  GEOM_Field
 Interface of the field. More...
 
interface  GEOM_FieldStep
 Interface of the field time step. More...
 
interface  GEOM_BoolFieldStep
 Interface of the boolean field time step. More...
 
interface  GEOM_IntFieldStep
 Interface of the integer field time step. More...
 
interface  GEOM_DoubleFieldStep
 Interface of the double field time step. More...
 
interface  GEOM_StringFieldStep
 Interface of the string field time step. More...
 
interface  GEOM_IOperations
 Basic methods of all geometric operations. More...
 
interface  GEOM_IBasicOperations
 Interface for basic geometry creation. More...
 
interface  GEOM_ITransformOperations
 Interface for shapes transforming. More...
 
interface  GEOM_I3DPrimOperations
 Interface for 3D primitives creation. More...
 
interface  GEOM_IShapesOperations
 Interface for Shapes creation: More...
 
interface  GEOM_IBlocksOperations
 Interface for Blocks construction Face from points or edges, Block from faces, Blocks multi-translation and multi-rotation. More...
 
interface  GEOM_IBooleanOperations
 Interface for boolean operations (Cut, Fuse, Common) More...
 
interface  GEOM_ICurvesOperations
 Interface for curves creation. More...
 
interface  GEOM_ILocalOperations
 Interface for fillet and chamfer creation. More...
 
interface  GEOM_IHealingOperations
 Interface for shape healing operations. More...
 
interface  GEOM_IInsertOperations
 Interface for shape insert operations (like copy, import). More...
 
interface  GEOM_IKindOfShape
 Interface for shape_kind enumeration. More...
 
interface  GEOM_IMeasureOperations
 Interface for measurement (distance, whatis) and properties calculation (like Centre of Mass, Inertia, etc.). More...
 
interface  GEOM_IGroupOperations
 Interface for groups creation. More...
 
interface  GEOM_IFieldOperations
 Interface for field operation. More...
 
interface  GEOM_Gen
 Interface to access other GEOM interfaces. More...
 
interface  GEOM_List
 
interface  GEOM_Superv
 
interface  IIGESOperations
 Interface for IGESPlugin modeling functions. More...
 
interface  ISTEPOperations
 Interface for STEPPlugin modeling functions. More...
 
interface  ISTLOperations
 Interface for STLPlugin modeling functions. More...
 
interface  IVTKOperations
 Interface for VTKPlugin modeling functions. More...
 
interface  IXAOOperations
 Interface for XAOPlugin modeling functions. More...
 

Typedefs

typedef
SALOME::GenericObj_wrap
< GEOM_BasicObject > 
GEOM_BaseObject_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_Object
GEOM_Object_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_Field
GEOM_Field_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_FieldStep
GEOM_FieldStep_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_IBasicOperations
GEOM_IBasicOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_ITransformOperations
GEOM_ITransformOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_I3DPrimOperations
GEOM_I3DPrimOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_IShapesOperations
GEOM_IShapesOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_IBlocksOperations
GEOM_IBlocksOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_IBooleanOperations
GEOM_IBooleanOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_ICurvesOperations
GEOM_ICurvesOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_ILocalOperations
GEOM_ILocalOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_IHealingOperations
GEOM_IHealingOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_IInsertOperations
GEOM_IInsertOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_IMeasureOperations
GEOM_IMeasureOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_IGroupOperations
GEOM_IGroupOperations_wrap
 
typedef
SALOME::GenericObj_wrap
< GEOM_IFieldOperations
GEOM_IFieldOperations_wrap
 
typedef GenericObjPtr
< GEOM::GEOM_Object
GeomObjPtr
 
typedef GenericObjPtr
< GEOM::GEOM_Field
GeomFieldPtr
 
typedef GenericObjPtr
< GEOM::GEOM_IBasicOperations
BasicOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_ITransformOperations
TransformOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_I3DPrimOperations
I3DPrimOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_IShapesOperations
ShapesOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_IBlocksOperations
BlocksOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_IBooleanOperations
BooleanOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_ICurvesOperations
CurvesOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_ILocalOperations
LocalOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_IHealingOperations
HealingOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_IInsertOperations
InsertOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_IMeasureOperations
MeasureOpPtr
 
typedef GenericObjPtr
< GEOM::GEOM_IGroupOperations
GroupOpPtr
 
typedef sequence< ParameterParameters
 
typedef sequence
< CreationInformation
CreationInformationSeq
 
typedef sequence< ModifInfoModifStatistics
 
typedef sequence< string > string_array
 
typedef sequence< short > short_array
 
typedef sequence< boolean > ListOfBool
 
typedef sequence< long > ListOfLong
 
typedef sequence< double > ListOfDouble
 
typedef sequence< ListOfDoubleListOfListOfDouble
 
typedef sequence< GEOM_ObjectListOfGO
 
typedef sequence< GEOM_BaseObjectListOfGBO
 
typedef sequence< GEOM_FieldListOfFields
 
typedef sequence
< SALOMEDS::SObject > 
object_list
 

Enumerations

enum  Property {
  Visibility, Transparency, DisplayMode, NbIsos,
  Color, EdgesDirection, Vertices, ShowName,
  Deflection, PointMarker, Material, LineWidth,
  IsosWidth, TopLevel, LastStudyProperty = TopLevel, Opacity,
  ShadingColor, WireframeColor, LineColor, FreeBndColor,
  PointColor, IsosColor, OutlineColor, Texture,
  Dimensions, ShapeAnnotations, LastProperty = ShapeAnnotations
}
 
enum  pattern { SQUARE, HEXAGON }
 Pattern for block division of the disk. More...
 
enum  shape_type {
  COMPOUND, COMPSOLID, SOLID, SHELL,
  FACE, WIRE, EDGE, VERTEX,
  SHAPE, FLAT
}
 Topological types of shapes (like Open Cascade types) More...
 
enum  marker_type {
  MT_NONE, MT_POINT, MT_PLUS, MT_STAR,
  MT_X, MT_O, MT_O_POINT, MT_O_PLUS,
  MT_O_STAR, MT_O_X, MT_RING1, MT_RING2,
  MT_RING3, MT_BALL, MT_USER
}
 Marker type. More...
 
enum  marker_size {
  MS_NONE, MS_10, MS_15, MS_20,
  MS_25, MS_30, MS_35, MS_40,
  MS_45, MS_50, MS_55, MS_60,
  MS_65, MS_70
}
 
enum  shape_state {
  ST_ON, ST_OUT, ST_ONOUT, ST_IN,
  ST_ONIN
}
 State of shape relatively geometrical surface like plane, sphere or cylinder. More...
 
enum  find_shape_method {
  FSM_GetInPlace, FSM_Transformed, FSM_GetSame, FSM_GetShapesOnShape,
  FSM_GetInPlaceByHistory, FSM_MultiTransformed, FSM_GetInPlace_Old
}
 Kind of method to find inside one main shape some sub-shapes, corresponding to other given shape (its argument) More...
 
enum  filling_oper_method { FOM_Default, FOM_UseOri, FOM_AutoCorrect }
 Kind of method to perform filling operation. More...
 
enum  curve_type { Polyline, Bezier, Interpolation }
 Kind of the curves. More...
 
enum  field_data_type { FDT_Bool, FDT_Int, FDT_Double, FDT_String }
 Type of field data. More...
 
enum  si_check_level {
  SI_V_V, SI_V_E, SI_E_E, SI_V_F,
  SI_E_F, SI_ALL
}
 This enumeration represents the level of checking shape on self-interference. More...
 
enum  comparison_condition { CC_GT, CC_GE, CC_LT, CC_LE }
 This enumeration represents comparison conditions. More...
 
enum  length_unit {
  LU_INCH, LU_MILLIMETER, LU_FOOT, LU_MILE,
  LU_METER, LU_KILOMETER, LU_MILLIINCH, LU_MICROMETER,
  LU_CENTIMETER, LU_MICROINCH
}
 Units of length. More...
 

Functions

 Handle (GEOM_Object) GetCreatedLast(const Handle(GEOM_Object)&theObj1
 
double minDeflection ()
 Get minimal allowed value for deflection coefficient. More...
 
QString sectionSeparator ()
 Get character used to separate parameter names. More...
 
QString subSectionSeparator ()
 Get character used to separate numeric parameter values (color = r:g:b) More...
 
QString propertyName (Property type)
 
int sharedPropertiesId ()
 Id used for storing properties of objects in study shared between viewers. More...
 
void ShapeToVTK (const TopoDS_Shape &theShape, const TopTools_IndexedDataMapOfShapeListOfShape &theEdgeMap, bool theIsVector, GEOM_VertexSource *theStandaloneVertexSource, GEOM_EdgeSource *theIsolatedEdgeSource, GEOM_EdgeSource *theOneFaceEdgeSource, GEOM_EdgeSource *theSharedEdgeSource, GEOM_WireframeFace *theWireframeFaceSource, GEOM_ShadingFace *theShadingFaceSource)
 Convert shape to the VTK data sources. More...
 
vtkPolyData * GetVTKData (const TopoDS_Shape &theShape, float theDeflection)
 Get VTK mesh data from the shape. More...
 

Typedef Documentation

typedef SALOME::GenericObj_wrap< GEOM_BasicObject > GEOM::GEOM_BaseObject_wrap
typedef SALOME::GenericObj_wrap< GEOM_Field > GEOM::GEOM_Field_wrap
typedef SALOME::GenericObj_wrap< GEOM_FieldStep > GEOM::GEOM_FieldStep_wrap
typedef SALOME::GenericObj_wrap< GEOM_I3DPrimOperations > GEOM::GEOM_I3DPrimOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_IBasicOperations > GEOM::GEOM_IBasicOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_IBlocksOperations > GEOM::GEOM_IBlocksOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_IBooleanOperations > GEOM::GEOM_IBooleanOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_ICurvesOperations > GEOM::GEOM_ICurvesOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_IFieldOperations > GEOM::GEOM_IFieldOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_IGroupOperations > GEOM::GEOM_IGroupOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_IHealingOperations > GEOM::GEOM_IHealingOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_IInsertOperations > GEOM::GEOM_IInsertOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_ILocalOperations > GEOM::GEOM_ILocalOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_IMeasureOperations > GEOM::GEOM_IMeasureOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_IShapesOperations > GEOM::GEOM_IShapesOperations_wrap
typedef SALOME::GenericObj_wrap< GEOM_Object > GEOM::GEOM_Object_wrap
typedef sequence<boolean> GEOM::ListOfBool
typedef sequence<double> GEOM::ListOfDouble
typedef sequence<GEOM_Field> GEOM::ListOfFields
typedef sequence<GEOM_BaseObject> GEOM::ListOfGBO
typedef sequence<GEOM_Object> GEOM::ListOfGO
typedef sequence<long> GEOM::ListOfLong
typedef sequence<ModifInfo> GEOM::ModifStatistics
typedef sequence<SALOMEDS::SObject> GEOM::object_list
typedef sequence<Parameter> GEOM::Parameters
typedef sequence<short> GEOM::short_array
typedef sequence<string> GEOM::string_array

Enumeration Type Documentation

Enumerator
CC_GT 

Greater then.

CC_GE 

Greater then or equal to.

CC_LT 

Less then.

CC_LE 

Less then or equal to.

Used in the functions GEOM_ICurvesOperations.MakeCurveParametric(), GEOM_ICurvesOperations.MakeCurveParametricNew(), GEOM_ICurvesOperations.MakePolyline2D, GEOM_ICurvesOperations.MakePolyline2DOnPlane.

Enumerator
Polyline 

Polyline curve

Bezier 

Bezier curve

Interpolation 

Interpolation, curve

Enumerator
FDT_Bool 
FDT_Int 
FDT_Double 
FDT_String 

Is used in functions GEOM_I3DPrimOperations.MakeFilling()

Enumerator
FOM_Default 

Default (standard behaviour)

FOM_UseOri 

Use edges orientation - orientation of edges is used: if the edge is reversed, the curve from this edge is reversed before using it in the filling algorithm.

FOM_AutoCorrect 

Auto-correct edges orientation - changes the orientation of the curves using minimization of sum of distances between the end points of the edges.

Is used in functions GEOM_Gen.RestoreSubShapesO(), GEOM_Gen.RestoreSubShapesSO(), TransferNames()

Enumerator
FSM_GetInPlace 

Use GetInPlace functionality. Suits all cases, except transformations

FSM_Transformed 

To be used only for transformation result, to find sub-shapes of argument. Only this method can be used after transformation.

FSM_GetSame 

To find only shared sub-shapes, not modified by the operation

FSM_GetShapesOnShape 

Use GetShapesOnShape method (can work only on solids)

FSM_GetInPlaceByHistory 

Use GetInPlaceByHistory method (can work only after Partition)

FSM_MultiTransformed 

To be used only for multi-transformation result. Only this method can be used after multi-transformation.

FSM_GetInPlace_Old 

Use old GetInPlace functionality.

Enumerator
LU_INCH 
LU_MILLIMETER 
LU_FOOT 
LU_MILE 
LU_METER 
LU_KILOMETER 
LU_MILLIINCH 
LU_MICROMETER 
LU_CENTIMETER 
LU_MICROINCH 

/brief Marker size

Enumerator
MS_NONE 
MS_10 
MS_15 
MS_20 
MS_25 
MS_30 
MS_35 
MS_40 
MS_45 
MS_50 
MS_55 
MS_60 
MS_65 
MS_70 
Enumerator
MT_NONE 
MT_POINT 
MT_PLUS 
MT_STAR 
MT_X 
MT_O 
MT_O_POINT 
MT_O_PLUS 
MT_O_STAR 
MT_O_X 
MT_RING1 
MT_RING2 
MT_RING3 
MT_BALL 
MT_USER 
Enumerator
SQUARE 

Square

HEXAGON 

Hexagon

Enumerator
Visibility 
Transparency 
DisplayMode 
NbIsos 
Color 
EdgesDirection 
Vertices 
ShowName 
Deflection 
PointMarker 
Material 
LineWidth 
IsosWidth 
TopLevel 
LastStudyProperty 
Opacity 
ShadingColor 
WireframeColor 
LineColor 
FreeBndColor 
PointColor 
IsosColor 
OutlineColor 
Texture 
Dimensions 
ShapeAnnotations 
LastProperty 

Is used in functions GEOM_IShapesOperations.GetShapesOn<xxx>()

Enumerator
ST_ON 

Shape is on surface

ST_OUT 

Shape is in the direction defined by the normal and not on surface. For plane it means above the plane, For sphere and cylinder it means outside of volume, bounded by the surface.

ST_ONOUT 

Shape is in the direction defined by the normal and on surface. ONOUT = ON || OUT

ST_IN 

Complementary to ONOUT. For plane it means below the plane, For sphere and cylinder it means inside the volume, bounded by the surface (beyond axis and surface for cylinder and beyond cented and surface for sphere).

ST_ONIN 

Complementary to OUT. ONIN = ON || IN

Enumerator
COMPOUND 

A collection of arbitrary shapes

COMPSOLID 

A collection of solids

SOLID 

A part of 3D space bound by a shell

SHELL 

A collection of faces connected by some edges of their wire boundaries

FACE 

Part of a plane (in 2D geometry) or a surface (in 3D geometry) bounded by a closed wire

WIRE 

A sequence of edges connected by their vertices

EDGE 

Edge, a shape corresponding to a curve, and bound by a vertex at each extremity

VERTEX 

A zero-dimensional shape corresponding to a point in geometry

SHAPE 

Arbitrary shape in a Compound (used for processing of Compounds in some operations)

FLAT 

Flat (top-level) contents of a Compound (used for processing of Compounds in some operations)

It defines which interferferences will be checked.

Enumerator
SI_V_V 
SI_V_E 
SI_E_E 
SI_V_F 
SI_E_F 
SI_ALL 

Function Documentation

vtkPolyData * GEOM::GetVTKData ( const TopoDS_Shape &  theShape,
float  theDeflection 
)
Parameters
theShapeshape
theDeflectionrequested deflection coefficient
Returns
VTK data set

References GEOM_VertexSource::AddVertex(), GEOMUtils::MeshShape(), GEOM_ShadingFace::New(), GEOM_VertexSource::New(), GEOM_EdgeSource::New(), GEOM_WireframeFace::New(), and ShapeToVTK().

Standard_EXPORT GEOM::Handle ( GEOM_Object  ) const

Returns an object from two given, which has the latest entry

Returns an object from theObjects, which has the latest entry

double GEOM::minDeflection ( )
QString GEOM::propertyName ( Property  type)

References LastProperty, and Visibility.

QString GEOM::sectionSeparator ( )
void GEOM::ShapeToVTK ( const TopoDS_Shape &  theShape,
const TopTools_IndexedDataMapOfShapeListOfShape &  theEdgeMap,
bool  theIsVector,
GEOM_VertexSource theStandaloneVertexSource,
GEOM_EdgeSource theIsolatedEdgeSource,
GEOM_EdgeSource theOneFaceEdgeSource,
GEOM_EdgeSource theSharedEdgeSource,
GEOM_WireframeFace theWireframeFaceSource,
GEOM_ShadingFace theShadingFaceSource 
)
Parameters
theShapeshape
theEdgeMapemap that stores face-to-edge relations
theIsVectorboolen flag, when true causes generating additional dataset for edges orientation vectors
theStandaloneVertexSourceoutput standalone vertices data source
theIsolatedEdgeSourceoutput standalone edges data source
theOneFaceEdgeSourceoutput face edges data source
theSharedEdgeSourceoutput face shared edges data source
theWireframeFaceSourceoutput wireframe mode faces data source
theShadingFaceSourceoutput shading mode faces data source

References GEOM_EdgeSource::AddEdge(), GEOM_FaceSource::AddFace(), GEOM_VertexSource::AddVertex(), anEdge, and anEdgeExp().

int GEOM::sharedPropertiesId ( )
QString GEOM::subSectionSeparator ( )