mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-01 19:50:24 +08:00
0032247: VIS, IVtkOCC_ShapeMesher - allow disabling auto-triangulation behavior
IVtkOCC_Shape now stores Prs3d_Drawer object used by IVtkOCC_ShapeMesher and IVtkOCC_SelectableObject. IVtkOCC_ShapeMesher::internalBuild() made more consistent to AIS_Shape::Compute() in cleaning/triangulating shape. Added command ivtkdefaults similar to vdefaults managing triangulation default parameters.
This commit is contained in:
@@ -51,7 +51,8 @@ public: //! @name Initialization
|
||||
|
||||
//! Get the source OCCT shape.
|
||||
//! @return occShape OCCT shape wrapper.
|
||||
IVtkOCC_Shape::Handle GetShape();
|
||||
const IVtkOCC_Shape::Handle& GetShape() { return myOccShape; }
|
||||
|
||||
inline void FastTransformModeOn() { myIsFastTransformMode = true; }
|
||||
inline void FastTransformModeOff() { myIsFastTransformMode = false; }
|
||||
|
||||
@@ -82,7 +83,7 @@ protected: //! @name Interface to override
|
||||
//! @param theOutputVector [in] the pointer to output data, that is filled in this method.
|
||||
virtual int RequestData(vtkInformation* theRequest,
|
||||
vtkInformationVector** theInputVector,
|
||||
vtkInformationVector* theOutputVector);
|
||||
vtkInformationVector* theOutputVector) Standard_OVERRIDE;
|
||||
|
||||
protected: //! @name Internals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user