Open CASCADE Technology  7.5.0
Static Public Member Functions
V3d Class Reference

This package contains the set of commands and services of the 3D Viewer. It provides a set of high level commands to control the views and viewing modes. More...

#include <V3d.hxx>

Static Public Member Functions

static gp_Dir GetProjAxis (const V3d_TypeOfOrientation theOrientation)
 Determines the orientation vector corresponding to the predefined orientation type. More...
 
static void ArrowOfRadius (const Handle< Graphic3d_Group > &garrow, const Standard_Real X0, const Standard_Real Y0, const Standard_Real Z0, const Standard_Real DX, const Standard_Real DY, const Standard_Real DZ, const Standard_Real Alpha, const Standard_Real Lng)
 Compute the graphic structure of arrow. X0,Y0,Z0 : coordinate of the arrow. DX,DY,DZ : Direction of the arrow. Alpha : Angle of arrow. Lng : Length of arrow. More...
 
static void CircleInPlane (const Handle< Graphic3d_Group > &gcircle, const Standard_Real X0, const Standard_Real Y0, const Standard_Real Z0, const Standard_Real VX, const Standard_Real VY, const Standard_Real VZ, const Standard_Real Radius)
 Compute the graphic structure of circle. X0,Y0,Z0 : Center of circle. VX,VY,VZ : Axis of circle. Radius : Radius of circle. More...
 
static void SwitchViewsinWindow (const Handle< V3d_View > &aPreviousView, const Handle< V3d_View > &aNextView)
 
static Standard_CString TypeOfOrientationToString (V3d_TypeOfOrientation theType)
 Returns the string name for a given orientation type. More...
 
static V3d_TypeOfOrientation TypeOfOrientationFromString (Standard_CString theTypeString)
 Returns the orientation type from the given string identifier (using case-insensitive comparison). More...
 
static Standard_Boolean TypeOfOrientationFromString (const Standard_CString theTypeString, V3d_TypeOfOrientation &theType)
 Determines the shape type from the given string identifier (using case-insensitive comparison). More...
 

Detailed Description

This package contains the set of commands and services of the 3D Viewer. It provides a set of high level commands to control the views and viewing modes.

Member Function Documentation

◆ ArrowOfRadius()

static void V3d::ArrowOfRadius ( const Handle< Graphic3d_Group > &  garrow,
const Standard_Real  X0,
const Standard_Real  Y0,
const Standard_Real  Z0,
const Standard_Real  DX,
const Standard_Real  DY,
const Standard_Real  DZ,
const Standard_Real  Alpha,
const Standard_Real  Lng 
)
static

Compute the graphic structure of arrow. X0,Y0,Z0 : coordinate of the arrow. DX,DY,DZ : Direction of the arrow. Alpha : Angle of arrow. Lng : Length of arrow.

◆ CircleInPlane()

static void V3d::CircleInPlane ( const Handle< Graphic3d_Group > &  gcircle,
const Standard_Real  X0,
const Standard_Real  Y0,
const Standard_Real  Z0,
const Standard_Real  VX,
const Standard_Real  VY,
const Standard_Real  VZ,
const Standard_Real  Radius 
)
static

Compute the graphic structure of circle. X0,Y0,Z0 : Center of circle. VX,VY,VZ : Axis of circle. Radius : Radius of circle.

◆ GetProjAxis()

static gp_Dir V3d::GetProjAxis ( const V3d_TypeOfOrientation  theOrientation)
inlinestatic

Determines the orientation vector corresponding to the predefined orientation type.

◆ SwitchViewsinWindow()

static void V3d::SwitchViewsinWindow ( const Handle< V3d_View > &  aPreviousView,
const Handle< V3d_View > &  aNextView 
)
static

◆ TypeOfOrientationFromString() [1/2]

static V3d_TypeOfOrientation V3d::TypeOfOrientationFromString ( Standard_CString  theTypeString)
inlinestatic

Returns the orientation type from the given string identifier (using case-insensitive comparison).

Parameters
theTypeStringstring identifier
Returns
orientation type or V3d_TypeOfOrientation if string identifier is invalid

◆ TypeOfOrientationFromString() [2/2]

static Standard_Boolean V3d::TypeOfOrientationFromString ( const Standard_CString  theTypeString,
V3d_TypeOfOrientation theType 
)
static

Determines the shape type from the given string identifier (using case-insensitive comparison).

Parameters
theTypeStringstring identifier
theTypedetected shape type
Returns
TRUE if string identifier is known

◆ TypeOfOrientationToString()

static Standard_CString V3d::TypeOfOrientationToString ( V3d_TypeOfOrientation  theType)
static

Returns the string name for a given orientation type.

Parameters
theTypeorientation type
Returns
string identifier from the list Xpos, Ypos, Zpos and others

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