Open CASCADE Technology  7.1.0.beta
Public Member Functions | Protected Attributes

AIS_Manipulator::Axis Class Reference

The class describes on axis sub-object. It includes sub-objects itself: -rotator -translator -scaler. More...

#include <AIS_Manipulator.hxx>

Public Member Functions

 Axis (const gp_Ax1 &theAxis=gp_Ax1(), const Quantity_Color &theColor=Quantity_Color(), const Standard_ShortReal theLength=10.0f)
 
void Compute (const Handle< PrsMgr_PresentationManager > &thePrsMgr, const Handle< Prs3d_Presentation > &thePrs, const Handle< Prs3d_ShadingAspect > &theAspect)
 
const gp_Ax1ReferenceAxis () const
 
void SetPosition (const gp_Ax1 &thePosition)
 
const gp_Ax1Position () const
 
void SetTransformPersistence (const Handle< Graphic3d_TransformPers > &theTrsfPers)
 
void Transform (const Handle< Geom_Transformation > &theTransformation)
 
Standard_Boolean HasTranslation () const
 
Standard_Boolean HasRotation () const
 
Standard_Boolean HasScaling () const
 
void SetTranslation (const Standard_Boolean theIsEnabled)
 
void SetRotation (const Standard_Boolean theIsEnabled)
 
void SetScaling (const Standard_Boolean theIsEnabled)
 
Quantity_Color Color () const
 
Standard_ShortReal AxisLength () const
 
Standard_ShortReal AxisRadius () const
 
void SetAxisRadius (const Standard_ShortReal theValue)
 
const Handle< Prs3d_Presentation > & TranslatorHighlightPrs () const
 
const Handle< Prs3d_Presentation > & RotatorHighlightPrs () const
 
const Handle< Prs3d_Presentation > & ScalerHighlightPrs () const
 
const Handle< Graphic3d_Group > & TranslatorGroup () const
 
const Handle< Graphic3d_Group > & RotatorGroup () const
 
const Handle< Graphic3d_Group > & ScalerGroup () const
 
const Handle< Graphic3d_ArrayOfTriangles > & TriangleArray () const
 
void SetIndent (const Standard_ShortReal theValue)
 
Standard_ShortReal Size () const
 
gp_Pnt ScalerCenter (const gp_Pnt &theLocation) const
 
void SetSize (const Standard_ShortReal theValue)
 
Standard_Integer FacettesNumber () const
 
const gp_PntTranslatorTipPosition () const
 
const DiskRotatorDisk () const
 
float RotatorDiskRadius () const
 
const CubeScalerCube () const
 
const gp_PntScalerCubePosition () const
 

Protected Attributes

gp_Ax1 myReferenceAxis
 Returns reference axis assignment. More...
 
gp_Ax1 myPosition
 Position of the axis including local transformation. More...
 
Quantity_Color myColor
 
Standard_Boolean myHasTranslation
 
Standard_ShortReal myLength
 Length of translation axis. More...
 
Standard_ShortReal myAxisRadius
 
Standard_Boolean myHasScaling
 
Standard_ShortReal myBoxSize
 Size of scaling cube. More...
 
Standard_Boolean myHasRotation
 
Standard_ShortReal myInnerRadius
 Radius of rotation circle. More...
 
Standard_ShortReal myDiskThickness
 
Standard_ShortReal myIndent
 Gap between visual part of the manipulator. More...
 
Standard_Integer myFacettesNumber
 
gp_Pnt myArrowTipPos
 
Disk myCircle
 
float myCircleRadius
 
Cube myCube
 
gp_Pnt myCubePos
 
Handle< Graphic3d_GroupmyTranslatorGroup
 
Handle< Graphic3d_GroupmyScalerGroup
 
Handle< Graphic3d_GroupmyRotatorGroup
 
Handle< Prs3d_PresentationmyHighlightTranslator
 
Handle< Prs3d_PresentationmyHighlightScaler
 
Handle< Prs3d_PresentationmyHighlightRotator
 
Handle< Graphic3d_ArrayOfTrianglesmyTriangleArray
 

Detailed Description

The class describes on axis sub-object. It includes sub-objects itself: -rotator -translator -scaler.

Constructor & Destructor Documentation

AIS_Manipulator::Axis::Axis ( const gp_Ax1 theAxis = gp_Ax1(),
const Quantity_Color theColor = Quantity_Color(),
const Standard_ShortReal  theLength = 10.0f 
)

Member Function Documentation

