Home
last modified time | relevance | path

Searched refs:Graphic3d_Vec2i (Results 1 – 25 of 139) sorted by relevance

123456

/dports/cad/opencascade/opencascade-7.6.0/inc/
H A DOpenGl_TileSampler.hxx43 Graphic3d_Vec2i TileSize() const { return Graphic3d_Vec2i (myTileSize, myTileSize); } in TileSize()
58 const Graphic3d_Vec2i& ViewSize() const { return myViewSize; } in ViewSize()
61 Graphic3d_Vec2i NbOffsetTiles (bool theAdaptive) const in NbOffsetTiles()
64 ? Graphic3d_Vec2i ((int )myOffsetsShrunk.SizeX, (int )myOffsetsShrunk.SizeY) in NbOffsetTiles()
65 : Graphic3d_Vec2i ((int )myOffsets.SizeX, (int )myOffsets.SizeY); in NbOffsetTiles()
69Graphic3d_Vec2i NbOffsetTilesMax() const { return NbOffsetTiles (true).cwiseMax (NbOffsetTiles (fa… in NbOffsetTilesMax()
75 Graphic3d_Vec2i OffsetTilesViewportMax() const { return NbOffsetTilesMax() * myTileSize; } in OffsetTilesViewportMax()
93 const Graphic3d_Vec2i& theSize);
130 Standard_EXPORT Graphic3d_Vec2i nextTileToSample();
149 …Image_PixMapTypedData<Graphic3d_Vec2i> myOffsets; //!< 2D array of tiles redirecting to anot…
[all …]
H A DOpenGl_FrameBuffer.hxx81 Graphic3d_Vec2i GetSize() const { return Graphic3d_Vec2i (GetSizeX(), GetSizeY()); } in GetSize()
90 Graphic3d_Vec2i GetVPSize() const { return Graphic3d_Vec2i (myVPSizeX, myVPSizeY); } in GetVPSize()
99 Graphic3d_Vec2i GetInitVPSize() const { return Graphic3d_Vec2i (myInitVPSizeX, myInitVPSizeY); } in GetInitVPSize()
121 const Graphic3d_Vec2i& theSize,
134 const Graphic3d_Vec2i& theSize,
147 const Graphic3d_Vec2i& theSize,
154 const Graphic3d_Vec2i& theViewportSize,
161 const Graphic3d_Vec2i& theViewportSize,
181 const Graphic3d_Vec2i& theSize,
255 …return Init (theGlCtx, Graphic3d_Vec2i (theSizeX, theSizeY), theColorFormat, theDepthFormat, theNb… in Init()
[all …]
H A DGraphic3d_CameraTile.hxx27 Graphic3d_Vec2i TotalSize; //!< total size of the View area, in pixels
28 Graphic3d_Vec2i TileSize; //!< size of the Tile, in pixels
29Graphic3d_Vec2i Offset; //!< the lower-left corner of the Tile relative to the View area (or up…
47 Graphic3d_Vec2i OffsetLowerLeft() const in OffsetLowerLeft()
49 return Graphic3d_Vec2i (Offset.x(), in OffsetLowerLeft()
77 const Graphic3d_Vec2i anOffset1 = OffsetLowerLeft(); in operator ==()
78 const Graphic3d_Vec2i anOffset2 = theOther.OffsetLowerLeft(); in operator ==()
H A DAIS_ViewInputBuffer.hxx61 Graphic3d_Vec2i Point; //!< the new point for dynamic highlighting
70 NCollection_Sequence<Graphic3d_Vec2i>
80 Graphic3d_Vec2i PointStart; //!< panning start point
82 Graphic3d_Vec2i Delta; //!< panning delta
92 Graphic3d_Vec2i PointStart; //!< drag start point
93 Graphic3d_Vec2i PointTo; //!< drag end point
120 Graphic3d_Vec2i Point; //!< Z rotation start point
H A DAIS_MediaPlayer.hxx46 Standard_EXPORT bool PresentFrame (const Graphic3d_Vec2i& theLeftCorner,
47 const Graphic3d_Vec2i& theMaxSize);
83 Standard_EXPORT bool updateSize (const Graphic3d_Vec2i& theLeftCorner,
84 const Graphic3d_Vec2i& theMaxSize);
90 Graphic3d_Vec2i myFrameBottomLeft;
91 Graphic3d_Vec2i myFrameSize;
H A DAIS_ViewController.hxx222 bool HasPreviousMoveTo() const { return myPrevMoveTo != Graphic3d_Vec2i (-1); } in HasPreviousMoveTo()
225 const Graphic3d_Vec2i& PreviousMoveTo() const { return myPrevMoveTo; } in PreviousMoveTo()
228 void ResetPreviousMoveTo() { myPrevMoveTo = Graphic3d_Vec2i (-1); } in ResetPreviousMoveTo()
297 Standard_EXPORT virtual void SelectInViewer (const Graphic3d_Vec2i& thePnt,
311 Standard_EXPORT virtual void UpdateRubberBand (const Graphic3d_Vec2i& thePntFrom,
312 const Graphic3d_Vec2i& thePntTo);
318 Standard_EXPORT virtual void UpdatePolySelection (const Graphic3d_Vec2i& thePnt,
373 Standard_EXPORT virtual bool UpdateMouseClick (const Graphic3d_Vec2i& thePoint,
508 const Graphic3d_Vec2i& theCursor,
695 const Graphic3d_Vec2i& thePnt);
[all …]
H A DMedia_Scaler.hxx46 Standard_EXPORT bool Init (const Graphic3d_Vec2i& theSrcDims,
48 const Graphic3d_Vec2i& theResDims,
61 Graphic3d_Vec2i mySrcDims; //!< dimensions of input frame
63 Graphic3d_Vec2i myResDims; //!< dimensions of destination frame
H A DAspect_WindowInputListener.hxx100 virtual bool UpdateMouseButtons (const Graphic3d_Vec2i& thePoint,
114 virtual bool UpdateMousePosition (const Graphic3d_Vec2i& thePoint,
128 bool PressMouseButton (const Graphic3d_Vec2i& thePoint, in PressMouseButton()
145 bool ReleaseMouseButton (const Graphic3d_Vec2i& thePoint, in ReleaseMouseButton()
161 const Graphic3d_Vec2i& LastMousePosition() const { return myMousePositionLast; } in LastMousePosition()
255 Graphic3d_Vec2i myMousePositionLast; //!< last mouse position
/dports/cad/opencascade/opencascade-7.6.0/src/OpenGl/
H A DOpenGl_TileSampler.hxx43 Graphic3d_Vec2i TileSize() const { return Graphic3d_Vec2i (myTileSize, myTileSize); } in TileSize()
58 const Graphic3d_Vec2i& ViewSize() const { return myViewSize; } in ViewSize()
61 Graphic3d_Vec2i NbOffsetTiles (bool theAdaptive) const in NbOffsetTiles()
64 ? Graphic3d_Vec2i ((int )myOffsetsShrunk.SizeX, (int )myOffsetsShrunk.SizeY) in NbOffsetTiles()
65 : Graphic3d_Vec2i ((int )myOffsets.SizeX, (int )myOffsets.SizeY); in NbOffsetTiles()
69Graphic3d_Vec2i NbOffsetTilesMax() const { return NbOffsetTiles (true).cwiseMax (NbOffsetTiles (fa… in NbOffsetTilesMax()
75 Graphic3d_Vec2i OffsetTilesViewportMax() const { return NbOffsetTilesMax() * myTileSize; } in OffsetTilesViewportMax()
93 const Graphic3d_Vec2i& theSize);
130 Standard_EXPORT Graphic3d_Vec2i nextTileToSample();
149 …Image_PixMapTypedData<Graphic3d_Vec2i> myOffsets; //!< 2D array of tiles redirecting to anot…
[all …]
H A DOpenGl_FrameBuffer.hxx81 Graphic3d_Vec2i GetSize() const { return Graphic3d_Vec2i (GetSizeX(), GetSizeY()); } in GetSize()
90 Graphic3d_Vec2i GetVPSize() const { return Graphic3d_Vec2i (myVPSizeX, myVPSizeY); } in GetVPSize()
99 Graphic3d_Vec2i GetInitVPSize() const { return Graphic3d_Vec2i (myInitVPSizeX, myInitVPSizeY); } in GetInitVPSize()
121 const Graphic3d_Vec2i& theSize,
134 const Graphic3d_Vec2i& theSize,
147 const Graphic3d_Vec2i& theSize,
154 const Graphic3d_Vec2i& theViewportSize,
161 const Graphic3d_Vec2i& theViewportSize,
181 const Graphic3d_Vec2i& theSize,
255 …return Init (theGlCtx, Graphic3d_Vec2i (theSizeX, theSizeY), theColorFormat, theDepthFormat, theNb… in Init()
[all …]
H A DOpenGl_TileSampler.cxx124 Graphic3d_Vec2i OpenGl_TileSampler::nextTileToSample() in nextTileToSample()
126 Graphic3d_Vec2i aTile (0, 0); in nextTileToSample()
154 const Graphic3d_Vec2i& theSize) in SetSize()
193 myOffsets.Init (Graphic3d_Vec2i (-1, -1)); in SetSize()
215 myOffsetsShrunk.Init (Graphic3d_Vec2i (-1, -1)); in SetSize()
243 Image_PixMapTypedData<Graphic3d_Vec2i>& anOffsets = theAdaptive ? myOffsetsShrunk : myOffsets; in upload()
244 anOffsets.Init (Graphic3d_Vec2i (-1, -1)); in upload()
249 Graphic3d_Vec2i& aRedirectTile = anOffsets.ChangeValue (aRowIter, aColIter); in upload()
250 …aRedirectTile = theAdaptive ? nextTileToSample() : Graphic3d_Vec2i ((int )aColIter, (int )aRowIter… in upload()
307 Graphic3d_Vec2i ((int )anOffsets.SizeX, (int )anOffsets.SizeY), in upload()
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/
H A DOpenGl_TileSampler.hxx43 Graphic3d_Vec2i TileSize() const { return Graphic3d_Vec2i (myTileSize, myTileSize); } in TileSize()
58 const Graphic3d_Vec2i& ViewSize() const { return myViewSize; } in ViewSize()
61 Graphic3d_Vec2i NbOffsetTiles (bool theAdaptive) const in NbOffsetTiles()
64 ? Graphic3d_Vec2i ((int )myOffsetsShrunk.SizeX, (int )myOffsetsShrunk.SizeY) in NbOffsetTiles()
65 : Graphic3d_Vec2i ((int )myOffsets.SizeX, (int )myOffsets.SizeY); in NbOffsetTiles()
69Graphic3d_Vec2i NbOffsetTilesMax() const { return NbOffsetTiles (true).cwiseMax (NbOffsetTiles (fa… in NbOffsetTilesMax()
75 Graphic3d_Vec2i OffsetTilesViewportMax() const { return NbOffsetTilesMax() * myTileSize; } in OffsetTilesViewportMax()
93 const Graphic3d_Vec2i& theSize);
130 Standard_EXPORT Graphic3d_Vec2i nextTileToSample();
149 …Image_PixMapTypedData<Graphic3d_Vec2i> myOffsets; //!< 2D array of tiles redirecting to anot…
[all …]
H A DAIS_ViewController.hxx192 bool HasPreviousMoveTo() const { return myPrevMoveTo != Graphic3d_Vec2i (-1); } in HasPreviousMoveTo()
195 const Graphic3d_Vec2i& PreviousMoveTo() const { return myPrevMoveTo; } in PreviousMoveTo()
198 void ResetPreviousMoveTo() { myPrevMoveTo = Graphic3d_Vec2i (-1); } in ResetPreviousMoveTo()
249 Standard_EXPORT virtual void SelectInViewer (const Graphic3d_Vec2i& thePnt,
265 const Graphic3d_Vec2i& thePntTo,
326 bool PressMouseButton (const Graphic3d_Vec2i& thePoint, in PressMouseButton()
342 bool ReleaseMouseButton (const Graphic3d_Vec2i& thePoint, in ReleaseMouseButton()
360 Standard_EXPORT virtual bool UpdateMouseClick (const Graphic3d_Vec2i& thePoint,
463 const Graphic3d_Vec2i& theCursor,
642 Graphic3d_Vec2i myMousePositionLast; //!< last mouse position
[all …]
H A DGraphic3d_CameraTile.hxx26 Graphic3d_Vec2i TotalSize; //!< total size of the View area, in pixels
27 Graphic3d_Vec2i TileSize; //!< size of the Tile, in pixels
28Graphic3d_Vec2i Offset; //!< the lower-left corner of the Tile relative to the View area (or up…
46 Graphic3d_Vec2i OffsetLowerLeft() const in OffsetLowerLeft()
48 return Graphic3d_Vec2i (Offset.x(), in OffsetLowerLeft()
76 const Graphic3d_Vec2i anOffset1 = OffsetLowerLeft(); in operator ==()
77 const Graphic3d_Vec2i anOffset2 = theOther.OffsetLowerLeft(); in operator ==()
H A DAIS_ViewInputBuffer.hxx59 Graphic3d_Vec2i Point; //!< the new point for dynamic highlighting
68 NCollection_Sequence<Graphic3d_Vec2i>
78 Graphic3d_Vec2i PointStart; //!< panning start point
80 Graphic3d_Vec2i Delta; //!< panning delta
90 Graphic3d_Vec2i PointStart; //!< drag start point
91 Graphic3d_Vec2i PointTo; //!< drag end point
118 Graphic3d_Vec2i Point; //!< Z rotation start point
H A DAIS_MediaPlayer.hxx46 Standard_EXPORT bool PresentFrame (const Graphic3d_Vec2i& theLeftCorner,
47 const Graphic3d_Vec2i& theMaxSize);
83 Standard_EXPORT bool updateSize (const Graphic3d_Vec2i& theLeftCorner,
84 const Graphic3d_Vec2i& theMaxSize);
90 Graphic3d_Vec2i myFrameBottomLeft;
91 Graphic3d_Vec2i myFrameSize;
H A DMedia_Scaler.hxx46 Standard_EXPORT bool Init (const Graphic3d_Vec2i& theSrcDims,
48 const Graphic3d_Vec2i& theResDims,
61 Graphic3d_Vec2i mySrcDims; //!< dimensions of input frame
63 Graphic3d_Vec2i myResDims; //!< dimensions of destination frame
/dports/cad/opencascade/opencascade-7.6.0/src/Graphic3d/
H A DGraphic3d_CameraTile.hxx27 Graphic3d_Vec2i TotalSize; //!< total size of the View area, in pixels
28 Graphic3d_Vec2i TileSize; //!< size of the Tile, in pixels
29Graphic3d_Vec2i Offset; //!< the lower-left corner of the Tile relative to the View area (or up…
47 Graphic3d_Vec2i OffsetLowerLeft() const in OffsetLowerLeft()
49 return Graphic3d_Vec2i (Offset.x(), in OffsetLowerLeft()
77 const Graphic3d_Vec2i anOffset1 = OffsetLowerLeft(); in operator ==()
78 const Graphic3d_Vec2i anOffset2 = theOther.OffsetLowerLeft(); in operator ==()
/dports/cad/opencascade/opencascade-7.6.0/src/AIS/
H A DAIS_ViewInputBuffer.hxx61 Graphic3d_Vec2i Point; //!< the new point for dynamic highlighting
70 NCollection_Sequence<Graphic3d_Vec2i>
80 Graphic3d_Vec2i PointStart; //!< panning start point
82 Graphic3d_Vec2i Delta; //!< panning delta
92 Graphic3d_Vec2i PointStart; //!< drag start point
93 Graphic3d_Vec2i PointTo; //!< drag end point
120 Graphic3d_Vec2i Point; //!< Z rotation start point
H A DAIS_MediaPlayer.hxx46 Standard_EXPORT bool PresentFrame (const Graphic3d_Vec2i& theLeftCorner,
47 const Graphic3d_Vec2i& theMaxSize);
83 Standard_EXPORT bool updateSize (const Graphic3d_Vec2i& theLeftCorner,
84 const Graphic3d_Vec2i& theMaxSize);
90 Graphic3d_Vec2i myFrameBottomLeft;
91 Graphic3d_Vec2i myFrameSize;
H A DAIS_MediaPlayer.cxx30 static Handle(Graphic3d_ArrayOfTriangles) createRectangleArray (const Graphic3d_Vec2i& theLower, in IMPLEMENT_STANDARD_RTTIEXT()
31 const Graphic3d_Vec2i& theUpper, in IMPLEMENT_STANDARD_RTTIEXT()
95 bool AIS_MediaPlayer::PresentFrame (const Graphic3d_Vec2i& theLeftCorner, in PresentFrame()
96 const Graphic3d_Vec2i& theMaxSize) in PresentFrame()
137 bool AIS_MediaPlayer::updateSize (const Graphic3d_Vec2i& theLeftCorner, in updateSize()
138 const Graphic3d_Vec2i& theMaxSize) in updateSize()
140 const Graphic3d_Vec2i aFrameSize = myFramePair->FrameSize(); in updateSize()
141 Graphic3d_Vec2i aNewPos = theLeftCorner; in updateSize()
142 Graphic3d_Vec2i aNewSize = myFrameSize; in updateSize()
H A DAIS_ViewController.hxx222 bool HasPreviousMoveTo() const { return myPrevMoveTo != Graphic3d_Vec2i (-1); } in HasPreviousMoveTo()
225 const Graphic3d_Vec2i& PreviousMoveTo() const { return myPrevMoveTo; } in PreviousMoveTo()
228 void ResetPreviousMoveTo() { myPrevMoveTo = Graphic3d_Vec2i (-1); } in ResetPreviousMoveTo()
297 Standard_EXPORT virtual void SelectInViewer (const Graphic3d_Vec2i& thePnt,
311 Standard_EXPORT virtual void UpdateRubberBand (const Graphic3d_Vec2i& thePntFrom,
312 const Graphic3d_Vec2i& thePntTo);
318 Standard_EXPORT virtual void UpdatePolySelection (const Graphic3d_Vec2i& thePnt,
373 Standard_EXPORT virtual bool UpdateMouseClick (const Graphic3d_Vec2i& thePoint,
508 const Graphic3d_Vec2i& theCursor,
695 const Graphic3d_Vec2i& thePnt);
[all …]
/dports/cad/opencascade/opencascade-7.6.0/src/Media/
H A DMedia_Scaler.hxx46 Standard_EXPORT bool Init (const Graphic3d_Vec2i& theSrcDims,
48 const Graphic3d_Vec2i& theResDims,
61 Graphic3d_Vec2i mySrcDims; //!< dimensions of input frame
63 Graphic3d_Vec2i myResDims; //!< dimensions of destination frame
/dports/cad/opencascade/opencascade-7.6.0/src/Aspect/
H A DAspect_WindowInputListener.hxx100 virtual bool UpdateMouseButtons (const Graphic3d_Vec2i& thePoint,
114 virtual bool UpdateMousePosition (const Graphic3d_Vec2i& thePoint,
128 bool PressMouseButton (const Graphic3d_Vec2i& thePoint, in PressMouseButton()
145 bool ReleaseMouseButton (const Graphic3d_Vec2i& thePoint, in ReleaseMouseButton()
161 const Graphic3d_Vec2i& LastMousePosition() const { return myMousePositionLast; } in LastMousePosition()
255 Graphic3d_Vec2i myMousePositionLast; //!< last mouse position
/dports/cad/opencascade/opencascade-7.6.0/samples/mfc/standard/Common/
H A DOCC_BaseView.cpp233 …if (UpdateMousePosition (Graphic3d_Vec2i (thePoint.x, thePoint.y), PressedMouseButtons(), aFlags, … in OnMouseMove()
246 …PressMouseButton (Graphic3d_Vec2i (thePoint.x, thePoint.y), Aspect_VKeyMouse_LeftButton, aFlags, f… in OnLButtonDown()
257 …ReleaseMouseButton (Graphic3d_Vec2i (thePoint.x, thePoint.y), Aspect_VKeyMouse_LeftButton, aFlags,… in OnLButtonUp()
277 …PressMouseButton (Graphic3d_Vec2i (thePoint.x, thePoint.y), Aspect_VKeyMouse_MiddleButton, aFlags,… in OnMButtonDown()
288 …ReleaseMouseButton (Graphic3d_Vec2i (thePoint.x, thePoint.y), Aspect_VKeyMouse_MiddleButton, aFlag… in OnMButtonUp()
303 …PressMouseButton (Graphic3d_Vec2i (thePoint.x, thePoint.y), Aspect_VKeyMouse_RightButton, aFlags, … in OnRButtonDown()
315 …ReleaseMouseButton (Graphic3d_Vec2i (thePoint.x, thePoint.y), Aspect_VKeyMouse_RightButton, aFlags… in OnRButtonUp()
322 && (myClickPos - Graphic3d_Vec2i (thePoint.x, thePoint.y)).cwiseAbs().maxComp() <= 4) in OnRButtonUp()
337 const Graphic3d_Vec2i aPos (aCursorPnt.x, aCursorPnt.y); in OnMouseWheel()
373 ReleaseMouseButton (Graphic3d_Vec2i (aCursorPos.x, aCursorPos.y), in OnMouseLeave()

123456