~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/gameengine/SceneGraph/SG_Node.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
         * make a deep copy.
64
64
         */
65
65
 
66
 
                void    
 
66
                void
67
67
        AddChild(
68
68
                SG_Node* child
69
69
        );
75
75
         * If the node was not a child of this object no action is performed.
76
76
         */
77
77
 
78
 
                void    
 
78
                void
79
79
        RemoveChild(
80
80
                SG_Node* child
81
81
        );
149
149
         * Disconnect this node from it's parent
150
150
         */
151
151
 
152
 
                void                            
 
152
                void
153
153
        DisconnectFromParent(
154
154
        );
155
155
 
182
182
 
183
183
 
184
184
 
185
 
        /**             
 
185
        /**
186
186
         * Update the spatial data of this node. Iterate through
187
187
         * the children of this node and update their world data.
188
188
         */
189
189
 
190
 
                void            
 
190
                void
191
191
        UpdateWorldData(
192
192
                double time,
193
193
                bool parentUpdated=false
198
198
         * the children nodes and update their simulated time.
199
199
         */
200
200
 
201
 
                void            
 
201
                void
202
202
        SetSimulatedTime(
203
203
                double time,
204
204
                bool recurse
244
244
         * Node replication functions.
245
245
         */
246
246
 
247
 
                SG_Node*        
 
247
                SG_Node*
248
248
        GetSGReplica(
249
249
        );
250
250
 
251
 
                void            
 
251
                void
252
252
        Destruct(
253
253
        );
254
254
        
255
255
private:
256
256
 
257
 
                void            
 
257
                void
258
258
        ProcessSGReplica(
259
259
                SG_Node** replica
260
260
        );
271
271
 
272
272
 
273
273
#ifdef WITH_CXX_GUARDEDALLOC
274
 
public:
275
 
        void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SG_Node"); }
276
 
        void operator delete( void *mem ) { MEM_freeN(mem); }
 
274
        MEM_CXX_CLASS_ALLOC_FUNCS("GE:SG_Node")
277
275
#endif
278
276
};
279
277
 
280
 
#endif //__SG_NODE_H__
281
 
 
 
278
#endif  /* __SG_NODE_H__ */