mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
Automatic restore of IMPLEMENT_STANDARD_RTTIEXT macro (upgrade -rtti)
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
#include <vtkPoints.h>
|
||||
#include <vtkPolyData.h>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IVtkVTK_ShapeData,IVtk_IShapeData)
|
||||
|
||||
const char* const IVtkVTK_ShapeData::ARRNAME_SUBSHAPE_IDS = "SUBSHAPE_IDS";
|
||||
|
||||
const char* const IVtkVTK_ShapeData::ARRNAME_MESH_TYPES = "MESH_TYPES";
|
||||
|
@@ -55,7 +55,7 @@ public:
|
||||
//! Destructor
|
||||
Standard_EXPORT ~IVtkVTK_ShapeData();
|
||||
|
||||
DEFINE_STANDARD_RTTI(IVtkVTK_ShapeData, IVtk_IShapeData)
|
||||
DEFINE_STANDARD_RTTIEXT(IVtkVTK_ShapeData,IVtk_IShapeData)
|
||||
|
||||
//! Insert a coordinate
|
||||
//! @param [in] theX X coordinate
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <vtkRenderWindow.h>
|
||||
#include <vtkTransform.h>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IVtkVTK_View,IVtk_IView)
|
||||
|
||||
// Initialization of VTK object factories.
|
||||
// Since VTK 6 the factory methods require "auto-initialization" depending on
|
||||
// what modules are enabled at VTK configure time.
|
||||
|
@@ -89,7 +89,7 @@ public:
|
||||
//! @return true if conversion was successful, false otherwise
|
||||
Standard_EXPORT virtual bool DisplayToWorld (const gp_XY& theDisplayPnt, gp_XYZ& theWorldPnt) const;
|
||||
|
||||
DEFINE_STANDARD_RTTI(IVtkVTK_View, IVtk_IView)
|
||||
DEFINE_STANDARD_RTTIEXT(IVtkVTK_View,IVtk_IView)
|
||||
|
||||
private:
|
||||
vtkRenderer* myRenderer;
|
||||
|
Reference in New Issue
Block a user