|
Public Member Functions |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | HLRAlgo_Projector () |
Standard_EXPORT | HLRAlgo_Projector (const gp_Ax2 &CS) |
| Creates an axonometric projector. <cs> is the
viewing coordinate system.
.
|
Standard_EXPORT | HLRAlgo_Projector (const gp_Ax2 &CS, const Standard_Real Focus) |
| Creates a perspective projector. <cs> is the
viewing coordinate system.
.
|
Standard_EXPORT | HLRAlgo_Projector (const gp_Trsf &T, const Standard_Boolean Persp, const Standard_Real Focus) |
| build a Projector with automatic minmax directions.
|
Standard_EXPORT | HLRAlgo_Projector (const gp_Trsf &T, const Standard_Boolean Persp, const Standard_Real Focus, const gp_Vec2d &v1, const gp_Vec2d &v2, const gp_Vec2d &v3) |
| build a Projector with given minmax directions.
|
Standard_EXPORT void | Set (const gp_Trsf &T, const Standard_Boolean Persp, const Standard_Real Focus) |
void | Directions (gp_Vec2d &D1, gp_Vec2d &D2, gp_Vec2d &D3) const |
Standard_EXPORT void | Scaled (const Standard_Boolean On=Standard_False) |
| to compute with the given scale and translation.
|
Standard_Boolean | Perspective () const |
| Returns True if there is a perspective transformation.
.
|
Standard_EXPORT const gp_Trsf & | Transformation () const |
| Returns the active transformation.
.
|
const gp_Trsf & | InvertedTransformation () const |
| Returns the active inverted transformation.
.
|
const gp_Trsf & | FullTransformation () const |
| Returns the original transformation.
.
|
Standard_Real | Focus () const |
| Returns the focal length.
.
|
void | Transform (gp_Vec &D) const |
void | Transform (gp_Pnt &Pnt) const |
Standard_EXPORT void | Project (const gp_Pnt &P, gp_Pnt2d &Pout) const |
| Transform and apply perspective if needed.
.
|
Standard_EXPORT void | Project (const gp_Pnt &P, Standard_Real &X, Standard_Real &Y, Standard_Real &Z) const |
| Transform and apply perspective if needed.
.
|
Standard_EXPORT void | Project (const gp_Pnt &P, const gp_Vec &D1, gp_Pnt2d &Pout, gp_Vec2d &D1out) const |
| Transform and apply perspective if needed.
.
|
Standard_EXPORT gp_Lin | Shoot (const Standard_Real X, const Standard_Real Y) const |
| return a line going through the eye towards the
2d point <X,Y>.
|
Private Member Functions |
Standard_EXPORT void | SetDirection () |
Private Attributes |
Standard_Integer | myType |
Standard_Boolean | myPersp |
Standard_Real | myFocus |
gp_Trsf | myScaledTrsf |
gp_Trsf | myTrsf |
gp_Trsf | myInvTrsf |
gp_Vec2d | myD1 |
gp_Vec2d | myD2 |
gp_Vec2d | myD3 |