Public Member Functions | Private Member Functions | Private Attributes | List of all members
BSPNode Class Reference

Public Member Functions

 BSPNode (Polygone *)
 
void insert (Polygone *)
 
void insert (Segment *)
 
void insert (Point *)
 
void recursFillPrimitiveArray (vector< PtrPrimitive > &) const
 
 ~BSPNode ()
 

Private Member Functions

void Classify (Polygone *, Polygone *&, Polygone *&)
 
void Classify (Segment *, Segment *&, Segment *&)
 
int Classify (Point *)
 
void initEquation (const Polygone *P, double &a, double &b, double &c, double &d)
 

Private Attributes

double a
 
double b
 
double c
 
double d
 
BSPNodefils_moins
 
BSPNodefils_plus
 
Polygonepolygone
 
vector< Point * > pts_moins
 
vector< Point * > pts_plus
 
vector< Segment * > seg_moins
 
vector< Segment * > seg_plus
 

Detailed Description

Definition at line 124 of file BSPSortMethod.cpp.

Constructor & Destructor Documentation

BSPNode::BSPNode ( Polygone P)

Definition at line 576 of file BSPSortMethod.cpp.

BSPNode::~BSPNode ( )

Definition at line 181 of file BSPSortMethod.cpp.

Member Function Documentation

void BSPNode::Classify ( Polygone P,
Polygone *&  moins_,
Polygone *&  plus_ 
)
private

Definition at line 302 of file BSPSortMethod.cpp.

void BSPNode::Classify ( Segment S,
Segment *&  moins_,
Segment *&  plus_ 
)
private

Definition at line 197 of file BSPSortMethod.cpp.

int BSPNode::Classify ( Point P)
private

Definition at line 187 of file BSPSortMethod.cpp.

void BSPNode::initEquation ( const Polygone P,
double &  a,
double &  b,
double &  c,
double &  d 
)
private

Definition at line 586 of file BSPSortMethod.cpp.

void BSPNode::insert ( Polygone P)

Definition at line 489 of file BSPSortMethod.cpp.

void BSPNode::insert ( Segment S)

Definition at line 555 of file BSPSortMethod.cpp.

void BSPNode::insert ( Point P)

Definition at line 536 of file BSPSortMethod.cpp.

void BSPNode::recursFillPrimitiveArray ( vector< PtrPrimitive > &  primitive_tab) const

Definition at line 514 of file BSPSortMethod.cpp.

Member Data Documentation

double BSPNode::a
private

Definition at line 137 of file BSPSortMethod.cpp.

double BSPNode::b
private

Definition at line 137 of file BSPSortMethod.cpp.

double BSPNode::c
private

Definition at line 137 of file BSPSortMethod.cpp.

double BSPNode::d
private

Definition at line 137 of file BSPSortMethod.cpp.

BSPNode* BSPNode::fils_moins
private

Definition at line 139 of file BSPSortMethod.cpp.

BSPNode* BSPNode::fils_plus
private

Definition at line 140 of file BSPSortMethod.cpp.

Polygone* BSPNode::polygone
private

Definition at line 148 of file BSPSortMethod.cpp.

vector<Point *> BSPNode::pts_moins
private

Definition at line 146 of file BSPSortMethod.cpp.

vector<Point *> BSPNode::pts_plus
private

Definition at line 145 of file BSPSortMethod.cpp.

vector<Segment *> BSPNode::seg_moins
private

Definition at line 143 of file BSPSortMethod.cpp.

vector<Segment *> BSPNode::seg_plus
private

Definition at line 142 of file BSPSortMethod.cpp.


The documentation for this class was generated from the following file:


octovis
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Mon Jun 10 2019 14:00:25