~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to intern/boolop/intern/BOP_BSPNode.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
 
1
/*
2
2
 * ***** BEGIN GPL LICENSE BLOCK *****
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or
24
24
 *
25
25
 * ***** END GPL LICENSE BLOCK *****
26
26
 */
 
27
 
 
28
/** \file boolop/intern/BOP_BSPNode.h
 
29
 *  \ingroup boolopintern
 
30
 */
 
31
 
27
32
 
28
 
#ifndef BOP_BSPNODE_H
29
 
#define BOP_BSPNODE_H
 
33
#ifndef __BOP_BSPNODE_H__
 
34
#define __BOP_BSPNODE_H__
30
35
 
31
36
#include "MT_Plane3.h"
32
37
#include "BOP_Tag.h"
33
38
#include "BOP_Face.h"
34
39
 
35
 
typedef vector<MT_Point3> BOP_BSPPoints;
36
 
typedef vector<MT_Point3>::iterator BOP_IT_BSPPoints;
 
40
typedef std::vector<MT_Point3> BOP_BSPPoints;
 
41
typedef std::vector<MT_Point3>::const_iterator BOP_IT_BSPPoints;
37
42
 
38
43
class BOP_BSPNode
39
44
{
47
52
        // Construction methods
48
53
        BOP_BSPNode(const MT_Plane3& plane);
49
54
        ~BOP_BSPNode();
50
 
        unsigned int addFace(BOP_BSPPoints pts, 
 
55
        unsigned int addFace(const BOP_BSPPoints& pts, 
51
56
                                                 const MT_Plane3& plane);
52
57
        BOP_TAG classifyFace(const MT_Point3& p1, 
53
58
                                                 const MT_Point3& p2,