27#include <Inventor/SbLinear.h>
28#include <Inventor/SbBox.h>
29#include <MeshViz/graph/PbBase.h>
149 PbDomain(
float xmin,
float ymin,
float zmin,
float xmax,
float ymax,
float zmax,
160 void setDomain(
float xmin,
float ymin,
float zmin,
float xmax,
float ymax,
float zmax,
177 void getDomain(
float &xmin,
float &ymin,
float &xmax,
float &ymax)
const ;
183 void getDomain(
float &xmin,
float &ymin,
float &zmin,
float &xmax,
float &ymax,
float &zmax)
const ;
206 {
return m_transformType ; }
240 void getDelta(
float &deltaX,
float &deltaY)
const
241 { deltaX = m_delta[0] ; deltaY = m_delta[1] ; }
243 void getDelta(
float &deltaX,
float &deltaY,
float &deltaZ)
const
244 { deltaX = m_delta[0] ; deltaY = m_delta[1] ; deltaZ = m_delta[2] ; }
246 float getDeltaX()
const
247 {
return m_delta[0] ; }
249 float getDeltaY()
const
250 {
return m_delta[1] ; }
252 float getDeltaZ()
const
253 {
return m_delta[2] ; }
255 SbBool isHomogeneous()
const ;
262 void init3(
float xmin,
float ymin,
float zmin,
float xmax,
float ymax,
float zmax,
265 float m_min[3], m_max[3], m_delta[3] ;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for all b...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to define a domain...
PbDomain(SbBox3f &box, BoundingBoxType type=AS_IS)
Constructor of a 3D domain.
PbDomain & operator=(const PbDomain &domain)
Assignment operator.
void getDomain(SbBox3f &box) const
Gets the 3D domain.
PbDomain()
Default constructor.
PbDomain(float xmin, float ymin, float xmax, float ymax, BoundingBoxType type=AS_IS)
Constructor of a 2D domain.
void getDomain(float &xmin, float &ymin, float &zmin, float &xmax, float &ymax, float &zmax) const
Gets the 3D domain.
void getDomain(float &xmin, float &ymin, float &xmax, float &ymax) const
Gets the 2D domain.
TransformType getTransformType() const
Gets the type of transformation.
PbDomain(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax, BoundingBoxType type=AS_IS)
Constructor of a 3D domain.
int operator==(const PbDomain &dom)
Equality comparison operator.
int operator!=(const PbDomain &dom)
Inequality comparison operator.
SoTransform * getTransform() const
Get the domain transform matrix in an SoTransform object.
TransformType
Transform type.
BoundingBoxType
Bounding box interpretation.
void setDomain(float xmin, float ymin, float xmax, float ymax, BoundingBoxType type=AS_IS)
Sets a 2D domain.
void setDomain(SbBox3f &box, BoundingBoxType type=AS_IS)
Sets a 3D domain.
PbDomain(const PbDomain &domain)
Copy constructor.
void setTransformType(TransformType type)
Sets the type of transformation.
void setDomain(SbBox2f &box, BoundingBoxType type=AS_IS)
Sets a 2D domain.
void setDomain(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax, BoundingBoxType type=AS_IS)
Sets a 3D domain.
SbMatrix getMatrix() const
Get the domain transform matrix in an SbMatrix object.
PbDomain(SbBox2f &box, BoundingBoxType type=AS_IS)
Constructor of a 2D domain.
void getDomain(SbBox2f &box) const
Gets the 2D domain.
SoMatrixTransform * getMatrixTransform() const
Get the domain transform matrix in an SoMatrixTransform object.