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

Public Member Functions | |
| BREP_SOLID () | |
| virtual | ~BREP_SOLID () |
| void | FreeData (void) |
| void | CloseData (void) |
| void | ConnectShell (BREP_SHELL *shell) |
| void | DisconnectShell (BREP_SHELL *shell) |
Public Attributes | |
| unsigned int | facetno |
| 面の数 | |
| unsigned int | vertexno |
| 頂点の数 | |
| unsigned int | vertexid |
| 頂点のカウンタ.Vertex のIDを決める際に使用 | |
| int | vcount |
| 1面あたりの頂点数 | |
| BREP_SHELL_LIST | shells |
| OctreeNode * | octree |
| RBound< double > | rbound |
| BREP_CONTOUR_LIST | contours |
| Contours リスト | |
| BREP_WING_LIST | wings |
| Wings リスト | |
| BREP_CONTOUR_LIST | surplus_contours |
| 過剰 Contours リスト | |
| BREP_WING_LIST | shortage_wings |
| 不足 Wings リスト | |
| std::string | name |
| CVCounter * | counter |
| 仮想計量カウンタ | |
| bool | freed |
| 開放済み確認フラグ | |
| BREP_SOLID | ( | ) |
空の Solidを作る
Definition at line 25 of file Brep.cpp.
References BREP_SOLID::counter, BREP_SOLID::facetno, BREP_SOLID::freed, BREP_SOLID::octree, jbxl::OctreeNode, BREP_SOLID::rbound, RBound< T >::set(), BREP_SOLID::vcount, BREP_SOLID::vertexid, and BREP_SOLID::vertexno.

|
virtual |
ディストラクタ
Definition at line 45 of file Brep.cpp.
References BREP_SOLID::freed, and BREP_SOLID::FreeData().

| void CloseData | ( | void | ) |
Definition at line 92 of file Brep.cpp.
References OctreeNode::ComputeVerticesNormal(), RBound< T >::fusion(), BREP_SOLID::octree, BREP_SOLID::rbound, and BREP_SOLID::shells.
Referenced by jbxl::CloseTriSolid().


| void ConnectShell | ( | BREP_SHELL * | shell | ) |
void BREP_SOLID::ConnectShell(BREP_SHELL* shell)
Solidに指定したShellを結合する.
Definition at line 107 of file Brep.cpp.
References BREP_SOLID::shells, and BREP_SHELL::solid.
Referenced by BREP_SHELL::BREP_SHELL().

| void DisconnectShell | ( | BREP_SHELL * | shell | ) |
void BREP_SOLID::DisconnectShell(BREP_SHELL* shell)
Solidから指定したShellを削除する.
Definition at line 121 of file Brep.cpp.
References BREP_SOLID::shells, and BREP_SHELL::solid.
Referenced by BREP_SHELL::~BREP_SHELL().

| void FreeData | ( | void | ) |
Solid が持つ Shell以下のオブジェクトとVertex の Octreeを全て削除
Definition at line 56 of file Brep.cpp.
References BREP_SOLID::contours, BREP_SOLID::counter, CVCounter::DeleteChildCounter(), BREP_SOLID::freed, CVCounter::GetUsableCounter(), CVCounter::MakeChildCounter(), BREP_SOLID::octree, CVCounter::SetMax(), BREP_SOLID::shells, BREP_SOLID::shortage_wings, BREP_SOLID::surplus_contours, and BREP_SOLID::wings.
Referenced by jbxl::freeBrepSolid(), and BREP_SOLID::~BREP_SOLID().


