1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +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:
abv
2015-12-04 14:15:06 +03:00
parent f5f4ebd07b
commit 92efcf78a6
4556 changed files with 7149 additions and 2882 deletions

View File

@@ -16,6 +16,8 @@
#include <Graphic3d_ArrayOfPoints.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfPoints,Graphic3d_ArrayOfPrimitives)
Graphic3d_ArrayOfPoints::Graphic3d_ArrayOfPoints (const Standard_Integer theMaxVertexs,
const Standard_Boolean theHasVColors,
const Standard_Boolean theHasVNormals)

View File

@@ -43,7 +43,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfPoints,Graphic3d_ArrayOfPrimitives)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfPoints,Graphic3d_ArrayOfPrimitives)
protected:

View File

@@ -16,6 +16,8 @@
#include <Graphic3d_ArrayOfPolygons.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfPolygons,Graphic3d_ArrayOfPrimitives)
Graphic3d_ArrayOfPolygons::Graphic3d_ArrayOfPolygons (const Standard_Integer theMaxVertexs,
const Standard_Integer theMaxBounds,
const Standard_Integer theMaxEdges,

View File

@@ -121,7 +121,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfPolygons,Graphic3d_ArrayOfPrimitives)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfPolygons,Graphic3d_ArrayOfPrimitives)
protected:

View File

@@ -16,6 +16,8 @@
#include <Graphic3d_ArrayOfPolylines.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfPolylines,Graphic3d_ArrayOfPrimitives)
Graphic3d_ArrayOfPolylines::Graphic3d_ArrayOfPolylines (const Standard_Integer theMaxVertexs,
const Standard_Integer theMaxBounds,
const Standard_Integer theMaxEdges,

View File

@@ -110,7 +110,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfPolylines,Graphic3d_ArrayOfPrimitives)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfPolylines,Graphic3d_ArrayOfPrimitives)
protected:

View File

@@ -29,6 +29,8 @@
#include <stdio.h>
#include <stdlib.h>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfPrimitives,MMgt_TShared)
Graphic3d_ArrayOfPrimitives::Graphic3d_ArrayOfPrimitives (const Graphic3d_TypeOfPrimitiveArray theType,
const Standard_Integer theMaxVertexs,
const Standard_Integer theMaxBounds,

View File

@@ -333,7 +333,7 @@ Standard_Integer AddVertex (const Graphic3d_Vec3& theVertex);
friend class Graphic3d_Group;
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfPrimitives,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfPrimitives,MMgt_TShared)
protected:

View File

@@ -16,6 +16,8 @@
#include <Graphic3d_ArrayOfQuadrangleStrips.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfQuadrangleStrips,Graphic3d_ArrayOfPrimitives)
Graphic3d_ArrayOfQuadrangleStrips::Graphic3d_ArrayOfQuadrangleStrips (const Standard_Integer theMaxVertexs,
const Standard_Integer theMaxStrips,
const Standard_Boolean theHasVNormals,

View File

@@ -63,7 +63,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfQuadrangleStrips,Graphic3d_ArrayOfPrimitives)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfQuadrangleStrips,Graphic3d_ArrayOfPrimitives)
protected:

View File

@@ -17,6 +17,8 @@
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfQuadrangles,Graphic3d_ArrayOfPrimitives)
Graphic3d_ArrayOfQuadrangles::Graphic3d_ArrayOfQuadrangles (const Standard_Integer theMaxVertexs,
const Standard_Integer theMaxEdges,
const Standard_Boolean theHasVNormals,

View File

@@ -81,7 +81,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfQuadrangles,Graphic3d_ArrayOfPrimitives)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfQuadrangles,Graphic3d_ArrayOfPrimitives)
protected:

View File

@@ -16,6 +16,8 @@
#include <Graphic3d_ArrayOfSegments.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfSegments,Graphic3d_ArrayOfPrimitives)
Graphic3d_ArrayOfSegments::Graphic3d_ArrayOfSegments (const Standard_Integer theMaxVertexs,
const Standard_Integer theMaxEdges,
const Standard_Boolean theHasVColors)

View File

