SAMSON Forum
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • SAMSON Connect
    • Get SAMSON
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • K

      In-code camera duplication
      Apps • • Karsten

      2
      0
      Votes
      2
      Posts
      2273
      Views

      DmitriyMarin

      Hi @Karsten ,

      For every node, you create you need to invoke create function, and then if you want it to appear in the DataGraph this node needs to be added to a parent node:

      auto camcopy = SAMSON::getActiveCamera()->clone(); // clone the camera camcopy->create(); // create the node document->addChild(camcopy); // add the created camera into the active document /* ... some modifications of the camcopy */ SAMSON::getActiveDocument()->setActiveCamera(camcopy); // set the active camera
    • K

      Conversion from radian to degree does not work
      Apps • • Khoa

      4
      0
      Votes
      4
      Posts
      3378
      Views

      K

      Thanks.
      It helps.

      SBQuantity::radian radianValue(1.5); SBQuantity::degree degreeValue = radianValue * SBConstant::RadToDeg;
    • K

      return boolean value for getPosition and setPosition
      Feature requests • • Khoa

      2
      0
      Votes
      2
      Posts
      2436
      Views

      Stephane

      Good idea, it will be in 0.8.

    • M

      Logging
      Getting started • • Maximilian

      3
      0
      Votes
      3
      Posts
      2974
      Views

      M

      Yes thanks. That's what I was looking for.

    • K

      Crashes with SBParticleSystem
      Simulation • • Khoa

      2
      0
      Votes
      2
      Posts
      2468
      Views

      Admin

      Hi Khoa, yes, it's always better to create nodes on the heap instead of the stack (i.e. with new). Therefore, you should use a SAMSON pointer (SBPointer) to hold it and destroy the node automatically when the variable gets out of scope.

    • P

      Unavailable Pepsi-SAXS element for SAMSON 0.7 under Windows.
      SAMSON Extensions • • Patrice

      2
      0
      Votes
      2
      Posts
      2817
      Views

      S

      Dear Patrice, yes, it is planned in a very near future, I didn't have time for the update yet...
      Regards,
      Sergei

    • DmitriyMarin

      Get list of loaded Elements
      Apps • • DmitriyMarin

      1
      0
      Votes
      1
      Posts
      2013
      Views

      No one has replied

    • DmitriyMarin

      Functionality from SBGPath
      Feature requests • • DmitriyMarin

      1
      0
      Votes
      1
      Posts
      2042
      Views

      No one has replied

    • P

      Drawing arrows on atoms
      GUI • • Piriziwè

      11
      0
      Votes
      11
      Posts
      7216
      Views

      P

      Hi everybody, all my problems with arrows are solved. Thanks very much for your help.

    • F

      Default settings in GUIs
      Apps • • Francois

      3
      0
      Votes
      3
      Posts
      3205
      Views

      F

      Not instead, in addition: having, at the installation of the App, a list of pre-saved settings, with still the possibility to save and load your own settings.
      -- for example, with the Crystal Creator App, having the 'diamond settings', the 'SiGe settings', or for ARPS, some classical configurations of Ef and Er : the '10x speed up settings', '5x speed up settings' ... --

    • K

      How to hide property windows of an interaction model
      Simulation • • Khoa

      2
      0
      Votes
      2
      Posts
      2395
      Views

      Stephane

      No, sorry, not at the moment.

    • Yassine

      Solved: Exposition of a getter returning SBHashMap
      Editors • • Yassine

      1
      1
      Votes
      1
      Posts
      2044
      Views

      No one has replied

    • H

      Solved Transparency or Depth related issue in Editors
      Editors • • Haichao

      3
      0
      Votes
      3
      Posts
      2938
      Views

      H

      Hi @Stephane-Redon,

      ah yes, it was the depth test. This solves it!

      Thanks,
      Haichao