Version: 9.16.0
OCCViewer_Trihedron.h
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA, EDF, OPEN CASCADE
2//
3// This library is free software; you can redistribute it and/or
4// modify it under the terms of the GNU Lesser General Public
5// License as published by the Free Software Foundation; either
6// version 2.1 of the License, or (at your option) any later version.
7//
8// This library is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11// Lesser General Public License for more details.
12//
13// You should have received a copy of the GNU Lesser General Public
14// License along with this library; if not, write to the Free Software
15// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16//
17// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18//
19
20#ifndef OCCVIEWER_TRIHEDRON_H
21#define OCCVIEWER_TRIHEDRON_H
22
23#include "OCCViewer.h"
24
25#include <AIS_InteractiveObject.hxx>
26#include <Graphic3d_BndBox4f.hxx>
27#include <Standard_DefineHandle.hxx>
28
34{
35public:
36 OCCViewer_Trihedron( const PrsMgr_TypeOfPresentation3d = PrsMgr_TOP_AllView );
37 virtual ~OCCViewer_Trihedron();
38
39 virtual void Compute( const Handle(PrsMgr_PresentationManager3d)&,
40 const Handle(Prs3d_Presentation)&,
41 const Standard_Integer );
42
43 virtual void ComputeSelection( const Handle( SelectMgr_Selection )&,
44 const Standard_Integer );
45
46 virtual void bounds( Graphic3d_BndBox4f& ) const;
47
48 virtual void display();
49
50 DEFINE_STANDARD_RTTIEXT(OCCViewer_Trihedron, AIS_InteractiveObject)
51
52private:
53 unsigned int myTextList;
54};
55
57
58#endif // OCCVIEWER_TRIHEDRON_H
Handle(TDocStd_Application) CAF_Application
Get OCAF application.
Definition: CAF_Application.cxx:97
DEFINE_STANDARD_HANDLE(DDS_DicItem, Standard_Transient) typedef NCollection_IndexedDataMap< TCollection_AsciiString
Definition: OCCViewer_Trihedron.h:34
virtual void Compute(const Handle(PrsMgr_PresentationManager3d)&, const Handle(Prs3d_Presentation)&, const Standard_Integer)
Definition: OCCViewer_Trihedron.cxx:87
OCCViewer_Trihedron(const PrsMgr_TypeOfPresentation3d=PrsMgr_TOP_AllView)
virtual void ComputeSelection(const Handle(SelectMgr_Selection)&, const Standard_Integer)
Definition: OCCViewer_Trihedron.cxx:101
virtual void bounds(Graphic3d_BndBox4f &) const
Definition: OCCViewer_Trihedron.cxx:75
virtual ~OCCViewer_Trihedron()
Definition: OCCViewer_Trihedron.cxx:66
virtual void display()
Definition: OCCViewer_Trihedron.cxx:172