@@ -67,7 +67,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfSegments,Graphic3d_ArrayOfPrimitives)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfSegments,Graphic3d_ArrayOfPrimitives)
protected:

View File

@@ -16,6 +16,8 @@
#include <Graphic3d_ArrayOfTriangleFans.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfTriangleFans,Graphic3d_ArrayOfPrimitives)
Graphic3d_ArrayOfTriangleFans::Graphic3d_ArrayOfTriangleFans (const Standard_Integer theMaxVertexs,
const Standard_Integer theMaxFans,
const Standard_Boolean theHasVNormals,

View File

@@ -63,7 +63,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfTriangleFans,Graphic3d_ArrayOfPrimitives)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfTriangleFans,Graphic3d_ArrayOfPrimitives)
protected:

View File

@@ -16,6 +16,8 @@
#include <Graphic3d_ArrayOfTriangleStrips.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfTriangleStrips,Graphic3d_ArrayOfPrimitives)
Graphic3d_ArrayOfTriangleStrips::Graphic3d_ArrayOfTriangleStrips (const Standard_Integer theMaxVertexs,
const Standard_Integer theMaxStrips,
const Standard_Boolean theHasVNormals,

View File

@@ -82,7 +82,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfTriangleStrips,Graphic3d_ArrayOfPrimitives)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfTriangleStrips,Graphic3d_ArrayOfPrimitives)
protected:

View File

@@ -16,6 +16,8 @@
#include <Graphic3d_ArrayOfTriangles.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ArrayOfTriangles,Graphic3d_ArrayOfPrimitives)
Graphic3d_ArrayOfTriangles::Graphic3d_ArrayOfTriangles (const Standard_Integer theMaxVertexs,
const Standard_Integer theMaxEdges,
const Standard_Boolean theHasVNormals,

View File

@@ -78,7 +78,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_ArrayOfTriangles,Graphic3d_ArrayOfPrimitives)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfTriangles,Graphic3d_ArrayOfPrimitives)
protected:

View File

@@ -32,6 +32,8 @@
#include <Standard_Boolean.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_AspectFillArea3d,Aspect_AspectFillArea)
Graphic3d_AspectFillArea3d::Graphic3d_AspectFillArea3d ():
DistinguishModeActive (Standard_False), EdgeModeActive (Standard_False), BackFaceRemovalActive (Standard_False), MyTextureMapState(Standard_False), MyFrontMaterial (), MyBackMaterial ()
{

View File

@@ -171,7 +171,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_AspectFillArea3d,Aspect_AspectFillArea)
DEFINE_STANDARD_RTTIEXT(Graphic3d_AspectFillArea3d,Aspect_AspectFillArea)
protected:

View File

@@ -30,6 +30,8 @@
#include <Quantity_Color.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_AspectLine3d,Aspect_AspectLine)
//-Aliases
//-Global data definitions
//-Constructors

View File

@@ -63,7 +63,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_AspectLine3d,Aspect_AspectLine)
DEFINE_STANDARD_RTTIEXT(Graphic3d_AspectLine3d,Aspect_AspectLine)
protected:

View File

@@ -21,6 +21,8 @@
#include <Standard_Type.hxx>
#include <TColStd_Array1OfByte.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_AspectMarker3d,Aspect_AspectMarker)
// =======================================================================
// function : Graphic3d_AspectMarker3d
// purpose :

View File

@@ -81,7 +81,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_AspectMarker3d,Aspect_AspectMarker)
DEFINE_STANDARD_RTTIEXT(Graphic3d_AspectMarker3d,Aspect_AspectMarker)
protected:

View File

@@ -35,6 +35,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_AspectText3d,MMgt_TShared)
//-Aliases
//-Global data definitions
// -- la font utilisee

View File

@@ -143,7 +143,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_AspectText3d,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Graphic3d_AspectText3d,MMgt_TShared)
protected:

View File

@@ -65,7 +65,7 @@ public:
public:
DEFINE_STANDARD_RTTI(Graphic3d_BoundBuffer, NCollection_Buffer) // Type definition
DEFINE_STANDARD_RTTI_INLINE(Graphic3d_BoundBuffer,NCollection_Buffer) // Type definition
};