| BREP_CONTOUR_LIST contours |
Definition at line 83 of file Brep.h.
Referenced by BrepSolidList::addSolid(), jbxl::AddVector2TriSolid(), jbxl::CloseTriSolid(), MeshFacetNode::computeVertexByBREP(), MeshFacetNode::computeVertexByBREP(), jbxl::CreateContoursList(), jbxl::CreateSurplusContoursList(), jbxl::CreateTriSolidFromSTL(), jbxl::CreateTriSolidFromVector(), jbxl::CreateWingsList(), BREP_SOLID::FreeData(), BrepSolidList::getMerge(), jbxl::IsCollisionContours(), jbxl::PatchupContour(), jbxl::writeSTLFileA(), and jbxl::writeSTLFileB().
| CVCounter* counter |
Definition at line 90 of file Brep.h.
Referenced by BREP_SOLID::BREP_SOLID(), jbxl::CreateTriSolidFromSTL(), jbxl::CreateTriSolidFromVector(), jbxl::DeleteShortageWings(), jbxl::DeleteStraightEdges(), jbxl::DeleteSurplusContours(), jbxl::FillShortageWings(), BREP_SOLID::FreeData(), jbxl::PatchupContour(), and BREP_SHELL::~BREP_SHELL().
| unsigned int facetno |
Definition at line 74 of file Brep.h.
Referenced by BrepSolidList::addSolid(), BREP_SOLID::BREP_SOLID(), MeshFacetNode::computeVertexByBREP(), MeshFacetNode::computeVertexByBREP(), jbxl::CreateContoursList(), and BrepSolidList::getMerge().
| bool freed |
Definition at line 92 of file Brep.h.
Referenced by BREP_SOLID::BREP_SOLID(), BREP_SOLID::FreeData(), and BREP_SOLID::~BREP_SOLID().
| OctreeNode* octree |
Definition at line 80 of file Brep.h.
Referenced by BrepSolidList::addSolid(), jbxl::AddVector2TriSolid(), BREP_SOLID::BREP_SOLID(), BREP_SOLID::CloseData(), MeshFacetNode::computeVertexByBREP(), MeshFacetNode::computeVertexByBREP(), jbxl::CreateContourByVector(), jbxl::CreateTriSolidFromSTL(), jbxl::CreateTriSolidFromVector(), and BREP_SOLID::FreeData().
| RBound<double> rbound |
Definition at line 81 of file Brep.h.
Referenced by BREP_SOLID::BREP_SOLID(), and BREP_SOLID::CloseData().
| BREP_SHELL_LIST shells |
Definition at line 79 of file Brep.h.
Referenced by BREP_SOLID::CloseData(), BREP_SOLID::ConnectShell(), jbxl::CreateContoursList(), BREP_SOLID::DisconnectShell(), BREP_SOLID::FreeData(), and jbxl::ReverseContours().
| BREP_WING_LIST shortage_wings |
Definition at line 87 of file Brep.h.
Referenced by jbxl::CreateShortageWingsList(), jbxl::DeleteShortageWings(), jbxl::DeleteStraightEdges(), jbxl::FillShortageWings(), jbxl::FillShortageWings_Near(), jbxl::FillShortageWings_Next(), BREP_SOLID::FreeData(), and jbxl::JoinShortageWings().
| BREP_CONTOUR_LIST surplus_contours |
Definition at line 86 of file Brep.h.
Referenced by jbxl::CreateSurplusContoursList(), jbxl::DeleteSurplusContours(), and BREP_SOLID::FreeData().
| int vcount |
Definition at line 77 of file Brep.h.
Referenced by BREP_SOLID::BREP_SOLID(), and jbxl::CloseTriSolid().
| unsigned int vertexid |
Definition at line 76 of file Brep.h.
Referenced by OctreeNode::AddWithDuplicates(), OctreeNode::AddWithUnique(), BREP_SOLID::BREP_SOLID(), and OctreeNode::OctreeNode().
| unsigned int vertexno |
Definition at line 75 of file Brep.h.
Referenced by jbxl::AddVertex2Octree(), BREP_SOLID::BREP_SOLID(), and OctreeNode::~OctreeNode().
| BREP_WING_LIST wings |
Definition at line 84 of file Brep.h.
Referenced by jbxl::CreateShortageWingsList(), jbxl::CreateWingsList(), and BREP_SOLID::FreeData().