Package openalea :: Package plantgl :: Package gui :: Module _pglgui :: Class Viewer :: Class frameGL
[frames] | no frames]

Class frameGL

 object --+    
          |    
??.instance --+
              |
             Viewer.frameGL

Instance Methods
 
__init__(...)
Raises an exception...
 
__reduce__(...)
helper for pickle

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods
 
castRays(...)
castRays( (Vector3)pos, (Vector3)dir, (Vector3)dx, (Vector3)dy, (int)sx, (int)sy) -> object : castRays(Vector3 pos, Vector3 dir, Vector3 dx, Vector3 dy, float sx, float sy)
 
castRays2(...)
castRays2( (Scene)scene, (bool)back_test) -> object : castRays2(Scene scene [, bool back_test = True])
object :

getProjectionSize()
return projected_size,pixel_nb,pixel_size : compute the projected size of the displayed scene onto the current camera.
 
getProjectionSizes(...)
getProjectionSizes( (Scene)objects) -> object : getProjectionSizes(Scene objects) : individual projected sizes of a set of elements.
object :

grabZBuffer()
C++ signature : class boost::python::api::object grabZBuffer()
 
maximize(...)
maximize( (int)enable) -> None : maximize(bool enable = True) : maximize FrameGL size into the Viewer.
 
saveImage(...)
saveImage( (str)arg1) -> None :
 
setBgColor(...)
setBgColor( (int)red, (int)green, (int)blue) -> None : setBgColor(int red, int green, int blue)
 
setSize(...)
setSize( (int)width, (int)height) -> None : setSize(int width, int height)
Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 
Raises an exception
This class cannot be instantiated from Python

Overrides: object.__init__

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

castRays(...)
Static Method

 

castRays( (Vector3)pos, (Vector3)dir, (Vector3)dx, (Vector3)dy, (int)sx, (int)sy) -> object :
    castRays(Vector3 pos, Vector3 dir, Vector3 dx, Vector3 dy, float sx, float sy)

    C++ signature :
        class boost::python::api::object castRays(class TOOLS::Vector3,class TOOLS::Vector3,class TOOLS::Vector3,class TOOLS::Vector3,int,int)

castRays2(...)
Static Method

 

castRays2( (Scene)scene, (bool)back_test) -> object :
    castRays2(Scene scene [, bool back_test = True])

    C++ signature :
        class boost::python::api::object castRays2(class TOOLS::RefCountPtr<class PGL::Scene>,bool)

castRays2( (Scene)arg1) -> object :

    C++ signature :
        class boost::python::api::object castRays2(class TOOLS::RefCountPtr<class PGL::Scene>)

getProjectionSize()
Static Method

 
    return projected_size,pixel_nb,pixel_size : compute the projected size of the displayed scene onto the current camera.

    C++ signature :
        class boost::python::api::object getProjectionSize()

Returns:
object :

getProjectionSizes(...)
Static Method

 

getProjectionSizes( (Scene)objects) -> object :
    getProjectionSizes(Scene objects) : individual projected sizes of a set of elements.

    C++ signature :
        class boost::python::api::object getProjectionSizes(class TOOLS::RefCountPtr<class PGL::Scene>)

grabZBuffer()
Static Method

 
    C++ signature :
        class boost::python::api::object grabZBuffer()

grabZBuffer( (bool)allvalues) -> object :
    grabZBuffer(allvalues = False)

    C++ signature :
        class boost::python::api::object grabZBuffer(bool)

Returns:
object :

maximize(...)
Static Method

 

maximize( (int)enable) -> None :
    maximize(bool enable = True) : maximize FrameGL size into the Viewer.

    C++ signature :
        void maximize(int)

maximize() -> None :

    C++ signature :
        void maximize()

saveImage(...)
Static Method

 

saveImage( (str)arg1) -> None :

    C++ signature :
        void saveImage(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)

saveImage( (str)arg1, (str)arg2) -> None :

    C++ signature :
        void saveImage(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)

saveImage( (str)filename, (str)type, (bool)withAlpha) -> None :
    saveImage(str filename, str type='PNG', bool withAlpha = False)

    C++ signature :
        void saveImage(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,bool)

setBgColor(...)
Static Method

 

setBgColor( (int)red, (int)green, (int)blue) -> None :
    setBgColor(int red, int green, int blue)

    C++ signature :
        void setBgColor(int,int,int)

setBgColor( (object)color) -> None :
    setBgColor(Color color)

    C++ signature :
        void setBgColor(class boost::python::api::object)

setSize(...)
Static Method

 

setSize( (int)width, (int)height) -> None :
    setSize(int width, int height)

    C++ signature :
        void setSize(int,int)