Open CASCADE Technology  7.2.0
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

◆ Axis()

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

◆ AxisLength()

Standard_ShortReal AIS_Manipulator::Axis::AxisLength ( ) const
inline

◆ AxisRadius()

Standard_ShortReal AIS_Manipulator::Axis::AxisRadius ( ) const
inline

◆ Color()

Quantity_Color AIS_Manipulator::Axis::Color ( ) const
inline

◆ Compute()

void AIS_Manipulator::Axis::Compute ( const Handle< PrsMgr_PresentationManager > &  thePrsMgr,
const Handle< Prs3d_Presentation > &  thePrs,
const Handle< Prs3d_ShadingAspect > &  theAspect 
)

◆ FacettesNumber()

Standard_Integer AIS_Manipulator::Axis::FacettesNumber ( ) const
inline

◆ HasRotation()

Standard_Boolean AIS_Manipulator::Axis::HasRotation ( ) const
inline

◆ HasScaling()

Standard_Boolean AIS_Manipulator::Axis::HasScaling ( ) const
inline

◆ HasTranslation()

Standard_Boolean AIS_Manipulator::Axis::HasTranslation ( ) const
inline

◆ Position()

const gp_Ax1& AIS_Manipulator::Axis::Position ( ) const
inline

◆ ReferenceAxis()

const gp_Ax1& AIS_Manipulator::Axis::ReferenceAxis ( ) const
inline

◆ RotatorDisk()

const Disk& AIS_Manipulator::Axis::RotatorDisk ( ) const
inline

◆ RotatorDiskRadius()

float AIS_Manipulator::Axis::RotatorDiskRadius ( ) const
inline

◆ RotatorGroup()

const Handle< Graphic3d_Group >& AIS_Manipulator::Axis::RotatorGroup ( ) const
inline

◆ RotatorHighlightPrs()

const Handle< Prs3d_Presentation >& AIS_Manipulator::Axis::RotatorHighlightPrs ( ) const
inline

◆ ScalerCenter()

gp_Pnt AIS_Manipulator::Axis::ScalerCenter ( const gp_Pnt theLocation) const
inline

◆ ScalerCube()

const Cube& AIS_Manipulator::Axis::ScalerCube ( ) const
inline

◆ ScalerCubePosition()

const gp_Pnt& AIS_Manipulator::Axis::ScalerCubePosition ( ) const
inline

◆ ScalerGroup()

const Handle< Graphic3d_Group >& AIS_Manipulator::Axis::ScalerGroup ( ) const
inline

◆ ScalerHighlightPrs()

const Handle< Prs3d_Presentation >& AIS_Manipulator::Axis::ScalerHighlightPrs ( ) const
inline

◆ SetAxisRadius()

void AIS_Manipulator::Axis::SetAxisRadius ( const Standard_ShortReal  theValue)
inline

◆ SetIndent()

void AIS_Manipulator::Axis::SetIndent ( const Standard_ShortReal  theValue)
inline

◆ SetPosition()

void AIS_Manipulator::Axis::SetPosition ( const gp_Ax1 thePosition)
inline

◆ SetRotation()

void AIS_Manipulator::Axis::SetRotation ( const Standard_Boolean  theIsEnabled)
inline

◆ SetScaling()

void AIS_Manipulator::Axis::SetScaling ( const Standard_Boolean  theIsEnabled)
inline

◆ SetSize()

void AIS_Manipulator::Axis::SetSize ( const Standard_ShortReal  theValue)
inline

◆ SetTransformPersistence()

void AIS_Manipulator::Axis::SetTransformPersistence ( const Handle< Graphic3d_TransformPers > &  theTrsfPers)
inline

◆ SetTranslation()

void AIS_Manipulator::Axis::SetTranslation ( const Standard_Boolean  theIsEnabled)
inline

◆ Size()

Standard_ShortReal AIS_Manipulator::Axis::Size ( void  ) const
inline

◆ Transform()

void AIS_Manipulator::Axis::Transform ( const Handle< Geom_Transformation > &  theTransformation)
inline

◆ TranslatorGroup()

const Handle< Graphic3d_Group >& AIS_Manipulator::Axis::TranslatorGroup ( ) const
inline

◆ TranslatorHighlightPrs()

const Handle< Prs3d_Presentation >& AIS_Manipulator::Axis::TranslatorHighlightPrs ( ) const
inline

◆ TranslatorTipPosition()

const gp_Pnt& AIS_Manipulator::Axis::TranslatorTipPosition ( ) const
inline

◆ TriangleArray()

const Handle< Graphic3d_ArrayOfTriangles >& AIS_Manipulator::Axis::TriangleArray ( ) const
inline

Field Documentation

◆ myArrowTipPos

gp_Pnt AIS_Manipulator::Axis::myArrowTipPos
protected

◆ myAxisRadius

Standard_ShortReal AIS_Manipulator::Axis::myAxisRadius
protected

◆ myBoxSize

Standard_ShortReal AIS_Manipulator::Axis::myBoxSize
protected

Size of scaling cube.

◆ myCircle

Disk AIS_Manipulator::Axis::myCircle
protected

◆ myCircleRadius

float AIS_Manipulator::Axis::myCircleRadius
protected

◆ myColor

Quantity_Color AIS_Manipulator::Axis::myColor
protected

◆ myCube

Cube AIS_Manipulator::Axis::myCube
protected

◆ myCubePos

gp_Pnt AIS_Manipulator::Axis::myCubePos
protected

◆ myDiskThickness

Standard_ShortReal AIS_Manipulator::Axis::myDiskThickness
protected

◆ myFacettesNumber

Standard_Integer AIS_Manipulator::Axis::myFacettesNumber
protected

◆ myHasRotation

Standard_Boolean AIS_Manipulator::Axis::myHasRotation
protected

◆ myHasScaling

Standard_Boolean AIS_Manipulator::Axis::myHasScaling
protected

◆ myHasTranslation

Standard_Boolean AIS_Manipulator::Axis::myHasTranslation
protected

◆ myHighlightRotator

Handle< Prs3d_Presentation > AIS_Manipulator::Axis::myHighlightRotator
protected

◆ myHighlightScaler

Handle< Prs3d_Presentation > AIS_Manipulator::Axis::myHighlightScaler
protected

◆ myHighlightTranslator

Handle< Prs3d_Presentation > AIS_Manipulator::Axis::myHighlightTranslator
protected

◆ myIndent

Standard_ShortReal AIS_Manipulator::Axis::myIndent
protected

Gap between visual part of the manipulator.

◆ myInnerRadius

Standard_ShortReal AIS_Manipulator::Axis::myInnerRadius
protected

Radius of rotation circle.

◆ myLength

Standard_ShortReal AIS_Manipulator::Axis::myLength
protected

Length of translation axis.

◆ myPosition

gp_Ax1 AIS_Manipulator::Axis::myPosition
protected

Position of the axis including local transformation.

◆ myReferenceAxis

gp_Ax1 AIS_Manipulator::Axis::myReferenceAxis
protected

Returns reference axis assignment.

◆ myRotatorGroup

Handle< Graphic3d_Group > AIS_Manipulator::Axis::myRotatorGroup
protected

◆ myScalerGroup

Handle< Graphic3d_Group > AIS_Manipulator::Axis::myScalerGroup
protected

◆ myTranslatorGroup

Handle< Graphic3d_Group > AIS_Manipulator::Axis::myTranslatorGroup
protected

◆ myTriangleArray

Handle< Graphic3d_ArrayOfTriangles > AIS_Manipulator::Axis::myTriangleArray
protected

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