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

#include <WireFrame.h>

Public Member Functions

double ArcHeight (point u, point v1, point v2) const
 
point CrossProduct (point u, point v) const
 
double Dist (point u, point v) const
 
void ExportLines (int min_layer, int max_layer, const char *path)
 
void ExportPoints (int min_layer, int max_layer, const char *path)
 
void ExportSubgraph (const char *path)
 
Vec3f GetBaseCenterPos () const
 
point GetCenterPos (int i) const
 
Vec3f GetCenterPos () const
 
int GetDegree (int u) const
 
WF_edgeGetEdge (int i)
 
vector< WF_edge * > * GetEdgeList ()
 
int GetEndu (int i) const
 
int GetEndv (int i) const
 
WF_edgeGetNeighborEdge (int u)
 
point GetPosition (int u) const
 
double GetUnitScale () const
 
WF_vertGetVert (int u)
 
vector< WF_vert * > * GetVertList ()
 
void ImportFrom3DD (const char *path)
 
WF_edgeInsertEdge (WF_vert *u, WF_vert *v)
 
WF_edgeInsertOneWayEdge (WF_vert *u, WF_vert *v)
 
WF_vertInsertVertex (const Vec3f p)
 
bool isFixed (int u) const
 
bool isPillar (int i) const
 
void LoadFromOBJ (const char *path)
 
void LoadFromPWF (const char *path)
 
void MakeBase (vector< WF_vert * > &base_v)
 
void MakeCeiling (vector< WF_edge * > &bound_e)
 
void MakeSubGraph (vector< WF_edge * > &subg_e)
 
double maxX () const
 
double maxY () const
 
double maxZ () const
 
double minX () const
 
double minY () const
 
double minZ () const
 
void ModifyProjection (double len)
 
double Norm (point u) const
 
void ProjectBound (double len)
 
void SetUnitScale (double unit_scale)
 
void SimplifyFrame ()
 
int SizeOfBaseVert () const
 
int SizeOfCeiling () const
 
int SizeOfEdgeList () const
 
int SizeOfFixedVert () const
 
int SizeOfLayer () const
 
int SizeOfPillar () const
 
int SizeOfVertList () const
 
void Unify ()
 
point Unify (Vec3f p)
 
 WireFrame ()
 
void WriteToOBJ (const char *path)
 
void WriteToPWF (bool bVert, bool bLine, bool bPillar, bool bCeiling, bool bCut, int min_layer, int max_layer, const char *path)
 
 ~WireFrame ()
 

Private Attributes

Vec3f base_center_pos_
 
int base_vert_
 
double basez_
 
int ceiling_size_
 
Vec3f center_pos_
 
double delta_tol_
 
int fixed_vert_
 
int layer_size_
 
double maxx_
 
double maxy_
 
double maxz_
 
double minx_
 
double miny_
 
double minz_
 
std::vector< WF_edge * > * pedge_list_
 
int pillar_size_
 
std::vector< WF_vert * > * pvert_list_
 
float scaleV_
 
double unify_size_
 
double unit_scale_
 

Detailed Description

Definition at line 188 of file WireFrame.h.

Constructor & Destructor Documentation

WireFrame::WireFrame ( )

Definition at line 4 of file WireFrame.cpp.

WireFrame::~WireFrame ( )

Definition at line 12 of file WireFrame.cpp.

Member Function Documentation

double WireFrame::ArcHeight ( point  u,
point  v1,
point  v2 
) const
inline

Definition at line 282 of file WireFrame.h.

point WireFrame::CrossProduct ( point  u,
point  v 
) const
inline

Definition at line 276 of file WireFrame.h.

double WireFrame::Dist ( point  u,
point  v 
) const
inline

Definition at line 268 of file WireFrame.h.

void WireFrame::ExportLines ( int  min_layer,
int  max_layer,
const char *  path 
)

Definition at line 684 of file WireFrame.cpp.

void WireFrame::ExportPoints ( int  min_layer,
int  max_layer,
const char *  path 
)

Definition at line 642 of file WireFrame.cpp.

void WireFrame::ExportSubgraph ( const char *  path)

Definition at line 588 of file WireFrame.cpp.

Vec3f WireFrame::GetBaseCenterPos ( ) const
inline

Definition at line 249 of file WireFrame.h.

point WireFrame::GetCenterPos ( int  i) const
inline

Definition at line 247 of file WireFrame.h.

Vec3f WireFrame::GetCenterPos ( ) const
inline

Definition at line 248 of file WireFrame.h.

int WireFrame::GetDegree ( int  u) const
inline

Definition at line 242 of file WireFrame.h.

WF_edge* WireFrame::GetEdge ( int  i)
inline

Definition at line 238 of file WireFrame.h.

vector<WF_edge*>* WireFrame::GetEdgeList ( )
inline

Definition at line 236 of file WireFrame.h.

int WireFrame::GetEndu ( int  i) const
inline

Definition at line 244 of file WireFrame.h.

int WireFrame::GetEndv ( int  i) const
inline

Definition at line 245 of file WireFrame.h.

WF_edge* WireFrame::GetNeighborEdge ( int  u)
inline

Definition at line 239 of file WireFrame.h.

point WireFrame::GetPosition ( int  u) const
inline

Definition at line 241 of file WireFrame.h.

double WireFrame::GetUnitScale ( ) const
inline

Definition at line 251 of file WireFrame.h.

WF_vert* WireFrame::GetVert ( int  u)
inline

Definition at line 237 of file WireFrame.h.

vector<WF_vert*>* WireFrame::GetVertList ( )
inline

Definition at line 235 of file WireFrame.h.

void WireFrame::ImportFrom3DD ( const char *  path)

