| 
    JunkBox_Lib++ (for Windows) 1.10.1
    
   | 
 
#include <Brep.h>

Public Member Functions | |
| OctreeNode (BREP_VERTEX *new_vertex, BREP_SOLID *sld) | |
| OctreeNodeのコンストラクタは,BREP_VERTEXに対して,新たに領域を作らずにポインタをコピーすることに注意!!   | |
| ~OctreeNode () | |
| OctreeNode * | AddWithUnique (BREP_VERTEX *new_vertex) | 
| OctreeNode * | AddWithDuplicates (BREP_VERTEX *new_vertex) | 
| OctreeNode * | FindSubtree (BREP_VERTEX *element) | 
| Vertex element と同じ位置にある Vertexを含むノードを返す.   | |
| void | ComputeVerticesNormal (void) | 
Public Attributes | |
| BREP_SOLID * | solid | 
Private Attributes | |
| BREP_VERTEX * | vertex | 
| ルートノードの場合は NULL   | |
| OctreeNode * | child [8] | 
Friends | |
| BREP_VERTEX ** | GetOctreeVertices (OctreeNode *octree, long int *vertexno) | 
| long int | OctreeGetter (OctreeNode *p, BREP_VERTEX **vtx, long int counter) | 
| BREP_VERTEX * | AddVertex2Octree (BREP_VERTEX *vertex, OctreeNode *octree, bool dupli) | 
| OctreeNode | ( | BREP_VERTEX * | new_vertex, | 
| BREP_SOLID * | sld ) | 
Definition at line 658 of file Brep.cpp.
References OctreeNode::child, BREP_VERTEX::index, OctreeNode::solid, OctreeNode::vertex, and BREP_SOLID::vertexid.
| ~OctreeNode | ( | ) | 
Definition at line 672 of file Brep.cpp.
References OctreeNode::child, OctreeNode::solid, OctreeNode::vertex, and BREP_SOLID::vertexno.
| OctreeNode * AddWithDuplicates | ( | BREP_VERTEX * | new_vertex | ) | 
Octreeに Vertex new_vertex そのものを登録する.重複登録を許す. 登録した OctreeNode を返す.
OctreeNode* OctreeNode::AddWithDuplicates(BREP_VERTEX* new_vertex)
Octreeに Vertex new_vertex そのものを登録する.重複登録を許す.
登録した OctreeNodeを返す. 
Definition at line 729 of file Brep.cpp.
References OctreeNode::child, jbxl::CompareVertex(), BREP_VERTEX::index, jbxl::OctreeNode, OctreeNode::solid, OctreeNode::vertex, and BREP_SOLID::vertexid.
Referenced by jbxl::AddVertex2Octree().


| OctreeNode * AddWithUnique | ( | BREP_VERTEX * | new_vertex | ) | 
Octreeに Vertex new_vertexそのものを登録する.登録した OctreeNodeを返す. 既に同じ位置のVertexが登録済み(UVマップも比べる)の場合は,その OctreeNodeを返す.
OctreeNode* OctreeNode::AddWithUnique(BREP_VERTEX* new_vertex)
Octreeに Vertex new_vertexそのものを登録する.登録した OctreeNodeを返す. 既に同じ位置のVertexが登録済みの場合は,その OctreeNodeを返す.
Definition at line 691 of file Brep.cpp.
References OctreeNode::child, jbxl::CompareVertex(), BREP_VERTEX::index, jbxl::OctreeNode, OctreeNode::solid, OctreeNode::vertex, and BREP_SOLID::vertexid.
Referenced by jbxl::AddVertex2Octree().


| void ComputeVerticesNormal | ( | void | ) | 
Definition at line 779 of file Brep.cpp.
References BREP_VERTEX::calc_normal, OctreeNode::child, BREP_VERTEX::ComputeNormal(), OctreeNode::ComputeVerticesNormal(), and OctreeNode::vertex.
Referenced by BREP_SOLID::CloseData(), and OctreeNode::ComputeVerticesNormal().


| OctreeNode * FindSubtree | ( | BREP_VERTEX * | element | ) | 
OctreeNode* OctreeNode::FindSubtree(BREP_VERTEX* element)
Vertex element と同じ位置にある Vertexを含むノードを返す.
Definition at line 765 of file Brep.cpp.
References OctreeNode::child, jbxl::CompareVertex(), and OctreeNode::vertex.

      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  private | 
Definition at line 298 of file Brep.h.
Referenced by OctreeNode::AddWithDuplicates(), OctreeNode::AddWithUnique(), OctreeNode::ComputeVerticesNormal(), OctreeNode::FindSubtree(), jbxl::OctreeGetter(), OctreeNode::OctreeNode(), and OctreeNode::~OctreeNode().
| BREP_SOLID* solid | 
Definition at line 294 of file Brep.h.
Referenced by jbxl::AddVertex2Octree(), OctreeNode::AddWithDuplicates(), OctreeNode::AddWithUnique(), OctreeNode::OctreeNode(), and OctreeNode::~OctreeNode().
      
  | 
  private | 
Definition at line 297 of file Brep.h.
Referenced by jbxl::AddVertex2Octree(), OctreeNode::AddWithDuplicates(), OctreeNode::AddWithUnique(), OctreeNode::ComputeVerticesNormal(), OctreeNode::FindSubtree(), jbxl::OctreeGetter(), OctreeNode::OctreeNode(), and OctreeNode::~OctreeNode().