UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | List of all members
U3dPlaneTriangledSurface Class Reference
Inheritance diagram for U3dPlaneTriangledSurface:
U3dTriangledAbstractSurface U3dTriangledAbstractSurface

Public Member Functions

 U3dPlaneTriangledSurface (U3dPointsAr points, U3dPoint zeroPoint)
 
 U3dPlaneTriangledSurface (U3dBox box, U3dPoint p1, U3dPoint p2, U3dPoint p3, U3dPoint zeroPoint)
 
 U3dPlaneTriangledSurface (U3dBox box, U3dPoint point, double dip, double az, U3dPoint zeroPoint)
 
 U3dPlaneTriangledSurface (const U3dPlaneTriangledSurface &other)
 
virtual bool getSideColor (const U3dPoint &p, U3D_COLOR &u3dcolor) const
 
virtual U3dBox getBox () const
 
virtual void addPoint (U3dPoint *p)
 
virtual bool removePoint (int i)
 
virtual void movePoint (int i, double d1, double d2, double d3)
 
 U3dPlaneTriangledSurface (U3dPointsAr points, U3dPoint zeroPoint)
 
 U3dPlaneTriangledSurface (U3dBox box, U3dPoint p1, U3dPoint p2, U3dPoint p3, U3dPoint zeroPoint)
 
 U3dPlaneTriangledSurface (U3dBox box, U3dPoint point, double dip, double az, U3dPoint zeroPoint)
 
 U3dPlaneTriangledSurface (const U3dPlaneTriangledSurface &other)
 
virtual bool getSideColor (const U3dPoint &p, U3D_COLOR &u3dcolor) const
 
virtual U3dBox getBox () const
 
virtual void addPoint (U3dPoint *p)
 
virtual bool removePoint (int i)
 
virtual void movePoint (int i, double d1, double d2, double d3)
 
- Public Member Functions inherited from U3dTriangledAbstractSurface
 U3dTriangledAbstractSurface (U3dMathAbstractSurface *ms, U3dPoint zeroPoint)
 
 U3dTriangledAbstractSurface (const U3dTriangledAbstractSurface &other)
 
const U3dTrianglegetTriangle (int id) const throw (std::out_of_range)
 
int getTrianglesNum () const
 
void severance (U3dTriangledAbstractSurface *other, const U3D_COLOR &)
 
void severance_old (const U3dTriangledAbstractSurface *other, const U3D_COLOR &)
 
void setWhitePoint (const U3dPoint &p)
 
U3dPoint getWhitePoint () const
 
const U3dPointgetPoint (int id) const throw (std::out_of_range)
 
U3dPointgetPoint (int id) throw (std::out_of_range)
 
bool getPoint (int id, double &x, double &y, double &z)
 
int getPointsNum ()
 
void getPoints (U3dPointsAr &ps)
 
void getInitialPoints (U3dPointsAr &ps)
 
const U3dPointsAr & getInitialPoints () const
 
virtual void getIntersections (U3dPoint p0, U3dPoint p1, std::vector< int > &int_trIds, U3dPointsAr &int_points)
 
bool isTriangulated ()
 
const std::set< int > & getActTrNums ()
 
U3dMathAbstractSurfacegetMathSurf ()
 
 U3dTriangledAbstractSurface (U3dMathAbstractSurface *ms, U3dPoint zeroPoint)
 
 U3dTriangledAbstractSurface (const U3dTriangledAbstractSurface &other)
 
const U3dTrianglegetTriangle (int id) const throw (std::out_of_range)
 
int getTrianglesNum () const
 
void severance (U3dTriangledAbstractSurface *other, const U3D_COLOR &)
 
void severance_old (const U3dTriangledAbstractSurface *other, const U3D_COLOR &)
 
void setWhitePoint (const U3dPoint &p)
 
U3dPoint getWhitePoint () const
 
const U3dPointgetPoint (int id) const throw (std::out_of_range)
 
U3dPointgetPoint (int id) throw (std::out_of_range)
 
bool getPoint (int id, double &x, double &y, double &z)
 
int getPointsNum ()
 
void getPoints (U3dPointsAr &ps)
 
void getInitialPoints (U3dPointsAr &ps)
 
virtual void getIntersections (U3dPoint p0, U3dPoint p1, std::vector< int > &int_trIds, U3dPointsAr &int_points)
 
bool isTriangulated ()
 
const int_set & getActTrNums ()
 
U3dMathAbstractSurfacegetMathSurf ()
 

Additional Inherited Members

- Protected Member Functions inherited from U3dTriangledAbstractSurface
virtual void calculateTrPlanes ()
 
virtual void calculateTrPlanes ()
 
- Protected Attributes inherited from U3dTriangledAbstractSurface
U3dMathAbstractSurfacem_math_surf
 
U3dPointsAr m_tps
 
U3dTrianglesAr m_triangles
 
U3dPointsAr m_initPoints
 
std::set< int > m_actTrNums
 
bool m_is_triangulated
 
U3dPoint m_white_point
 
int_set m_actTrNums
 

Member Function Documentation

virtual bool U3dPlaneTriangledSurface::getSideColor ( const U3dPoint p,
U3D_COLOR &  u3dcolor 
) const
virtual

Second parameter becomes true, if specified point lies to the white side of surface. Return value is true, if method succeed, and false otherwise.Determine from side of which color spicified point is placed.

Reimplemented from U3dTriangledAbstractSurface.

virtual bool U3dPlaneTriangledSurface::getSideColor ( const U3dPoint p,
U3D_COLOR &  u3dcolor 
) const
virtual

Second parameter becomes true, if specified point lies to the white side of surface. Return value is true, if method succeed, and false otherwise.Determine from side of which color spicified point is placed.

Reimplemented from U3dTriangledAbstractSurface.


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