Definition at line 528 of file WireFrame.cpp.

WF_edge * WireFrame::InsertEdge ( WF_vert u,
WF_vert v 
)

Definition at line 739 of file WireFrame.cpp.

WF_edge * WireFrame::InsertOneWayEdge ( WF_vert u,
WF_vert v 
)

Definition at line 763 of file WireFrame.cpp.

WF_vert * WireFrame::InsertVertex ( const Vec3f  p)

Definition at line 719 of file WireFrame.cpp.

bool WireFrame::isFixed ( int  u) const
inline

Definition at line 253 of file WireFrame.h.

bool WireFrame::isPillar ( int  i) const
inline

Definition at line 254 of file WireFrame.h.

void WireFrame::LoadFromOBJ ( const char *  path)

Definition at line 34 of file WireFrame.cpp.

void WireFrame::LoadFromPWF ( const char *  path)

Definition at line 148 of file WireFrame.cpp.

void WireFrame::MakeBase ( vector< WF_vert * > &  base_v)

Definition at line 1072 of file WireFrame.cpp.

void WireFrame::MakeCeiling ( vector< WF_edge * > &  bound_e)

Definition at line 1047 of file WireFrame.cpp.

void WireFrame::MakeSubGraph ( vector< WF_edge * > &  subg_e)

Definition at line 1103 of file WireFrame.cpp.

double WireFrame::maxX ( ) const
inline

Definition at line 256 of file WireFrame.h.

double WireFrame::maxY ( ) const
inline

Definition at line 258 of file WireFrame.h.

double WireFrame::maxZ ( ) const
inline

Definition at line 260 of file WireFrame.h.

double WireFrame::minX ( ) const
inline

Definition at line 257 of file WireFrame.h.

double WireFrame::minY ( ) const
inline

Definition at line 259 of file WireFrame.h.

double WireFrame::minZ ( ) const
inline

Definition at line 261 of file WireFrame.h.

void WireFrame::ModifyProjection ( double  len)

Definition at line 1023 of file WireFrame.cpp.

double WireFrame::Norm ( point  u) const
inline

Definition at line 263 of file WireFrame.h.

void WireFrame::ProjectBound ( double  len)

Definition at line 994 of file WireFrame.cpp.

void WireFrame::SetUnitScale ( double  unit_scale)
inline

Definition at line 225 of file WireFrame.h.

void WireFrame::SimplifyFrame ( )

Definition at line 925 of file WireFrame.cpp.

int WireFrame::SizeOfBaseVert ( ) const
inline

Definition at line 230 of file WireFrame.h.

int WireFrame::SizeOfCeiling ( ) const
inline

Definition at line 232 of file WireFrame.h.

int WireFrame::SizeOfEdgeList ( ) const
inline

Definition at line 228 of file WireFrame.h.

int WireFrame::SizeOfFixedVert ( ) const
inline

Definition at line 229 of file WireFrame.h.

int WireFrame::SizeOfLayer ( ) const
inline

Definition at line 233 of file WireFrame.h.

int WireFrame::SizeOfPillar ( ) const
inline

Definition at line 231 of file WireFrame.h.

int WireFrame::SizeOfVertList ( ) const
inline

Definition at line 227 of file WireFrame.h.

void WireFrame::Unify ( )

Definition at line 781 of file WireFrame.cpp.

point WireFrame::Unify ( Vec3f  p)

Definition at line 919 of file WireFrame.cpp.

void WireFrame::WriteToOBJ ( const char *  path)

Definition at line 360 of file WireFrame.cpp.

void WireFrame::WriteToPWF ( bool  bVert,
bool  bLine,
bool  bPillar,
bool  bCeiling,
bool  bCut,
int  min_layer,
int  max_layer,
const char *  path 
)

Definition at line 402 of file WireFrame.cpp.

Member Data Documentation

Vec3f WireFrame::base_center_pos_
private

Definition at line 309 of file WireFrame.h.

int WireFrame::base_vert_
private

Definition at line 295 of file WireFrame.h.

double WireFrame::basez_
private

Definition at line 306 of file WireFrame.h.

int WireFrame::ceiling_size_
private

Definition at line 297 of file WireFrame.h.

Vec3f WireFrame::center_pos_
private

Definition at line 308 of file WireFrame.h.

double WireFrame::delta_tol_
private

Definition at line 312 of file WireFrame.h.

int WireFrame::fixed_vert_
private

Definition at line 294 of file WireFrame.h.

int WireFrame::layer_size_
private

Definition at line 298 of file WireFrame.h.

double WireFrame::maxx_
private

Definition at line 300 of file WireFrame.h.

double WireFrame::maxy_
private

Definition at line 301 of file WireFrame.h.

double WireFrame::maxz_
private

Definition at line 302 of file WireFrame.h.

double WireFrame::minx_
private

Definition at line 303 of file WireFrame.h.

double WireFrame::miny_
private

Definition at line 304 of file WireFrame.h.

double WireFrame::minz_
private

Definition at line 305 of file WireFrame.h.

std::vector<WF_edge*>* WireFrame::pedge_list_
private

Definition at line 292 of file WireFrame.h.

int WireFrame::pillar_size_
private

Definition at line 296 of file WireFrame.h.

std::vector<WF_vert*>* WireFrame::pvert_list_
private

Definition at line 291 of file WireFrame.h.

float WireFrame::scaleV_
private

Definition at line 310 of file WireFrame.h.

double WireFrame::unify_size_
private

Definition at line 311 of file WireFrame.h.

double WireFrame::unit_scale_
private

Definition at line 315 of file WireFrame.h.


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


choreo_task_sequence_planner
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:03:15