UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
U3dBound Class Reference

#include <u3d_bound.hpp>

Public Member Functions

 U3dBound (U3dBox modelBox, U3dPointsAr points, U3dSignAr relations, U3dInterpolationType iType)
 
 U3dBound (U3dBox modelBox, U3dPoint p, double dip, double az)
 
 U3dBound (U3dBound *)
 
U3dBoxgetBoundBox () const
 
bool getSideColor (U3dPoint, U3D_COLOR &)
 
void severance (const U3dBound *b, U3D_COLOR color)
 
void getInitialPoints (U3dPointsAr &ps)
 
const U3dPointsAr & getInitialPoints () const
 
int getApproxType () const
 
U3dSignAr getRelations () const
 
U3dTriangledAbstractSurfacegetTrSurf () const
 
U3dMathAbstractSurfacegetMathSurf () const
 
const std::set< int > & getActTrIds ()
 
int getActTrNum () const
 
U3dPoint getPoint (int pId) const throw (std::out_of_range)
 
const U3dTrianglegetTriangle (int id) const throw (std::out_of_range)
 
bool getTrianglePoints (int trId, U3dPoint &p1, U3dPoint &p2, U3dPoint &p3)
 
U3dInterpolationType getIntType () const
 
 U3dBound (U3dBox modelBox, U3dPointsAr points, U3dSignAr relations, U3dInterpolationType iType)
 
 U3dBound (U3dBox modelBox, U3dPoint p, double dip, double az)
 
 U3dBound (U3dBound *)
 
U3dBoxgetBoundBox () const
 
bool getSideColor (U3dPoint, U3D_COLOR &)
 
void severance (const U3dBound *b, U3D_COLOR color)
 
void getInitialPoints (U3dPointsAr &ps)
 
int getApproxType ()
 
U3dSignAr getRelations () const
 
U3dTriangledAbstractSurfacegetTrSurf () const
 
U3dMathAbstractSurfacegetMathSurf () const
 
const int_set & getActTrIds ()
 
int getActTrNum () const
 
U3dPoint getPoint (int pId) const throw (std::out_of_range)
 
const U3dTrianglegetTriangle (int id) const throw (std::out_of_range)
 
bool getTrianglePoints (int trId, U3dPoint &p1, U3dPoint &p2, U3dPoint &p3)
 
U3dInterpolationType getIntType () const
 

Protected Member Functions

void calculateBoundBox ()
 
void calculateBoundBox ()
 

Protected Attributes

bool m_ready
 
U3dMathAbstractSurfacem_mathSurf
 
U3dTriangledAbstractSurfacem_trianSurf
 
U3dBoxm_box
 
U3dSignAr m_relations
 
U3dInterpolationType m_intType
 

Detailed Description

Bound of 3d velocity model object

Constructor & Destructor Documentation

U3dBound::U3dBound ( U3dBox  modelBox,
U3dPointsAr  points,
U3dSignAr  relations,
U3dInterpolationType  iType 
)

Constructor for bound defined arbitrary

U3dBound::U3dBound ( U3dBox  modelBox,
U3dPoint  p,
double  dip,
double  az 
)

Constructor for a plane bound

U3dBound::U3dBound ( U3dBound )

Copy constructor

U3dBound::U3dBound ( U3dBox  modelBox,
U3dPointsAr  points,
U3dSignAr  relations,
U3dInterpolationType  iType 
)

Constructor for bound defined arbitrary

U3dBound::U3dBound ( U3dBox  modelBox,
U3dPoint  p,
double  dip,
double  az 
)

Constructor for a plane bound

U3dBound::U3dBound ( U3dBound )

Copy constructor

Member Function Documentation

const std::set<int>& U3dBound::getActTrIds ( )
inline

Returns array of active triangles indexes

const int_set& U3dBound::getActTrIds ( )
inline

Returns array of active triangles indexes

int U3dBound::getActTrNum ( ) const
inline

Returns active triangles number

int U3dBound::getActTrNum ( ) const
inline

Returns active triangles number

int U3dBound::getApproxType ( ) const
inline

Returns type of mathematical and triangulation approximations (not realized yet)

int U3dBound::getApproxType ( )
inline

Returns type of mathematical and triangulation approximations (not realized yet)

U3dBox* U3dBound::getBoundBox ( ) const
inline

Returns surface 3d-box (calculated using triangles)

U3dBox* U3dBound::getBoundBox ( ) const
inline

Returns surface 3d-box (calculated using triangles)

void U3dBound::getInitialPoints ( U3dPointsAr &  ps)

Returns initial points (input nodes for mathematics) of the surface

const U3dPointsAr& U3dBound::getInitialPoints ( ) const

Returns initial points (input nodes for mathematics) of the surface (Const version)

void U3dBound::getInitialPoints ( U3dPointsAr &  ps)

Returns initial points (input nodes for mathematics) of the surface

U3dInterpolationType U3dBound::getIntType ( ) const
inline

Returns surface interpolation type

U3dInterpolationType U3dBound::getIntType ( ) const
inline

Returns surface interpolation type

U3dMathAbstractSurface* U3dBound::getMathSurf ( ) const
inline

returns math surface object

U3dMathAbstractSurface* U3dBound::getMathSurf ( ) const
inline

returns math surface object

U3dPoint U3dBound::getPoint ( int  pId) const
throw (std::out_of_range
)
inline

Returns point according to it's ID

U3dPoint U3dBound::getPoint ( int  pId) const
throw (std::out_of_range
)
inline

Returns point according to it's ID

U3dSignAr U3dBound::getRelations ( ) const
inline

Returns bound relations array

U3dSignAr U3dBound::getRelations ( ) const
inline

Returns bound relations array

bool U3dBound::getSideColor ( U3dPoint  ,
U3D_COLOR &   
)

Determines, on wich side from the surface given point is located

bool U3dBound::getSideColor ( U3dPoint  ,
U3D_COLOR &   
)

Determines, on wich side from the surface given point is located

const U3dTriangle* U3dBound::getTriangle ( int  id) const
throw (std::out_of_range
)
inline

Returns triangle according to it's ID

const U3dTriangle* U3dBound::getTriangle ( int  id) const
throw (std::out_of_range
)
inline

Returns triangle according to it's ID

bool U3dBound::getTrianglePoints ( int  trId,
U3dPoint p1,
U3dPoint p2,
U3dPoint p3 
)

Returns triangle points according to triangles ID

bool U3dBound::getTrianglePoints ( int  trId,
U3dPoint p1,
U3dPoint p2,
U3dPoint p3 
)

Returns triangle points according to triangles ID

U3dTriangledAbstractSurface* U3dBound::getTrSurf ( ) const
inline

Returns triangled surface object

U3dTriangledAbstractSurface* U3dBound::getTrSurf ( ) const
inline

Returns triangled surface object

Member Data Documentation

U3dBox * U3dBound::m_box
protected

Surface 3d-box

U3dInterpolationType U3dBound::m_intType
protected

Type of bound interpolation (now only two types are used: Plane, CRomSpline3)

U3dMathAbstractSurface * U3dBound::m_mathSurf
protected

Mathematical surface object

bool U3dBound::m_ready
protected

Init correctness flag

U3dSignAr U3dBound::m_relations
protected
                      Array of bound relations 

(intersected bounds numbers and colours)

U3dTriangledAbstractSurface * U3dBound::m_trianSurf
protected

Triangulated surface object


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