ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
This commit is contained in:
@@ -33,48 +33,51 @@ using namespace std;
|
||||
|
||||
namespace Freestyle {
|
||||
|
||||
class NodeGroup : public Node
|
||||
{
|
||||
public:
|
||||
inline NodeGroup(): Node() {}
|
||||
virtual ~NodeGroup() {}
|
||||
class NodeGroup : public Node {
|
||||
public:
|
||||
inline NodeGroup() : Node()
|
||||
{
|
||||
}
|
||||
virtual ~NodeGroup()
|
||||
{
|
||||
}
|
||||
|
||||
/*! Adds a child. Makes a addRef on the iChild reference counter */
|
||||
virtual void AddChild(Node *iChild);
|
||||
/*! Adds a child. Makes a addRef on the iChild reference counter */
|
||||
virtual void AddChild(Node *iChild);
|
||||
|
||||
/*! destroys all the underlying nodes
|
||||
* Returns the reference counter after having done a release()
|
||||
*/
|
||||
virtual int destroy();
|
||||
/*! destroys all the underlying nodes
|
||||
* Returns the reference counter after having done a release()
|
||||
*/
|
||||
virtual int destroy();
|
||||
|
||||
/*! Detaches all the children */
|
||||
virtual void DetachChildren();
|
||||
/*! Detaches all the children */
|
||||
virtual void DetachChildren();
|
||||
|
||||
/*! Detached the sepcified child */
|
||||
virtual void DetachChild(Node *iChild);
|
||||
/*! Detached the sepcified child */
|
||||
virtual void DetachChild(Node *iChild);
|
||||
|
||||
/*! Retrieve children */
|
||||
virtual void RetrieveChildren(vector<Node*>& oNodes);
|
||||
/*! Retrieve children */
|
||||
virtual void RetrieveChildren(vector<Node *> &oNodes);
|
||||
|
||||
/*! Renders every children */
|
||||
// virtual void Render(Renderer *iRenderer);
|
||||
/*! Renders every children */
|
||||
// virtual void Render(Renderer *iRenderer);
|
||||
|
||||
/*! Accept the corresponding visitor */
|
||||
virtual void accept(SceneVisitor& v);
|
||||
/*! Accept the corresponding visitor */
|
||||
virtual void accept(SceneVisitor &v);
|
||||
|
||||
/*! Updates the BBox */
|
||||
virtual const BBox<Vec3r>& UpdateBBox();
|
||||
/*! Updates the BBox */
|
||||
virtual const BBox<Vec3r> &UpdateBBox();
|
||||
|
||||
/*! Returns the number of children */
|
||||
virtual int numberOfChildren()
|
||||
{
|
||||
return _Children.size();
|
||||
}
|
||||
/*! Returns the number of children */
|
||||
virtual int numberOfChildren()
|
||||
{
|
||||
return _Children.size();
|
||||
}
|
||||
|
||||
protected:
|
||||
vector<Node*> _Children;
|
||||
protected:
|
||||
vector<Node *> _Children;
|
||||
};
|
||||
|
||||
} /* namespace Freestyle */
|
||||
|
||||
#endif // __FREESTYLE_NODE_GROUP_H__
|
||||
#endif // __FREESTYLE_NODE_GROUP_H__
|
||||
|
||||
Reference in New Issue
Block a user