Package openalea :: Package plantgl :: Package scenegraph :: Module _pglsg :: Class SceneObject
[frames] | no frames]

Class SceneObject

 object --+    
          |    
??.instance --+
              |
             SceneObject
Known Subclasses:

Abstract base class for all objects of the scenegraph.
It is named, has unique id and support reference counting.
It can support Action application.

Instance Methods
 
__init__(...)
Raises an exception...
 
__reduce__(...)
helper for pickle
 
apply(...)
apply( (SceneObject)arg1, (Action)arg2) -> bool :
 
deepcopy(...)
deepcopy( (SceneObject)arg1) -> SceneObject :
 
getId(...)
getId( (SceneObject)arg1) -> int :
 
getName(...)
getName( (SceneObject)arg1) -> str :
 
isNamed(...)
isNamed( (SceneObject)arg1) -> bool :
 
isValid(...)
isValid( (SceneObject)arg1) -> bool :
 
setName(...)
setName( (SceneObject)arg1, (str)arg2) -> None :

Inherited from unreachable.instance: __new__

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

Class Variables
  __safe_for_unpickling__ = True
Properties
  name

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)

apply(...)

 

apply( (SceneObject)arg1, (Action)arg2) -> bool :

    C++ signature :
        bool apply(class PGL::SceneObject {lvalue},class PGL::Action {lvalue})

deepcopy(...)

 

deepcopy( (SceneObject)arg1) -> SceneObject :

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::SceneObject> deepcopy(class PGL::SceneObject {lvalue})

getId(...)

 

getId( (SceneObject)arg1) -> int :

    C++ signature :
        unsigned int getId(class PGL::SceneObject {lvalue})

getName(...)

 

getName( (SceneObject)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > getName(class PGL::SceneObject {lvalue})

isNamed(...)

 

isNamed( (SceneObject)arg1) -> bool :

    C++ signature :
        bool isNamed(class PGL::SceneObject {lvalue})

isValid(...)

 

isValid( (SceneObject)arg1) -> bool :

    C++ signature :
        bool isValid(class PGL::SceneObject {lvalue})

setName(...)

 

setName( (SceneObject)arg1, (str)arg2) -> None :

    C++ signature :
        void setName(class PGL::SceneObject {lvalue},class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)


Property Details

name

Get Method:
unreachable(...)
Set Method:
unreachable(...)