Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/Claudiomancinelli90/B-Surf
02 May 2023, 06:34:51 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    No releases to show
  • cea6667
  • /
  • README.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:c68976619cab8115a8267c7570f00fdbe250a876
origin badgedirectory badge Iframe embedding
swh:1:dir:cea6667d9aef1ecd752a739799ce99f166932b4b
origin badgerevision badge
swh:1:rev:c1f61398fb30fc05030ff8d8b52cf4f75ae44b49
origin badgesnapshot badge
swh:1:snp:d76cdb1c7f5ec2b1ff59e949015c35e5b3dd5a0f
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: c1f61398fb30fc05030ff8d8b52cf4f75ae44b49 authored by Claudiomancinelli90 on 17 April 2023, 16:10:13 UTC
update instructions
Tip revision: c1f6139
README.md
# b/Surf: Interactive Bézier Splines on Surface Meshes

This repository contains the implementation of the algorithms described in "b/Surf: Interactive Bézier Splines on Surface Meshes", C. Mancinelli, G.Nazzaro, F. Pellacini and E. Puppo. The code consists of one GUI (splinegui) supporting all the algorithms for curve tracing described in the paper.

## Compilation
You can compile the project using the standard CMake routine

`mkdir build`<br/>
`cd build`<br/>
`cmake ../`<br/>
`make`<br/>

## Dependencies
Mac users only need to have C++ 17 or later installed. Linux users may have to install some additional packages, as

`libxrandr-dev`<br/>
`libxinerama-dev`<br/>
`libxcursor-dev`<br/>
`libxi-dev.`<br/>

Similarly, Windows users may need to install some OS-related packages, 
but there are no dependencies that prevent the use of the code on such operating system. 

## Run
Once the projects are built, you can run the app from within the project repository by issuing

`./bin/splinegui <path_to_a_model>`


## Using the GUI

                                 ---Basics---
Rotate: SHIFT + dragging.
Panning: ALT + dragging.                                 
                                 ---Control Points Selection/Editing---
Control points can be picked with left click and moved on the mesh by left-clicking on them + dragging

                                ---Curve Tracing---
Once the third control point P3 is picked, a cubic Bézier curve is automatically traced by putting the last control point P3 equal to P4. You can edit it in real time by dragging P3 as described above.

The GUI allows you to select the methods and the possible parameters described in the paper. Every time a parameter changes, the curve is updated.








                         






Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top