|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef VP1QTINVENTORUTILS_H
17 #define VP1QTINVENTORUTILS_H
19 #include <Inventor/C/errors/debugerror.h>
20 #include <Inventor/actions/SoGLRenderAction.h>
62 static SoNode *
createEllipse(
const double& radiusX,
const double& radiusY,
const int& numnodes = 12 );
75 bool transparent_background =
false,
double actualRenderedSizeFact = 1.0 );
79 bool transparent_background =
false,
double actualRenderedSizeFact = 1.0 );
99 static QByteArray
serialize(
const SbRotation& );
100 static bool deserialize( QByteArray&, SbRotation& );
102 static QByteArray
serialize(
const SbVec3f& );
132 static void setMatColor( SoMaterial *,
const double&
r,
const double&
g,
const double&
b,
133 const double& brightness = 0.0,
const double& transp = 0.0 );
134 static void setMatColor( SoMaterial *,
const QColor&,
135 const double& brightness = 0.0,
const double& transp = 0.0 );
static double getValueLineWidthSlider(const QSlider *)
static SoNode * createEllipse(const double &radiusX, const double &radiusY, const int &numnodes=12)
path
python interpreter configuration --------------------------------------—
static bool deserializeSoCameraParameters(QByteArray &, SoCamera &)
static void getLineWidthRanges(double &min, double &max, double &granularity)
static QImage renderToImage(VP1ExaminerViewer *ra, int pixels_x, int pixels_y, bool transparent_background=false, double actualRenderedSizeFact=1.0)
static SoGLRenderAction::TransparencyType getDefaultVP1TransparencyType()
static QByteArray serialize(const SbRotation &)
static bool deserialiseSoMaterial(QByteArray &, SoMaterial *&)
static SoNode * createCircle(const double &radius)
static void setLimitsPointSizeSlider(QSlider *)
static void getPointSizeRanges(double &min, double &max, double &granularity)
static double getValuePointSizeSlider(const QSlider *)
static QString transparencyType2PrettyString(SoGLRenderAction::TransparencyType)
static QList< SoGLRenderAction::TransparencyType > getAllTransparencyTypes()
static QByteArray serialiseSoMaterial(SoMaterial *)
static QPixmap pixmapFromRGBFile(const QString &filename)
static bool deserialize(QByteArray &, SbRotation &)
static SbColor qcol2sbcol(const QColor &)
static void setValueLineWidthSlider(QSlider *, const double &value)
static QImage imageFromRGBFile(const QString &filename)
static QColor sbcol2qcol(const SbColor &)
static int transparencyTypeToInt(SoGLRenderAction::TransparencyType)
static SoSeparator * readGraphFromFile(const QString &filename)
static bool writeGraphToFile(SoNode *root, const QString &filename)
static void setMatColor(SoMaterial *, const double &r, const double &g, const double &b, const double &brightness=0.0, const double &transp=0.0)
static void setValuePointSizeSlider(QSlider *, const double &value)
static void setLimitsLineWidthSlider(QSlider *)
static SoGLRenderAction::TransparencyType intToTransparencyType(int)
static QPixmap renderToPixmap(VP1ExaminerViewer *ra, int pixels_x, int pixels_y, bool transparent_background=false, double actualRenderedSizeFact=1.0)
static void ensureInitLineWidthAndPointSize(SoQtRenderArea *)
static bool writeGraphToVRMLFile(SoNode *root, const QString &filename)
static QByteArray serializeSoCameraParameters(const SoCamera &)
static bool changePathTail(SoPath *path, SoNode *commonBranchPoint, SoNode *newtail)