OCC.PrsMgr module

class OCC.PrsMgr.Handle_PrsMgr_PresentableObject(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.PrsMgr.Handle_PrsMgr_Presentation(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.PrsMgr.Handle_PrsMgr_Presentation3d(*args)

Bases: OCC.PrsMgr.Handle_PrsMgr_Presentation

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.PrsMgr.Handle_PrsMgr_PresentationManager(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.PrsMgr.Handle_PrsMgr_PresentationManager3d(*args)

Bases: OCC.PrsMgr.Handle_PrsMgr_PresentationManager

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.PrsMgr.Handle_PrsMgr_Prs(*args)

Bases: OCC.Prs3d.Handle_Prs3d_Presentation

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.PrsMgr.Handle_PrsMgr_SequenceNodeOfPresentations(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class OCC.PrsMgr.PrsMgr_ModedPresentation(*args)

Bases: object

Mode()
Return type:int
Presentation()
Return type:Handle_PrsMgr_Presentation
thisown

The membership flag

class OCC.PrsMgr.PrsMgr_PresentableObject(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

AddClipPlane()
  • Adds clip plane for graphical clipping for all display mode presentations. The composition of clip planes truncates the rendering space to convex volume. Please be aware that number of supported clip plane is limited. The planes which exceed the limit are ignored. Besides of this, some planes can be already set in view where the object is shown: the number of these planes should be substracted from limit to predict the maximum possible number of object clipping planes. @param thePlane [in] the clip plane to be appended to map of clip planes.
Parameters:thePlane (Graphic3d_ClipPlane_Handle &) –
Return type:void
GetClipPlanes()
  • Get clip planes. returns set of previously added clip planes for all display mode presentations.
Return type:Graphic3d_SequenceOfHClipPlane
GetHandle()

PrsMgr_PresentableObject_GetHandle(PrsMgr_PresentableObject self) -> Handle_PrsMgr_PresentableObject

GetTransformPersistenceMode()
  • Gets Transform Persistence Mode for this object
Return type:Graphic3d_TransModeFlags
GetTransformPersistencePoint()
  • Gets point of transform persistence for this object
Return type:gp_Pnt
GetZLayer()
  • Get ID of Z layer. If no presentations of object is displayed, and layer ID is unavailable, the -1 value is returned.
Parameters:thePrsMgr (Handle_PrsMgr_PresentationManager &) –
Return type:int
HasLocation()
Return type:bool
Location()
Return type:TopLoc_Location
RemoveClipPlane()
  • Removes previously added clip plane. @param thePlane [in] the clip plane to be removed from map of clip planes.
Parameters:thePlane (Graphic3d_ClipPlane_Handle &) –
Return type:void
ResetLocation()
Return type:void
SetClipPlanes()
  • Set clip planes for graphical clipping for all display mode presentations. The composition of clip planes truncates the rendering space to convex volume. Please be aware that number of supported clip plane is limited. The planes which exceed the limit are ignored. Besides of this, some planes can be already set in view where the object is shown: the number of these planes should be substracted from limit to predict the maximum possible number of object clipping planes.
Parameters:thePlanes (Graphic3d_SequenceOfHClipPlane &) –
Return type:void
SetLocation()
Parameters:aLoc (TopLoc_Location &) –
Return type:void
SetToUpdate()
  • flags the Prs of mode <AMode> to be Updated. the Update will be done when needed.
Parameters:aMode (Standard_Integer) –
Return type:None
  • flags all the Presentations to be Updated.
Return type:None
SetTransformPersistence()
  • Sets up Transform Persistence Mode for this object. This function used to lock in object position, rotation and / or zooming relative to camera position. Object will be drawn in the origin setted by APoint parameter (except Graphic3d_TMF_TriedronPers flag - see description later). aFlag should be: - Graphic3d_TMF_None - no persistence attributes (reset); - Graphic3d_TMF_PanPers - object doesn’t move; - Graphic3d_TMF_ZoomPers - object doesn’t resize; - Graphic3d_TMF_RotatePers - object doesn’t rotate; - Graphic3d_TMF_FullPers - pan, zoom and rotate transform persistence; - Graphic3d_TMF_TriedronPers - object behaves like trihedron; - combination (Graphic3d_TMF_PanPers | Graphic3d_TMF_ZoomPers); - combination (Graphic3d_TMF_PanPers | Graphic3d_TMF_RotatePers); - combination (Graphic3d_TMF_ZoomPers | Graphic3d_TMF_RotatePers). If Graphic3d_TMF_TriedronPers persistence mode selected APoint coordinates X and Y means: - X = 0.0, Y = 0.0 - center of view window; - X > 0.0, Y > 0.0 - right upper corner of view window; - X > 0.0, Y < 0.0 - right lower corner of view window; - X < 0.0, Y > 0.0 - left upper corner of view window; - X < 0.0, Y < 0.0 - left lower corner of view window. And Z coordinate defines the gap from border of view window (except center position).
Parameters:
  • aFlag (Graphic3d_TransModeFlags &) –
  • APoint (gp_Pnt) –
Return type:

void

  • Calls previous method with point (0,0,0)
Parameters:aFlag (Graphic3d_TransModeFlags &) –
Return type:None
SetTypeOfPresentation()
Parameters:aType (PrsMgr_TypeOfPresentation3d) –
Return type:None
SetZLayer()
  • Set Z layer ID and update all presentations of the presentable object. The layer can be set only for displayed object. If all object presentations are removed, the layer ID will be set to default value when computing presentation. The layers mechanism allows drawing objects in higher layers in overlay of objects in lower layers.
Parameters:
  • thePrsMgr (Handle_PrsMgr_PresentationManager &) –
  • theLayerId (Standard_Integer) –
Return type:

void

ToBeUpdated()
  • gives the list of modes which are flagged ‘to be updated’.
Parameters:ListOfMode (TColStd_ListOfInteger &) –
Return type:None
TypeOfPresentation3d()
  • Returns information on whether the object accepts display in HLR mode or not.
Return type:PrsMgr_TypeOfPresentation3d
UpdateLocation()
Return type:void
Parameters:P (Handle_Prs3d_Presentation &) –
Return type:void
thisown

The membership flag

class OCC.PrsMgr.PrsMgr_Presentation(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Destroy()
  • Destructor
Return type:void
GetHandle()

PrsMgr_Presentation_GetHandle(PrsMgr_Presentation self) -> Handle_PrsMgr_Presentation

KindOfPresentation()
  • 2D or 3D
Return type:PrsMgr_KindOfPrs
MustBeUpdated()
Return type:bool
PresentationManager()
  • returns the PresentationManager in which the presentation has been created.
Return type:Handle_PrsMgr_PresentationManager
SetUpdateStatus()
Parameters:aStat (bool) –
Return type:None
thisown

The membership flag

class OCC.PrsMgr.PrsMgr_Presentation3d(*args, **kwargs)

Bases: OCC.PrsMgr.PrsMgr_Presentation

GetHandle()

PrsMgr_Presentation3d_GetHandle(PrsMgr_Presentation3d self) -> Handle_PrsMgr_Presentation3d

Presentation()
Return type:Handle_Prs3d_Presentation
thisown

The membership flag

class OCC.PrsMgr.PrsMgr_PresentationManager(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Add()
  • Performs an iteration of the transient objects to look for the presentable objects with the display mode aMode. Appends the presentation of the presentable object aPresentableObject with the mode aMode to the list of objects in immediate mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Performs an iteration of the transient objects to look for the presentable objects with the display mode aMode. Appends the presentation of the presentable object aPresentableObject with the mode aMode to the list of objects in immediate mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

BeginDraw()
  • initializes the list of Prs to be displayed in transient mode
Return type:void
Clear()
  • Clears the presentation of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

void

  • Clears the presentation of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

void

Display()
  • Displays the presentation of the object in the given Presentation manager with the given mode. The mode should be enumerated by the object which inherits PresentableObject.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Displays the presentation of the object in the given Presentation manager with the given mode. The mode should be enumerated by the object which inherits PresentableObject.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

DisplayPriority()
  • Returns the display priority of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • amode (Standard_Integer) –
Return type:

int

EndDraw()
  • Allows rapid drawing of the view aView by avoiding an update of the whole background. If DoubleBuffer is true, the background is drawn.
Parameters:
  • aView (Handle_V3d_View &) –
  • DoubleBuffer (bool) – default value is Standard_False
Return type:

void

  • Allows rapid drawing of the view aView by avoiding an update of the whole background. If DoubleBuffer is true, the background is drawn.
Parameters:
  • aView (Handle_V3d_View &) –
  • DoubleBuffer (bool) – default value is Standard_False
Return type:

void

Erase()
  • erases the presentation of the object in the given Presentation manager with the given mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • erases the presentation of the object in the given Presentation manager with the given mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

GetHandle()

PrsMgr_PresentationManager_GetHandle(PrsMgr_PresentationManager self) -> Handle_PrsMgr_PresentationManager

GetZLayer()
  • Get Z layer ID assigned to all presentations of the object. Method returns -1 value if object has no presentations and is impossible to get layer index.
Parameters:thePresentableObject (Handle_PrsMgr_PresentableObject &) –
Return type:int
HasPresentation()
  • Returns true if there is a presentation of the presentable object aPresentableObject in this framework, aPresentableObject having the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

bool

  • Returns true if there is a presentation of the presentable object aPresentableObject in this framework, aPresentableObject having the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

bool

Highlight()
  • Highlights the presentation of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Highlights the presentation of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

Is3D()
Return type:bool
IsDisplayed()
  • Returns true if the presentation of the presentable object aPresentableObject in this framework with the display mode aMode is displayed.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

bool

  • Returns true if the presentation of the presentable object aPresentableObject in this framework with the display mode aMode is displayed.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

bool

IsHighlighted()
  • Returns true if the presentation of the presentable object aPresentableObject in this framework with the display mode aMode is highlighted.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

bool

  • Returns true if the presentation of the presentable object aPresentableObject in this framework with the display mode aMode is highlighted.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

bool

IsImmediateModeOn()
  • Returns true if immediate (transient) mode is on.
Return type:bool
Presentation()
  • Returns the presentation Presentation of the presentable object aPresentableObject in this framework. aPresentableObject has the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

Handle_PrsMgr_Presentation

  • Returns the presentation Presentation of the presentable object aPresentableObject in this framework. aPresentableObject has the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

Handle_PrsMgr_Presentation

Remove()
  • Performs an iteration of the transient objects to look for the presentable objects with the display mode aMode. Removes the presentation of the presentable object aPresentableObject with the mode aMode from the list of objects in immediate mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Performs an iteration of the transient objects to look for the presentable objects with the display mode aMode. Removes the presentation of the presentable object aPresentableObject with the mode aMode from the list of objects in immediate mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

SetDisplayPriority()
  • Sets the display priority aNewPrior of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • amode (Standard_Integer) –
  • aNewPrior (Standard_Integer) –
Return type:

None

SetVisibility()
  • Sets the visibility of presentable object.
Parameters:
  • thePresentableObject (Handle_PrsMgr_PresentableObject &) –
  • theMode (Standard_Integer) –
  • theValue (bool) –
Return type:

None

SetZLayer()
  • Set Z layer ID for all presentations of the object.
Parameters:
  • thePresentableObject (Handle_PrsMgr_PresentableObject &) –
  • theLayerId (Standard_Integer) –
Return type:

None

Unhighlight()
  • Removes highlighting from the presentation of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Removes highlighting from the presentation of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

Update()
  • Updates the presentation of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Updates the presentation of the presentable object aPresentableObject in this framework with the display mode aMode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

thisown

The membership flag

class OCC.PrsMgr.PrsMgr_PresentationManager3d(*args)

Bases: OCC.PrsMgr.PrsMgr_PresentationManager

AddToImmediateList()
  • stores <aPrs> in a list of structure to be displayed in immediate mode. will be taken in account in EndDraw Method.
Parameters:aPrs (Handle_Prs3d_Presentation &) –
Return type:None
BoundBox()
  • highlights the boundbox of the presentation
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • highlights the boundbox of the presentation
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

CastPresentation()
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
  • aPresentableObject
  • aMode – default value is 0
Return type:

Handle_PrsMgr_Presentation3d

Return type:

Handle_PrsMgr_Presentation3d

Color()
  • Highlights the graphic object aPresentableObject in the color aColor. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aColor (Quantity_NameOfColor) – default value is Quantity_NOC_YELLOW
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Highlights the graphic object aPresentableObject in the color aColor. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aColor (Quantity_NameOfColor) – default value is Quantity_NOC_YELLOW
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Highlights the graphic object aPresentableObject in the color aColor. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aColor (Quantity_NameOfColor) – default value is Quantity_NOC_YELLOW
  • aMode (Standard_Integer) – default value is 0
Return type:

None

Connect()
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • anOtherObject (Handle_PrsMgr_PresentableObject &) –
  • aMode (Standard_Integer) – default value is 0
  • anOtherMode (Standard_Integer) – default value is 0
  • aPresentableObject
  • anOtherObject
  • aMode – default value is 0
  • anOtherMode – default value is 0
  • aPresentableObject
  • anOtherObject
  • aMode – default value is 0
  • anOtherMode – default value is 0
Return type:

None

Return type:

None

Return type:

None

EndDraw()
Parameters:
  • theView (Handle_V3d_View &) –
  • DoubleBuffer (bool) – default value is Standard_False
  • theView
  • DoubleBuffer – default value is Standard_False
Return type:

None

Return type:

None

GetHandle()

PrsMgr_PresentationManager3d_GetHandle(PrsMgr_PresentationManager3d self) -> Handle_PrsMgr_PresentationManager3d

Move()
  • Sets a position to move the presentable object aPresentableObject to. This position is defined by the lengths along the x, y and z axes: X, Y and Z respectively. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • X (Quantity_Length) –
  • Y (Quantity_Length) –
  • Z (Quantity_Length) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Sets a position to move the presentable object aPresentableObject to. This position is defined by the lengths along the x, y and z axes: X, Y and Z respectively. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • X (Quantity_Length) –
  • Y (Quantity_Length) –
  • Z (Quantity_Length) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

Multiply()
  • Defines the transformation aTransformation for the presentable object aPresentableObject. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aTransformation (Handle_Geom_Transformation &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Defines the transformation aTransformation for the presentable object aPresentableObject. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aTransformation (Handle_Geom_Transformation &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

Place()
  • Sets a position to move the presentable object aPresentableObject to. This position is defined by the lengths along the x, y and z axes: X, Y and Z respectively. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • X (Quantity_Length) –
  • Y (Quantity_Length) –
  • Z (Quantity_Length) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Sets a position to move the presentable object aPresentableObject to. This position is defined by the lengths along the x, y and z axes: X, Y and Z respectively. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • X (Quantity_Length) –
  • Y (Quantity_Length) –
  • Z (Quantity_Length) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

SetShadingAspect()
  • this method will change the color and the aspect of the presentations containg shaded structures.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aColor (Quantity_NameOfColor) –
  • aMaterial (Graphic3d_NameOfMaterial) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • this method will change the color and the aspect of the presentations containg shaded structures.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aColor (Quantity_NameOfColor) –
  • aMaterial (Graphic3d_NameOfMaterial) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • this method will change the color and the aspect of the presentations containg shaded structures.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aShadingAspect (Handle_Prs3d_ShadingAspect &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • this method will change the color and the aspect of the presentations containg shaded structures.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aShadingAspect (Handle_Prs3d_ShadingAspect &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

StructureManager()
  • Returns the structure manager.
Return type:Handle_Graphic3d_StructureManager
Transform()
  • Sets the transformation aTransformation for the presentable object aPresentableObject. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aTransformation (Handle_Geom_Transformation &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

  • Sets the transformation aTransformation for the presentable object aPresentableObject. aPresentableObject has the display mode aMode; this has the default value of 0, that is, the wireframe display mode.
Parameters:
  • aPresentableObject (Handle_PrsMgr_PresentableObject &) –
  • aTransformation (Handle_Geom_Transformation &) –
  • aMode (Standard_Integer) – default value is 0
Return type:

None

thisown

The membership flag

class OCC.PrsMgr.PrsMgr_Presentations

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (PrsMgr_ModedPresentation &) –
  • S (PrsMgr_Presentations &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (PrsMgr_Presentations &) –
Return type:PrsMgr_Presentations
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:PrsMgr_ModedPresentation
Clear()
Return type:None
First()
Return type:PrsMgr_ModedPresentation
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (PrsMgr_ModedPresentation &) –
  • Index
  • S (PrsMgr_Presentations &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (PrsMgr_ModedPresentation &) –
  • Index
  • S (PrsMgr_Presentations &) –
Return type:

None

Return type:

None

Last()
Return type:PrsMgr_ModedPresentation
Prepend()
Parameters:
  • T (PrsMgr_ModedPresentation &) –
  • S (PrsMgr_Presentations &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

Set()
Parameters:Other (PrsMgr_Presentations &) –
Return type:PrsMgr_Presentations
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (PrsMgr_ModedPresentation &) –
Return type:

None

Split()
Parameters:
  • Index (Standard_Integer) –
  • Sub (PrsMgr_Presentations &) –
Return type:

None

Value()
Parameters:Index (Standard_Integer) –
Return type:PrsMgr_ModedPresentation
thisown

The membership flag

class OCC.PrsMgr.PrsMgr_Prs(*args)

Bases: OCC.Prs3d.Prs3d_Presentation

Compute()
Return type:None
Parameters:aProjector (Handle_Graphic3d_DataStructureManager &) –
Return type:Handle_Graphic3d_Structure
  • the ‘degenerated’ Structure is displayed with a transformation defined by <AMatrix> which is not a Pure Translation. We have to take in account this Transformation in the computation of hidden line removal... returns a filled Graphic Structure.
Parameters:
  • aProjector (Handle_Graphic3d_DataStructureManager &) –
  • AMatrix (TColStd_Array2OfReal &) –
Return type:

Handle_Graphic3d_Structure

  • No need to return a structure, just to fill <ComputedStruct> ....
Parameters:
  • aProjector (Handle_Graphic3d_DataStructureManager &) –
  • ComputedStruct (Handle_Graphic3d_Structure &) –
Return type:

None

  • No Need to return a Structure, just to Fill <aStructure>. The Trsf has to be taken in account in the computation (Rotation Part....)
Parameters:
  • aProjector (Handle_Graphic3d_DataStructureManager &) –
  • AMatrix (TColStd_Array2OfReal &) –
  • aStructure (Handle_Graphic3d_Structure &) –
Return type:

None

GetHandle()

PrsMgr_Prs_GetHandle(PrsMgr_Prs self) -> Handle_PrsMgr_Prs

thisown

The membership flag

class OCC.PrsMgr.PrsMgr_SequenceNodeOfPresentations(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

PrsMgr_SequenceNodeOfPresentations_GetHandle(PrsMgr_SequenceNodeOfPresentations self) -> Handle_PrsMgr_SequenceNodeOfPresentations

Value()
Return type:PrsMgr_ModedPresentation
thisown

The membership flag

class OCC.PrsMgr.SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()