All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
eafd18dac0
commit
25c3ba7338
@@ -28,8 +28,13 @@
|
||||
|
||||
using namespace Gui;
|
||||
|
||||
SoQtOffscreenRendererPy::SoQtOffscreenRendererPy(Py::PythonClassInstance* self, Py::Tuple& args, Py::Dict& kwds)
|
||||
: Py::PythonClass<SoQtOffscreenRendererPy>(self, args, kwds), renderer(SbViewportRegion())
|
||||
SoQtOffscreenRendererPy::SoQtOffscreenRendererPy(
|
||||
Py::PythonClassInstance* self,
|
||||
Py::Tuple& args,
|
||||
Py::Dict& kwds
|
||||
)
|
||||
: Py::PythonClass<SoQtOffscreenRendererPy>(self, args, kwds)
|
||||
, renderer(SbViewportRegion())
|
||||
{
|
||||
this->setViewportRegion(args);
|
||||
}
|
||||
@@ -184,15 +189,31 @@ void SoQtOffscreenRendererPy::init_type()
|
||||
|
||||
PYCXX_ADD_VARARGS_METHOD(setViewportRegion, setViewportRegion, "setViewportRegion(int, int)");
|
||||
PYCXX_ADD_NOARGS_METHOD(getViewportRegion, getViewportRegion, "getViewportRegion() -> tuple");
|
||||
PYCXX_ADD_VARARGS_METHOD(setBackgroundColor, setBackgroundColor, "setBackgroundColor(float, float, float, [float])");
|
||||
PYCXX_ADD_VARARGS_METHOD(
|
||||
setBackgroundColor,
|
||||
setBackgroundColor,
|
||||
"setBackgroundColor(float, float, float, [float])"
|
||||
);
|
||||
PYCXX_ADD_NOARGS_METHOD(getBackgroundColor, getBackgroundColor, "getBackgroundColor() -> tuple");
|
||||
PYCXX_ADD_VARARGS_METHOD(setNumPasses, setNumPasses, "setNumPasses(int)");
|
||||
PYCXX_ADD_NOARGS_METHOD(getNumPasses, getNumPasses, "getNumPasses() -> int");
|
||||
PYCXX_ADD_VARARGS_METHOD(setInternalTextureFormat, setInternalTextureFormat, "setInternalTextureFormat(int)");
|
||||
PYCXX_ADD_NOARGS_METHOD(getInternalTextureFormat, getInternalTextureFormat, "getInternalTextureFormat() -> int");
|
||||
PYCXX_ADD_VARARGS_METHOD(
|
||||
setInternalTextureFormat,
|
||||
setInternalTextureFormat,
|
||||
"setInternalTextureFormat(int)"
|
||||
);
|
||||
PYCXX_ADD_NOARGS_METHOD(
|
||||
getInternalTextureFormat,
|
||||
getInternalTextureFormat,
|
||||
"getInternalTextureFormat() -> int"
|
||||
);
|
||||
PYCXX_ADD_VARARGS_METHOD(render, render, "render(node)");
|
||||
PYCXX_ADD_VARARGS_METHOD(writeToImage, writeToImage, "writeToImage(string)");
|
||||
PYCXX_ADD_NOARGS_METHOD(getWriteImageFiletypeInfo, getWriteImageFiletypeInfo, "getWriteImageFiletypeInfo() -> tuple");
|
||||
PYCXX_ADD_NOARGS_METHOD(
|
||||
getWriteImageFiletypeInfo,
|
||||
getWriteImageFiletypeInfo,
|
||||
"getWriteImageFiletypeInfo() -> tuple"
|
||||
);
|
||||
|
||||
behaviors().readyType();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user