View File

@@ -203,7 +203,7 @@ public:
public:
DEFINE_STANDARD_RTTI(Graphic3d_Buffer, NCollection_Buffer) // Type definition
DEFINE_STANDARD_RTTI_INLINE(Graphic3d_Buffer,NCollection_Buffer) // Type definition
};

View File

@@ -19,6 +19,8 @@
#include <Graphic3d_TransModeFlags.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_CStructure,Standard_Transient)
//=============================================================================
//function : Graphic3d_CStructure
//purpose :

View File

@@ -160,7 +160,7 @@ protected:
public:
DEFINE_STANDARD_RTTI(Graphic3d_CStructure, Standard_Transient) // Type definition
DEFINE_STANDARD_RTTIEXT(Graphic3d_CStructure,Standard_Transient) // Type definition
};

View File

@@ -15,6 +15,8 @@
#include <Graphic3d_MapIteratorOfMapOfStructure.hxx>
#include <Graphic3d_StructureManager.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_CView,Graphic3d_DataStructureManager)
//=======================================================================
//function : Constructor
//purpose :

View File

@@ -570,7 +570,7 @@ protected:
private:
DEFINE_STANDARD_RTTI (Graphic3d_CView, Graphic3d_DataStructureManager)
DEFINE_STANDARD_RTTIEXT(Graphic3d_CView,Graphic3d_DataStructureManager)
};
#endif // _Graphic3d_CView_HeaderFile

View File

@@ -26,6 +26,8 @@
#include <NCollection_Sequence.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_Camera,Standard_Transient)
namespace
{
// (degrees -> radians) * 0.5

View File

@@ -637,7 +637,7 @@ private:
public:
DEFINE_STANDARD_RTTI(Graphic3d_Camera, Standard_Transient);
DEFINE_STANDARD_RTTIEXT(Graphic3d_Camera,Standard_Transient);
};
DEFINE_STANDARD_HANDLE (Graphic3d_Camera, Standard_Transient)

View File

@@ -19,6 +19,8 @@
#include <Standard_Atomic.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ClipPlane,Standard_Transient)
namespace
{
static volatile Standard_Integer THE_CLIP_PLANE_COUNTER = 0;

View File

@@ -218,7 +218,7 @@ private:
public:
DEFINE_STANDARD_RTTI(Graphic3d_ClipPlane, Standard_Transient);
DEFINE_STANDARD_RTTIEXT(Graphic3d_ClipPlane,Standard_Transient);
};
DEFINE_STANDARD_HANDLE (Graphic3d_ClipPlane, Standard_Transient)

View File

@@ -25,6 +25,8 @@
#include <Graphic3d_DataStructureManager.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_DataStructureManager,MMgt_TShared)
//-Aliases
//-Global data definitions
//-Constructors

View File

@@ -44,7 +44,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_DataStructureManager,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Graphic3d_DataStructureManager,MMgt_TShared)
protected:

View File

@@ -16,6 +16,8 @@
#include <Graphic3d_GraphicDriver.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_GraphicDriver,MMgt_TShared)
// =======================================================================
// function : Graphic3d_GraphicDriver
// purpose :

View File

@@ -139,7 +139,7 @@ public:
Standard_EXPORT void ResetDeviceLostFlag();
DEFINE_STANDARD_RTTI(Graphic3d_GraphicDriver,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Graphic3d_GraphicDriver,MMgt_TShared)
protected:

View File

@@ -39,6 +39,8 @@
#include <TCollection_AsciiString.hxx>
#include <TCollection_ExtendedString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_Group,MMgt_TShared)
#define MyContainsFacet myCBitFields.bool2
// =======================================================================

View File

@@ -298,7 +298,7 @@ public:
friend class Graphic3d_Structure;
DEFINE_STANDARD_RTTI(Graphic3d_Group,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Graphic3d_Group,MMgt_TShared)
protected:

View File

@@ -72,7 +72,7 @@ public:
public:
DEFINE_STANDARD_RTTI(Graphic3d_IndexBuffer, Graphic3d_Buffer) // Type definition
DEFINE_STANDARD_RTTI_INLINE(Graphic3d_IndexBuffer,Graphic3d_Buffer) // Type definition
};

