deferred class ColorScale;
- imported DisplayConnection;
-
- imported DisplayConnection_Handle;
+ imported transient class DisplayConnection;
-------------------------
-- Category: Enumerations
#define _Aspect_DisplayConnection_H__
#include <Standard_Transient.hxx>
-#include <Aspect_DisplayConnection_Handle.hxx>
#include <Aspect_XAtom.hxx>
#include <TCollection_AsciiString.hxx>
};
+DEFINE_STANDARD_HANDLE (Aspect_DisplayConnection, Standard_Transient)
+
#endif // _Aspect_DisplayConnection_H__
+++ /dev/null
-// Copyright (c) 2013-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Aspect_DisplayConnection_Handle_H__
-#define _Aspect_DisplayConnection_Handle_H__
-
-#include <Standard_Transient.hxx>
-
-// Handle for DisplayConnection;
-
-class Aspect_DisplayConnection;
-DEFINE_STANDARD_HANDLE(Aspect_DisplayConnection, Standard_Transient)
-typedef Handle(Aspect_DisplayConnection) Aspect_DisplayConnection_Handle;
-
-#endif // _Aspect_DisplayConnection_Handle_H__
Aspect_Convert.hxx
Aspect_DisplayConnection.hxx
Aspect_DisplayConnection.cxx
-Aspect_DisplayConnection_Handle.hxx
Graphic3d_BndBox4d.hxx
Graphic3d_BndBox4f.hxx
Graphic3d_Buffer.hxx
-Graphic3d_Buffer_Handle.hxx
Graphic3d_BoundBuffer.hxx
-Graphic3d_BoundBuffer_Handle.hxx
Graphic3d_IndexBuffer.hxx
-Graphic3d_IndexBuffer_Handle.hxx
Graphic3d_CAspectFillArea.hxx
Graphic3d_CAspectLine.hxx
Graphic3d_CAspectMarker.hxx
Graphic3d_CAspectText.hxx
Graphic3d_CStructure.cxx
Graphic3d_CStructure.hxx
-Graphic3d_CStructure_Handle.hxx
Graphic3d_CBitFields16.hxx
Graphic3d_CBitFields20.hxx
Graphic3d_CBitFields8.hxx
Graphic3d_ShaderVariable.hxx
Graphic3d_ShaderVariable.cxx
Graphic3d_ShaderVariable.lxx
-Graphic3d_ShaderObject_Handle.hxx
-Graphic3d_ShaderProgram_Handle.hxx
-Graphic3d_ShaderVariable_Handle.hxx
Graphic3d_MapOfStructure.hxx
Graphic3d_MapIteratorOfMapOfStructure.hxx
Graphic3d_TypeOfShaderObject.hxx
Graphic3d_Vertex.cxx
Graphic3d_MarkerImage.hxx
Graphic3d_MarkerImage.cxx
-Graphic3d_MarkerImage_Handle.hxx
Graphic3d_ClipPlane.hxx
Graphic3d_ClipPlane.cxx
-Graphic3d_ClipPlane_Handle.hxx
Graphic3d_SequenceOfGroup.hxx
Graphic3d_SequenceOfHClipPlane.hxx
-Graphic3d_SequenceOfHClipPlane_Handle.hxx
Graphic3d_Camera.cxx
Graphic3d_Camera.hxx
-Graphic3d_Camera_Handle.hxx
Graphic3d_RenderingParams.hxx
Graphic3d_NMapOfTransient.hxx
imported BndBox4f;
---Purpose: Redefines BVH_Box<Standard_ShortReal, 4> for AABB representation
---Category: Imported types
- imported Buffer;
- imported Buffer_Handle;
- imported BoundBuffer;
- imported BoundBuffer_Handle;
- imported IndexBuffer;
- imported IndexBuffer_Handle;
+ imported transient class Buffer;
+ imported transient class BoundBuffer;
+ imported transient class IndexBuffer;
imported BndBox4d;
imported BufferType;
imported CAspectLine;
imported CAspectText;
- imported CStructure;
+ imported transient class CStructure;
---Category: Imported types
pointer CStructurePtr to CStructure from Graphic3d;
- imported CStructure_Handle;
-
imported CLight;
---Category: Imported types
imported GraduatedTrihedron;
---Category: Imported types
- imported ClipPlane;
+ imported transient class ClipPlane;
---Category: Imported types
- imported ClipPlane_Handle;
imported CTexture;
imported CTransPersStruct;
imported TransModeFlags;
- imported MarkerImage;
- imported MarkerImage_Handle;
- imported Camera_Handle;
+ imported transient class MarkerImage;
+ imported transient class Camera;
primitive PtrFrameBuffer;
primitive Vec2;
imported NListOfHAsciiString;
---Category: Instantiated classes
- imported ShaderProgram_Handle;
+ imported transient class ShaderProgram;
---Category: Instantiated classes
imported SequenceOfHClipPlane;
uses
TypeOfPrimitiveArray from Graphic3d,
- Buffer_Handle from Graphic3d,
- BoundBuffer_Handle from Graphic3d,
- IndexBuffer_Handle from Graphic3d,
+ Buffer from Graphic3d,
+ BoundBuffer from Graphic3d,
+ IndexBuffer from Graphic3d,
Vec3 from Graphic3d,
Color from Quantity,
Pnt from gp,
-------------------------------------------------------------------
Indices (me)
- returns IndexBuffer_Handle from Graphic3d;
+ returns IndexBuffer from Graphic3d;
---Purpose: Returns optional index buffer.
---C++: inline
---C++: return const &
Attributes (me)
- returns Buffer_Handle from Graphic3d;
+ returns Buffer from Graphic3d;
---Purpose: Returns vertex attributes buffer (colors, normals, texture coordinates).
---C++: inline
---C++: return const &
Bounds (me)
- returns BoundBuffer_Handle from Graphic3d;
+ returns BoundBuffer from Graphic3d;
---Purpose: Returns optional bounds buffer.
---C++: inline
---C++: return const &
fields
- myIndices : IndexBuffer_Handle from Graphic3d; -- optional index buffer
- myAttribs : Buffer_Handle from Graphic3d; -- vertex attributes buffer (colors, normals, texture coordinates)
- myBounds : BoundBuffer_Handle from Graphic3d; -- vertex attributes buffer (colors, normals, texture coordinates)
+ myIndices : IndexBuffer from Graphic3d; -- optional index buffer
+ myAttribs : Buffer from Graphic3d; -- vertex attributes buffer (colors, normals, texture coordinates)
+ myBounds : BoundBuffer from Graphic3d; -- vertex attributes buffer (colors, normals, texture coordinates)
myType : TypeOfPrimitiveArray from Graphic3d;
uses
- Color from Quantity,
- Ratio from Quantity,
+ Color from Quantity,
+ Ratio from Quantity,
- TypeOfLine from Aspect,
- InteriorStyle from Aspect,
+ TypeOfLine from Aspect,
+ InteriorStyle from Aspect,
- MaterialAspect from Graphic3d,
- TextureMap from Graphic3d,
+ MaterialAspect from Graphic3d,
+ TextureMap from Graphic3d,
- ShaderProgram_Handle from Graphic3d
+ ShaderProgram from Graphic3d
is
---Category: Methods to modify the class definition
SetShaderProgram ( me : mutable;
- theProgram : ShaderProgram_Handle from Graphic3d );
+ theProgram : ShaderProgram from Graphic3d );
---Level: Public
---Purpose: Sets up OpenGL/GLSL shader program.
---Category: Methods to modify the class definition
---Category: Inquire methods
ShaderProgram ( me )
- returns ShaderProgram_Handle from Graphic3d;
+ returns ShaderProgram from Graphic3d;
---C++: return const &
--
MyPolygonOffsetFactor : ShortReal from Standard;
MyPolygonOffsetUnits : ShortReal from Standard;
- MyShaderProgram : ShaderProgram_Handle from Graphic3d;
+ MyShaderProgram : ShaderProgram from Graphic3d;
end AspectFillArea3d;
uses
- Color from Quantity,
- TypeOfLine from Aspect,
- ShaderProgram_Handle from Graphic3d
+ Color from Quantity,
+ TypeOfLine from Aspect,
+ ShaderProgram from Graphic3d
is
-- The supported linewidths vary by 1-pixel units.
SetShaderProgram ( me : mutable;
- theProgram : ShaderProgram_Handle from Graphic3d );
+ theProgram : ShaderProgram from Graphic3d );
---Level: Public
---Purpose: Sets up OpenGL/GLSL shader program.
ShaderProgram ( me )
- returns ShaderProgram_Handle from Graphic3d;
+ returns ShaderProgram from Graphic3d;
---C++: return const &
fields
-- defined by AspectLine.
--
- MyShaderProgram : ShaderProgram_Handle from Graphic3d;
+ MyShaderProgram : ShaderProgram from Graphic3d;
end AspectLine3d;
uses
- Color from Quantity,
- TypeOfMarker from Aspect,
- HArray1OfByte from TColStd,
- PixMap_Handle from Image,
- MarkerImage_Handle from Graphic3d,
- ShaderProgram_Handle from Graphic3d
+ Color from Quantity,
+ TypeOfMarker from Aspect,
+ HArray1OfByte from TColStd,
+ PixMap_Handle from Image,
+ MarkerImage from Graphic3d,
+ ShaderProgram from Graphic3d
is
---Purpose: Returns marker's texture size.
GetMarkerImage (me)
- returns MarkerImage_Handle from Graphic3d;
+ returns MarkerImage from Graphic3d;
---Level: Public
---Purpose: Returns marker's image texture.
--- Could be null handle if marker aspect has been initialized as
---C++: return const &
SetMarkerImage (me : mutable;
- theImage : MarkerImage_Handle from Graphic3d);
+ theImage : MarkerImage from Graphic3d);
---Level: Public
---Purpose: Set marker's image texture.
theTexture: HArray1OfByte from TColStd ) is static;
SetShaderProgram ( me : mutable;
- theProgram : ShaderProgram_Handle from Graphic3d );
+ theProgram : ShaderProgram from Graphic3d );
---Level: Public
---Purpose: Sets up OpenGL/GLSL shader program.
ShaderProgram ( me )
- returns ShaderProgram_Handle from Graphic3d;
+ returns ShaderProgram from Graphic3d;
---C++: return const &
fields
-- - the scale factor
-- defined by AspectMarker.
-myMarkerImage : MarkerImage_Handle from Graphic3d is protected;
+myMarkerImage : MarkerImage from Graphic3d is protected;
-MyShaderProgram : ShaderProgram_Handle from Graphic3d;
+MyShaderProgram : ShaderProgram from Graphic3d;
end AspectMarker3d;
uses
- Color from Quantity,
- TypeOfStyleText from Aspect,
- TypeOfDisplayText from Aspect,
- AsciiString from TCollection,
- FontAspect from Font,
- ShaderProgram_Handle from Graphic3d
+ Color from Quantity,
+ TypeOfStyleText from Aspect,
+ TypeOfDisplayText from Aspect,
+ AsciiString from TCollection,
+ FontAspect from Font,
+ ShaderProgram from Graphic3d
raises
---Purpose: Returns text FontAspect
SetShaderProgram ( me : mutable;
- theProgram : ShaderProgram_Handle from Graphic3d );
+ theProgram : ShaderProgram from Graphic3d );
---Level: Public
---Purpose: Sets up OpenGL/GLSL shader program.
---Category: Inquire methods
ShaderProgram ( me )
- returns ShaderProgram_Handle from Graphic3d;
+ returns ShaderProgram from Graphic3d;
---C++: return const &
--
-- the variable turning FontAspect of the text
MyTextFontAspect : FontAspect from Font;
- MyShaderProgram : ShaderProgram_Handle from Graphic3d;
+ MyShaderProgram : ShaderProgram from Graphic3d;
end AspectText3d;
+++ /dev/null
-// Copyright (c) 2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Graphic3d_BoundBuffer_Handle_HeaderFile
-#define _Graphic3d_BoundBuffer_Handle_HeaderFile
-
-#include <Graphic3d_BoundBuffer.hxx>
-typedef Handle(Graphic3d_BoundBuffer) Graphic3d_BoundBuffer_Handle;
-
-#endif // _Graphic3d_BoundBuffer_Handle_HeaderFile
+++ /dev/null
-// Copyright (c) 2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Graphic3d_Buffer_Handle_HeaderFile
-#define _Graphic3d_Buffer_Handle_HeaderFile
-
-#include <Graphic3d_Buffer.hxx>
-typedef Handle(Graphic3d_Buffer) Graphic3d_Buffer_Handle;
-
-#endif // _Graphic3d_Buffer_Handle_HeaderFile
#include <InterfaceGraphic_Visual3d.hxx>
#include <Graphic3d_CTexture.hxx>
-#include <Graphic3d_ShaderProgram_Handle.hxx>
+#include <Graphic3d_ShaderProgram.hxx>
class Graphic3d_CAspectFillArea
{
#include <InterfaceGraphic_Visual3d.hxx>
#include <Graphic3d_CTexture.hxx>
-#include <Graphic3d_ShaderProgram_Handle.hxx>
+#include <Graphic3d_ShaderProgram.hxx>
class Graphic3d_CAspectLine
{
#include <Aspect_TypeOfMarker.hxx>
#include <InterfaceGraphic_Visual3d.hxx>
#include <Graphic3d_CTexture.hxx>
-#include <Graphic3d_MarkerImage_Handle.hxx>
-#include <Graphic3d_ShaderProgram_Handle.hxx>
+#include <Graphic3d_MarkerImage.hxx>
+#include <Graphic3d_ShaderProgram.hxx>
class Graphic3d_CAspectMarker
{
#include <InterfaceGraphic_Visual3d.hxx>
#include <Graphic3d_CTexture.hxx>
-#include <Graphic3d_ShaderProgram_Handle.hxx>
+#include <Graphic3d_ShaderProgram.hxx>
class Graphic3d_CAspectText
{
#define _Graphic3d_CStructure_HeaderFile
#include <Graphic3d_BndBox4f.hxx>
-#include <Graphic3d_CStructure_Handle.hxx>
#include <Graphic3d_Group.hxx>
#include <Graphic3d_SequenceOfGroup.hxx>
#include <Graphic3d_SequenceOfHClipPlane.hxx>
#include <Graphic3d_TypeOfComposition.hxx>
#include <Graphic3d_ViewAffinity.hxx>
+#include <Graphic3d_StructureManager.hxx>
#include <Graphic3d_Vec3.hxx>
#include <Graphic3d_ZLayerId.hxx>
#include <Standard_Transient.hxx>
#include <Handle_Graphic3d_GraphicDriver.hxx>
+//! Forward declaration.
class Handle(Graphic3d_StructureManager);
+class Handle(Graphic3d_CStructure);
//! Low-level graphic structure interface
class Graphic3d_CStructure : public Standard_Transient
};
+DEFINE_STANDARD_HANDLE (Graphic3d_CStructure, Standard_Transient)
+
#endif // _Graphic3d_CStructure_HeaderFile
+++ /dev/null
-// Copyright (c) 2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Graphic3d_CStructure_Handle_H__
-#define _Graphic3d_CStructure_Handle_H__
-
-#include <Standard_DefineHandle.hxx>
-#include <Handle_Standard_Transient.hxx>
-
-class Graphic3d_CStructure;
-DEFINE_STANDARD_HANDLE(Graphic3d_CStructure, Standard_Transient)
-typedef Handle(Graphic3d_CStructure) Graphic3d_CStructure_Handle;
-
-#endif // _Graphic3d_CStructure_Handle_H__
#include <Bnd_Box.hxx>
-DEFINE_STANDARD_HANDLE (Graphic3d_Camera, Standard_Transient)
+//! Forward declaration
+class Handle(Graphic3d_Camera);
//! Camera class provides object-oriented approach to setting up projection
//! and orientation properties of 3D view.
};
+DEFINE_STANDARD_HANDLE (Graphic3d_Camera, Standard_Transient)
+
#endif
+++ /dev/null
-// Created on: 2013-05-31
-// Created by: Anton POLETAEV
-// Copyright (c) 1999-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Graphic3d_Camera_Handle_H__
-#define _Graphic3d_Camera_Handle_H__
-
-#include <Graphic3d_Camera.hxx>
-typedef Handle(Graphic3d_Camera) Graphic3d_Camera_Handle;
-
-#endif
#include <Graphic3d_TextureMap.hxx>
#include <Aspect_HatchStyle.hxx>
-DEFINE_STANDARD_HANDLE (Graphic3d_ClipPlane, Standard_Transient)
-
class gp_Pln;
class Graphic3d_AspectFillArea3d;
class Handle(Graphic3d_AspectFillArea3d);
+class Handle(Graphic3d_ClipPlane);
//! Container for properties describing graphic driver clipping planes.
//! It is up to application to create instances of this class and specify its
DEFINE_STANDARD_RTTI(Graphic3d_ClipPlane);
};
+DEFINE_STANDARD_HANDLE (Graphic3d_ClipPlane, Standard_Transient)
+
#endif
+++ /dev/null
-// Created on: 2013-07-12
-// Created by: Anton POLETAEV
-// Copyright (c) 2013-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Graphic3d_ClipPlane_Handle_HeaderFile
-#define _Graphic3d_ClipPlane_Handle_HeaderFile
-
-#include <Graphic3d_ClipPlane.hxx>
-//! CDL-compatibility handle type definition for clip plane objects.
-typedef Handle(Graphic3d_ClipPlane) Graphic3d_ClipPlane_Handle;
-
-#endif
Handle from Aspect,
Display from Aspect,
PrintAlgo from Aspect,
- DisplayConnection_Handle from Aspect,
+ DisplayConnection from Aspect,
ZLayerId from Graphic3d,
ZLayerSettings from Graphic3d,
CLight from Graphic3d,
CPlane from Graphic3d,
CStructure from Graphic3d,
- CStructure_Handle from Graphic3d,
CView from Graphic3d,
BufferType from Graphic3d,
Structure from Graphic3d,
TransformError from Graphic3d
is
- Initialize (theDisp : DisplayConnection_Handle from Aspect)
+ Initialize (theDisp : DisplayConnection from Aspect)
returns GraphicDriver from Graphic3d;
---Level: Public
---Purpose: Initialises the Driver
---Purpose: call_togl_erasestructure
RemoveStructure ( me : mutable;
- theCStructure : in out CStructure_Handle from Graphic3d )
+ theCStructure : in out CStructure from Graphic3d )
is deferred;
---Purpose: call_togl_removestructure
Structure (me : mutable;
theManager : StructureManager from Graphic3d)
- returns CStructure_Handle from Graphic3d
+ returns CStructure from Graphic3d
is deferred;
---Purpose: Creates new empty graphic structure
is deferred;
---Purpose: Display structure in immediate mode on top of general presentation
- EraseImmediateStructure ( me : mutable;
- theCView : CView from Graphic3d;
- theCStructure : CStructure from Graphic3d )
- is deferred;
- ---Purpose: Erases immediate structure
+ ---C++: alias "
+ //! Erases immediate structure
+ Standard_EXPORT virtual void EraseImmediateStructure (const Graphic3d_CView& theCView, const Graphic3d_CStructure& theCStructure) = 0;"
-------------------------------
-- Category: Layer mode methods
-- indexes will be set to default layer ( the bottom-level z layer
-- with ID = 0 ).
- ChangeZLayer( me : mutable;
- theCStructure : CStructure from Graphic3d;
- theCView : CView from Graphic3d;
- theNewLayerId : ZLayerId from Graphic3d )
- is deferred;
- ---Purpose: Change Z layer of a structure already presented in view.
+ ---C++: alias "
+ //! Change Z layer of a structure already presented in view.
+ Standard_EXPORT virtual void ChangeZLayer (const Graphic3d_CStructure& theCStructure, const Graphic3d_CView& theCView, const Graphic3d_ZLayerId theNewLayerId) = 0;"
SetZLayerSettings( me : mutable;
theCView : CView from Graphic3d;
is deferred;
---Purpose: Sets the settings for a single Z layer of specified view.
- ChangePriority( me : mutable;
- theCStructure : CStructure from Graphic3d;
- theCView : CView from Graphic3d;
- theNewPriority : Integer from Standard )
- is deferred;
- ---Purpose: Changes the priority of a structure within its Z layer
- -- in the specified view.
+ ---C++: alias "
+ //! Changes the priority of a structure within its Z layer in the specified view.
+ Standard_EXPORT virtual void ChangePriority (const Graphic3d_CStructure& theCStructure, const Graphic3d_CView& theCView, const Standard_Integer theNewPriority) = 0;"
-----------------------------
-- Category: Internal methods
ACLight : CLight from Graphic3d;
AField : Integer from Standard );
- PrintCStructure ( me;
- ACStructure : CStructure from Graphic3d;
- AField : Integer from Standard );
+ ---C++: alias "
+ Standard_EXPORT void PrintCStructure (const Graphic3d_CStructure& ACStructure, const Standard_Integer AField) const;"
PrintCView ( me;
ACView : CView from Graphic3d;
is static;
GetDisplayConnection (me)
- returns DisplayConnection_Handle from Aspect;
+ returns DisplayConnection from Aspect;
---C++: return const &
---Purpose: returns Handle to display connection
fields
MyTraceLevel : Integer from Standard is protected;
- myDisplayConnection: DisplayConnection_Handle from Aspect is protected;
+ myDisplayConnection: DisplayConnection from Aspect is protected;
myDeviceLostFlag : Boolean from Standard is protected;
end GraphicDriver from Graphic3d;
VerticalTextAlignment from Graphic3d,
ArrayOfPrimitives from Graphic3d,
TypeOfPrimitiveArray from Graphic3d,
- IndexBuffer_Handle from Graphic3d,
- Buffer_Handle from Graphic3d,
- BoundBuffer_Handle from Graphic3d,
+ IndexBuffer from Graphic3d,
+ Buffer from Graphic3d,
+ BoundBuffer from Graphic3d,
TransModeFlags from Graphic3d,
BndBox4f from Graphic3d,
Ax2 from gp
AddPrimitiveArray (me : mutable;
theType : TypeOfPrimitiveArray from Graphic3d;
- theIndices : IndexBuffer_Handle from Graphic3d;
- theAttribs : Buffer_Handle from Graphic3d;
- theBounds : BoundBuffer_Handle from Graphic3d;
+ theIndices : IndexBuffer from Graphic3d;
+ theAttribs : Buffer from Graphic3d;
+ theBounds : BoundBuffer from Graphic3d;
theToEvalMinMax : Boolean from Standard = Standard_True) is virtual;
---Level: Public
---Purpose: Adds an array of primitives for display
+++ /dev/null
-// Copyright (c) 2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Graphic3d_IndexBuffer_Handle_HeaderFile
-#define _Graphic3d_IndexBuffer_Handle_HeaderFile
-
-#include <Graphic3d_IndexBuffer.hxx>
-typedef Handle(Graphic3d_IndexBuffer) Graphic3d_IndexBuffer_Handle;
-
-#endif // _Graphic3d_IndexBuffer_Handle_HeaderFile
#ifndef _Graphic3d_MarkerImage_H__
#define _Graphic3d_MarkerImage_H__
-#include <Graphic3d_MarkerImage_Handle.hxx>
-
#include <TColStd_HArray1OfByte.hxx>
#include <Image_PixMap_Handle.hxx>
#include <Quantity_Parameter.hxx>
};
+DEFINE_STANDARD_HANDLE (Graphic3d_MarkerImage, Standard_Transient)
+
#endif // _Graphic3d_MarkerImage_H__
+++ /dev/null
-// Created on: 2013-06-25
-// Created by: Dmitry BOBYLEV
-// Copyright (c) 2013-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Graphic3d_TextureBitMap_Handle_H__
-#define _Graphic3d_TextureBitMap_Handle_H__
-
-#include <Standard_DefineHandle.hxx>
-#include <Standard_Transient.hxx>
-
-class Graphic3d_TextureBitMap;
-DEFINE_STANDARD_HANDLE(Graphic3d_MarkerImage, Standard_Transient)
-typedef Handle(Graphic3d_MarkerImage) Graphic3d_MarkerImage_Handle;
-
-#endif // _Graphic3d_TextureBitMap_Handle_H__
+++ /dev/null
-// Created on: 2013-10-08
-// Created by: Anton POLETAEV
-// Copyright (c) 2013-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Graphic3d_SequenceOfHClipPlane_Handle_HeaderFile
-#define _Graphic3d_SequenceOfHClipPlane_Handle_HeaderFile
-
-#include <NCollection_Handle.hxx>
-#include <Graphic3d_SequenceOfHClipPlane.hxx>
-
-typedef NCollection_Handle<Graphic3d_SequenceOfHClipPlane> Handle(Graphic3d_SequenceOfHClipPlane);
-
-#endif
#include <OSD_Path.hxx>
#include <Graphic3d_TypeOfShaderObject.hxx>
-#include <Graphic3d_ShaderObject_Handle.hxx>
+
+//! Forward declaration
+class Handle(Graphic3d_ShaderObject);
//! This class is responsible for managing shader objects.
class Graphic3d_ShaderObject : public Standard_Transient
Graphic3d_TypeOfShaderObject myType;
};
+DEFINE_STANDARD_HANDLE (Graphic3d_ShaderObject, Standard_Transient)
+
#endif
+++ /dev/null
-// Created on: 2013-09-20
-// Created by: Denis BOGOLEPOV
-// Copyright (c) 2013-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Handle_Graphic3d_ShaderObject_HeaderFile
-#define _Handle_Graphic3d_ShaderObject_HeaderFile
-
-#include <Standard_Transient.hxx>
-
-class Graphic3d_ShaderObject;
-DEFINE_STANDARD_HANDLE (Graphic3d_ShaderObject, Standard_Transient)
-
-typedef Handle(Graphic3d_ShaderObject) Graphic3d_ShaderObject_Handle;
-
-#endif
#ifndef _Graphic3d_ShaderProgram_HeaderFile
#define _Graphic3d_ShaderProgram_HeaderFile
-#include <Graphic3d_ShaderObject_Handle.hxx>
-#include <Graphic3d_ShaderProgram_Handle.hxx>
+#include <Graphic3d_ShaderObject.hxx>
#include <Graphic3d_ShaderVariable.hxx>
#include <NCollection_Sequence.hxx>
};
+DEFINE_STANDARD_HANDLE (Graphic3d_ShaderProgram, Standard_Transient)
+
// =======================================================================
// function : PushVariable
// purpose : Pushes custom uniform variable to the program
+++ /dev/null
-// Created on: 2013-09-20
-// Created by: Denis BOGOLEPOV
-// Copyright (c) 2013-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Handle_Graphic3d_ShaderProgram_HeaderFile
-#define _Handle_Graphic3d_ShaderProgram_HeaderFile
-
-#include <Standard_Transient.hxx>
-
-class Graphic3d_ShaderProgram;
-DEFINE_STANDARD_HANDLE (Graphic3d_ShaderProgram, Standard_Transient)
-
-typedef Handle(Graphic3d_ShaderProgram) Graphic3d_ShaderProgram_Handle;
-
-#endif
#include <Standard_Transient.hxx>
#include <TCollection_AsciiString.hxx>
-#include <Graphic3d_ShaderVariable_Handle.hxx>
-
//! Interface for generic variable value.
struct Graphic3d_ValueInterface
{
Graphic3d_ValueInterface* myValue;
};
+DEFINE_STANDARD_HANDLE (Graphic3d_ShaderVariable, Standard_Transient)
+
#include <Graphic3d_ShaderVariable.lxx>
#endif // _Graphic3d_ShaderVariable_HeaderFile
+++ /dev/null
-// Created on: 2013-09-25
-// Created by: Denis BOGOLEPOV
-// Copyright (c) 2013-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _Handle_Graphic3d_ShaderVariable_HeaderFile
-#define _Handle_Graphic3d_ShaderVariable_HeaderFile
-
-#include <Standard_Transient.hxx>
-
-class Graphic3d_ShaderVariable;
-DEFINE_STANDARD_HANDLE (Graphic3d_ShaderVariable, Standard_Transient)
-
-#endif
AspectMarker3d from Graphic3d,
AspectText3d from Graphic3d,
CStructure from Graphic3d,
- CStructure_Handle from Graphic3d,
+ CStructure from Graphic3d,
GraphicDriver from Graphic3d,
Group from Graphic3d,
SequenceOfGroup from Graphic3d,
---Category: Private methods
CStructure (me)
- returns CStructure_Handle from Graphic3d
+ returns CStructure from Graphic3d
is static;
---Purpose: Returns the low-level structure
---C++: return const &
--
-- the associated low-level structure
- myCStructure : CStructure_Handle from Graphic3d;
+ myCStructure : CStructure from Graphic3d;
-- the structures to which the structure is attached
myAncestors : SequenceOfAddress from TColStd;
#ifndef _Graphic3d_ViewAffinity_HeaderFile
#define _Graphic3d_ViewAffinity_HeaderFile
-#include <Graphic3d_Structure.hxx>
+#include <Standard.hxx>
+#include <Standard_Transient.hxx>
+#include <Standard_DefineHandle.hxx>
//! Structure display state.
class Graphic3d_ViewAffinity : public Standard_Transient
#include <Graphic3d_AspectFillArea3d.hxx>
#include <Graphic3d_CAspectFillArea.hxx>
-#include <Graphic3d_ShaderProgram_Handle.hxx>
+#include <Graphic3d_ShaderProgram.hxx>
#include <Graphic3d_TextureMap.hxx>
#define OPENGL_AMBIENT_MASK (1<<0)
#ifndef _OpenGl_ShaderManager_HeaderFile
#define _OpenGl_ShaderManager_HeaderFile
-#include <Graphic3d_ShaderProgram_Handle.hxx>
+#include <Graphic3d_ShaderProgram.hxx>
#include <NCollection_DataMap.hxx>
#include <NCollection_Sequence.hxx>
#include <OpenGl_View.hxx>
#include <OpenGl_Workspace.hxx>
-#include <Graphic3d_SequenceOfHClipPlane_Handle.hxx>
+#include <Graphic3d_SequenceOfHClipPlane.hxx>
IMPLEMENT_STANDARD_HANDLE (OpenGl_Structure, Graphic3d_CStructure)
IMPLEMENT_STANDARD_RTTIEXT(OpenGl_Structure, Graphic3d_CStructure)
// Set up plane equations for non-structure transformed global model-view matrix
// List of planes to be applied to context state
- Handle(Graphic3d_SequenceOfHClipPlane) aUserPlanes;
+ NCollection_Handle<Graphic3d_SequenceOfHClipPlane> aUserPlanes;
// Collect clipping planes of structure scope
if (!myClipPlanes.IsEmpty())
uses
- AspectMarker3d from Graphic3d,
- NameOfColor from Quantity,
- Color from Quantity,
- TypeOfMarker from Aspect,
- HArray1OfByte from TColStd,
- MarkerImage_Handle from Graphic3d
+ AspectMarker3d from Graphic3d,
+ NameOfColor from Quantity,
+ Color from Quantity,
+ TypeOfMarker from Aspect,
+ HArray1OfByte from TColStd,
+ MarkerImage from Graphic3d
is
---Purpose: Returns marker's texture size.
GetTexture (me:mutable)
- returns MarkerImage_Handle from Graphic3d;
+ returns MarkerImage from Graphic3d;
---Level: Public
---Purpose: Returns marker's texture.
---C++: return const &
Transformation from Geom,
ListOfInteger from TColStd,
Location from TopLoc,
- ClipPlane_Handle from Graphic3d,
+ ClipPlane from Graphic3d,
SequenceOfHClipPlane from Graphic3d,
TransModeFlags from Graphic3d,
Pnt from gp,
returns ZLayerId from Graphic3d is static;
---Purpose: Get ID of Z layer.
- AddClipPlane (me : mutable; thePlane : ClipPlane_Handle from Graphic3d) is virtual;
+ AddClipPlane (me : mutable; thePlane : ClipPlane from Graphic3d) is virtual;
---Purpose: 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
-- to predict the maximum possible number of object clipping planes.
-- @param thePlane [in] the clip plane to be appended to map of clip planes.
- RemoveClipPlane (me : mutable; thePlane : ClipPlane_Handle from Graphic3d) is virtual;
+ RemoveClipPlane (me : mutable; thePlane : ClipPlane from Graphic3d) is virtual;
---Purpose: Removes previously added clip plane.
-- @param thePlane [in] the clip plane to be removed from map of clip planes.
ContextView from Visual3d,
Vector from Graphic3d,
Vertex from Graphic3d,
- Camera_Handle from Graphic3d,
+ Camera from Graphic3d,
Window from Aspect,
PixMap from Image,
BufferType from Graphic3d,
AsciiString from TCollection,
ExtendedString from TCollection,
PrintAlgo from Aspect,
- ClipPlane_Handle from Graphic3d,
+ ClipPlane from Graphic3d,
GraduatedTrihedron from Graphic3d,
SequenceOfHClipPlane from Graphic3d,
RenderingMode from Graphic3d,
---Purpose: returns the current state of the gl lighting
-- currently used in triedron displaying
- AddClipPlane (me : mutable; thePlane : ClipPlane_Handle from Graphic3d) is virtual;
+ AddClipPlane (me : mutable; thePlane : ClipPlane from Graphic3d) is virtual;
---Purpose: Adds clip plane to the view. The composition of clip planes truncates the
-- rendering space to convex volume. Number of supported clip planes can be consulted
-- by PlaneLimit method of associated Visual3d_View. Please be aware that the planes
-- which exceed the limit are ignored during rendering.
-- @param thePlane [in] the clip plane to be added to view.
- RemoveClipPlane (me : mutable; thePlane : ClipPlane_Handle from Graphic3d) is virtual;
+ RemoveClipPlane (me : mutable; thePlane : ClipPlane from Graphic3d) is virtual;
---Purpose: Removes clip plane from the view.
-- @param thePlane [in] the clip plane to be removed from view.
---Purpose: Get clip planes.
-- @return sequence clip planes that have been set for the view
- SetCamera (me : mutable; theCamera : Camera_Handle from Graphic3d) is static;
+ SetCamera (me : mutable; theCamera : Camera from Graphic3d) is static;
---Level: Public
---Purpose: Change camera used by view.
- Camera (me) returns Camera_Handle from Graphic3d is static;
+ Camera (me) returns Camera from Graphic3d is static;
---Level: Public
---C++: return const&
---Purpose: Returns camera object of the view.
-- the camera approach.
FitMinMax (me;
- theCamera : Camera_Handle from Graphic3d;
+ theCamera : Camera from Graphic3d;
theBox : Box from Bnd;
theMargin : Real from Standard;
theResolution : Real from Standard = 0.0;
-- @return TRUE if the fit all operation can be done.
Scale (me;
- theCamera : Camera_Handle from Graphic3d;
+ theCamera : Camera from Graphic3d;
theSizeXv : Real from Standard;
theSizeYv : Real from Standard) is protected;
---Level: Protected
-- @param theSizeYv [in] size of viewport frame on "y" axis.
Translate (me;
- theCamera : Camera_Handle from Graphic3d;
+ theCamera : Camera from Graphic3d;
theDXv : Real from Standard;
theDYv : Real from Standard) is protected;
---Level: Protected
myCamStartOpEye : Pnt from gp is protected;
myCamStartOpBnd : Real[6] is protected;
myCamStartOpCenter : Pnt from gp is protected;
- myCamera : Camera_Handle from Graphic3d is protected;
+ myCamera : Camera from Graphic3d is protected;
MyViewer : ViewerPointer from V3d ;
MyActiveLights: ListOfTransient from V3d;
Structure from Graphic3d,
SequenceOfStructure from Graphic3d,
MapOfStructure from Graphic3d,
- Camera_Handle from Graphic3d,
+ Camera from Graphic3d,
ZLayerId from Graphic3d,
ZLayerSettings from Graphic3d,
-- 3d coordinates <AX>, <AY>, <AZ>.
DefaultCamera (me)
- returns Camera_Handle from Graphic3d
+ returns Camera from Graphic3d
is static;
---Level: Public
---Purpose: @return the default camera of <me>.
---C++: return const &
Camera (me)
- returns Camera_Handle from Graphic3d
+ returns Camera from Graphic3d
is static;
---Level: Public
---Purpose: @return the camera of <me>.
---C++: return const &
- SetCamera (me : mutable; theCamera : Camera_Handle from Graphic3d) is static;
+ SetCamera (me : mutable; theCamera : Camera from Graphic3d) is static;
---Level: Public
---Purpose: Set camera object to provide orientation and projection matrices
-- for graphic driver.
myGTrihedron : GraduatedTrihedron from Graphic3d;
- myDefaultCamera : Camera_Handle from Graphic3d;
+ myDefaultCamera : Camera from Graphic3d;
myAutoZFitIsOn : Boolean from Standard;
myAutoZFitScaleFactor : Real from Standard;