Standard_ShortReal AIS_Manipulator::Axis::AxisLength ( ) const
inline
Standard_ShortReal AIS_Manipulator::Axis::AxisRadius ( ) const
inline
Quantity_Color AIS_Manipulator::Axis::Color ( ) const
inline
void AIS_Manipulator::Axis::Compute ( const Handle< PrsMgr_PresentationManager > &  thePrsMgr,
const Handle< Prs3d_Presentation > &  thePrs,
const Handle< Prs3d_ShadingAspect > &  theAspect 
)
Standard_Integer AIS_Manipulator::Axis::FacettesNumber ( ) const
inline
Standard_Boolean AIS_Manipulator::Axis::HasRotation ( ) const
inline
Standard_Boolean AIS_Manipulator::Axis::HasScaling ( ) const
inline
Standard_Boolean AIS_Manipulator::Axis::HasTranslation ( ) const
inline
const gp_Ax1& AIS_Manipulator::Axis::Position ( ) const
inline
const gp_Ax1& AIS_Manipulator::Axis::ReferenceAxis ( ) const
inline
const Disk& AIS_Manipulator::Axis::RotatorDisk ( ) const
inline
float AIS_Manipulator::Axis::RotatorDiskRadius ( ) const
inline
const Handle< Graphic3d_Group >& AIS_Manipulator::Axis::RotatorGroup ( ) const
inline
const Handle< Prs3d_Presentation >& AIS_Manipulator::Axis::RotatorHighlightPrs ( ) const
inline
gp_Pnt AIS_Manipulator::Axis::ScalerCenter ( const gp_Pnt theLocation) const
inline
const Cube& AIS_Manipulator::Axis::ScalerCube ( ) const
inline
const gp_Pnt& AIS_Manipulator::Axis::ScalerCubePosition ( ) const
inline
const Handle< Graphic3d_Group >& AIS_Manipulator::Axis::ScalerGroup ( ) const
inline
const Handle< Prs3d_Presentation >& AIS_Manipulator::Axis::ScalerHighlightPrs ( ) const
inline
void AIS_Manipulator::Axis::SetAxisRadius ( const Standard_ShortReal  theValue)
inline
void AIS_Manipulator::Axis::SetIndent ( const Standard_ShortReal  theValue)
inline
void AIS_Manipulator::Axis::SetPosition ( const gp_Ax1 thePosition)
inline
void AIS_Manipulator::Axis::SetRotation ( const Standard_Boolean  theIsEnabled)
inline
void AIS_Manipulator::Axis::SetScaling ( const Standard_Boolean  theIsEnabled)
inline
void AIS_Manipulator::Axis::SetSize ( const Standard_ShortReal  theValue)
inline
void AIS_Manipulator::Axis::SetTransformPersistence ( const Handle< Graphic3d_TransformPers > &  theTrsfPers)
inline
void AIS_Manipulator::Axis::SetTranslation ( const Standard_Boolean  theIsEnabled)
inline
Standard_ShortReal AIS_Manipulator::Axis::Size ( void  ) const
inline
void AIS_Manipulator::Axis::Transform ( const Handle< Geom_Transformation > &  theTransformation)
inline
const Handle< Graphic3d_Group >& AIS_Manipulator::Axis::TranslatorGroup ( ) const
inline
const Handle< Prs3d_Presentation >& AIS_Manipulator::Axis::TranslatorHighlightPrs ( ) const
inline
const gp_Pnt& AIS_Manipulator::Axis::TranslatorTipPosition ( ) const
inline
const Handle< Graphic3d_ArrayOfTriangles >& AIS_Manipulator::Axis::TriangleArray ( ) const
inline

Field Documentation

gp_Pnt AIS_Manipulator::Axis::myArrowTipPos
protected
Standard_ShortReal AIS_Manipulator::Axis::myAxisRadius
protected
Standard_ShortReal AIS_Manipulator::Axis::myBoxSize
protected

Size of scaling cube.

Disk AIS_Manipulator::Axis::myCircle
protected
float AIS_Manipulator::Axis::myCircleRadius
protected
Quantity_Color AIS_Manipulator::Axis::myColor
protected
Cube AIS_Manipulator::Axis::myCube
protected
gp_Pnt AIS_Manipulator::Axis::myCubePos
protected
Standard_ShortReal AIS_Manipulator::Axis::myDiskThickness
protected
Standard_Integer AIS_Manipulator::Axis::myFacettesNumber
protected
Standard_Boolean AIS_Manipulator::Axis::myHasRotation
protected
Standard_Boolean AIS_Manipulator::Axis::myHasScaling
protected
Standard_Boolean AIS_Manipulator::Axis::myHasTranslation
protected
Handle< Prs3d_Presentation > AIS_Manipulator::Axis::myHighlightRotator
protected
Handle< Prs3d_Presentation > AIS_Manipulator::Axis::myHighlightScaler
protected
Handle< Prs3d_Presentation > AIS_Manipulator::Axis::myHighlightTranslator
protected
Standard_ShortReal AIS_Manipulator::Axis::myIndent
protected

Gap between visual part of the manipulator.

Standard_ShortReal AIS_Manipulator::Axis::myInnerRadius
protected

Radius of rotation circle.

Standard_ShortReal AIS_Manipulator::Axis::myLength
protected

Length of translation axis.

gp_Ax1 AIS_Manipulator::Axis::myPosition
protected

Position of the axis including local transformation.

gp_Ax1 AIS_Manipulator::Axis::myReferenceAxis
protected

Returns reference axis assignment.

Handle< Graphic3d_Group > AIS_Manipulator::Axis::myRotatorGroup
protected
Handle< Graphic3d_Group > AIS_Manipulator::Axis::myScalerGroup
protected
Handle< Graphic3d_Group > AIS_Manipulator::Axis::myTranslatorGroup
protected
Handle< Graphic3d_ArrayOfTriangles > AIS_Manipulator::Axis::myTriangleArray
protected

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