View File

@@ -19,6 +19,8 @@
#include <Standard_Atomic.hxx>
#include <TColStd_HArray1OfByte.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_MarkerImage,Standard_Transient)
namespace
{
static volatile Standard_Integer THE_MARKER_IMAGE_COUNTER = 0;

View File

@@ -78,7 +78,7 @@ private:
public:
DEFINE_STANDARD_RTTI(Graphic3d_MarkerImage, Standard_Transient) // Type definition
DEFINE_STANDARD_RTTIEXT(Graphic3d_MarkerImage,Standard_Transient) // Type definition
};

View File

@@ -19,6 +19,8 @@
#include <Graphic3d_ShaderObject.hxx>
#include <Graphic3d_GraphicDriver.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ShaderObject,Standard_Transient)
namespace
{
static volatile Standard_Integer THE_SHADER_OBJECT_COUNTER = 0;

View File

@@ -60,7 +60,7 @@ public:
public:
DEFINE_STANDARD_RTTI (Graphic3d_ShaderObject, Standard_Transient)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ShaderObject,Standard_Transient)
protected:

View File

@@ -24,6 +24,8 @@
#include <OSD_File.hxx>
#include <OSD_Path.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ShaderProgram,Standard_Transient)
namespace
{
static volatile Standard_Integer THE_PROGRAM_OBJECT_COUNTER = 0;

View File

@@ -101,7 +101,7 @@ public:
public:
DEFINE_STANDARD_RTTI (Graphic3d_ShaderProgram, Standard_Transient)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ShaderProgram,Standard_Transient)
private:

View File

@@ -18,6 +18,8 @@
#include <Graphic3d_ShaderVariable.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ShaderVariable,Standard_Transient)
// Specific instantiations of struct templates to avoid compilation warnings
template struct Graphic3d_UniformValue<Standard_Integer>;
template struct Graphic3d_UniformValue<Standard_ShortReal>;

View File

@@ -144,7 +144,7 @@ public:
public:
DEFINE_STANDARD_RTTI (Graphic3d_ShaderVariable, Standard_Transient)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ShaderVariable,Standard_Transient)
protected:

View File

@@ -40,6 +40,8 @@
#include <TColStd_Array2OfReal.hxx>
#include <stdio.h>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_Structure,MMgt_TShared)
//=============================================================================
//function : Graphic3d_Structure
//purpose :

View File

@@ -487,7 +487,7 @@ public:
friend class Graphic3d_Group;
DEFINE_STANDARD_RTTI(Graphic3d_Structure,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Graphic3d_Structure,MMgt_TShared)
protected:

View File

@@ -34,12 +34,15 @@
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_StructureManager,MMgt_TShared)
static Standard_Boolean Initialisation = Standard_True;
static int StructureManager_ArrayId[StructureManager_MAX];
static Standard_Integer StructureManager_CurrentId = 0;
#include "Graphic3d_Structure.pxx"
#include <Graphic3d_MapIteratorOfMapOfStructure.hxx>
#include <Graphic3d_CView.hxx>
Graphic3d_StructureManager::Graphic3d_StructureManager (const Handle(Graphic3d_GraphicDriver)& theDriver)
: myViewGenId (0, 31)

View File

@@ -232,7 +232,7 @@ public:
friend class Graphic3d_Structure;
DEFINE_STANDARD_RTTI(Graphic3d_StructureManager,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Graphic3d_StructureManager,MMgt_TShared)
protected:

View File

@@ -20,6 +20,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_Texture1D,Graphic3d_TextureMap)
static const char *NameOfTexture_to_FileName[] =
{
"1d_elevation.rgb"

View File

@@ -55,7 +55,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_Texture1D,Graphic3d_TextureMap)
DEFINE_STANDARD_RTTIEXT(Graphic3d_Texture1D,Graphic3d_TextureMap)
protected:

View File

@@ -20,6 +20,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_Texture1Dmanual,Graphic3d_Texture1D)
// =======================================================================
// function : Graphic3d_Texture1Dmanual
// purpose :

View File

@@ -49,7 +49,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_Texture1Dmanual,Graphic3d_Texture1D)
DEFINE_STANDARD_RTTIEXT(Graphic3d_Texture1Dmanual,Graphic3d_Texture1D)
protected:

View File

@@ -21,6 +21,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_Texture1Dsegment,Graphic3d_Texture1D)
// =======================================================================
// function : Graphic3d_Texture1Dsegment
// purpose :

View File

@@ -60,7 +60,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_Texture1Dsegment,Graphic3d_Texture1D)
DEFINE_STANDARD_RTTIEXT(Graphic3d_Texture1Dsegment,Graphic3d_Texture1D)
protected:

View File

@@ -20,6 +20,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_Texture2D,Graphic3d_TextureMap)
static const char *NameOfTexture_to_FileName[] =
{
"2d_MatraDatavision.rgb",

View File

@@ -55,7 +55,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_Texture2D,Graphic3d_TextureMap)
DEFINE_STANDARD_RTTIEXT(Graphic3d_Texture2D,Graphic3d_TextureMap)
protected:

View File

@@ -21,6 +21,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_Texture2Dmanual,Graphic3d_Texture2D)
// =======================================================================
// function : Graphic3d_Texture2Dmanual
// purpose :

View File

@@ -50,7 +50,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_Texture2Dmanual,Graphic3d_Texture2D)
DEFINE_STANDARD_RTTIEXT(Graphic3d_Texture2Dmanual,Graphic3d_Texture2D)
protected:

View File

@@ -21,6 +21,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_Texture2Dplane,Graphic3d_Texture2D)
// =======================================================================
// function : Graphic3d_Texture2Dplane
// purpose :

View File

@@ -121,7 +121,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_Texture2Dplane,Graphic3d_Texture2D)
DEFINE_STANDARD_RTTIEXT(Graphic3d_Texture2Dplane,Graphic3d_Texture2D)
protected:

View File

@@ -23,6 +23,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_TextureEnv,Graphic3d_TextureRoot)
static const char *NameOfTexture_to_FileName[] =
{
"env_clouds.rgb",

View File

@@ -63,7 +63,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_TextureEnv,Graphic3d_TextureRoot)
DEFINE_STANDARD_RTTIEXT(Graphic3d_TextureEnv,Graphic3d_TextureRoot)
protected:

View File

@@ -20,6 +20,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_TextureMap,Graphic3d_TextureRoot)
// =======================================================================
// function : Graphic3d_TextureMap
// purpose :

View File

@@ -88,7 +88,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_TextureMap,Graphic3d_TextureRoot)
DEFINE_STANDARD_RTTIEXT(Graphic3d_TextureMap,Graphic3d_TextureRoot)
protected:

View File

@@ -15,6 +15,8 @@
#include <Graphic3d_TextureParams.hxx>
#include <Standard_Type.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_TextureParams,Standard_Transient)
// =======================================================================
// function : Graphic3d_TextureParams
// purpose :

View File

@@ -110,7 +110,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_TextureParams,Standard_Transient)
DEFINE_STANDARD_RTTIEXT(Graphic3d_TextureParams,Standard_Transient)
protected:

View File

@@ -28,6 +28,8 @@
#include <Standard_Type.hxx>
#include <TCollection_AsciiString.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_TextureRoot,MMgt_TShared)
namespace
{
static volatile Standard_Integer THE_TEXTURE_COUNTER = 0;

View File

@@ -96,7 +96,7 @@ public:
DEFINE_STANDARD_RTTI(Graphic3d_TextureRoot,MMgt_TShared)
DEFINE_STANDARD_RTTIEXT(Graphic3d_TextureRoot,MMgt_TShared)
protected:

View File

@@ -16,3 +16,5 @@
#include <Graphic3d_ViewAffinity.hxx>
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ViewAffinity,Standard_Transient)

View File

@@ -65,7 +65,7 @@ private:
public:
DEFINE_STANDARD_RTTI(Graphic3d_ViewAffinity, Standard_Transient)
DEFINE_STANDARD_RTTIEXT(Graphic3d_ViewAffinity,Standard_Transient)
};