All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VisualizationBase Class CAT3DPlanRep

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---VisualizationBase.CATRep
        |
        +---VisualizationBase.CAT3DRep
          |
          +---CAT3DPlanRep
 

Usage: you must use this class as is. You should never derive it.


public class CAT3DPlanRep

Class to create a graphic representation with a plane.


Constructor and Destructor Index


o CAT3DPlanRep()
Default constructor.
o CAT3DPlanRep(CATMathPointf&,CATMathDirectionf&,CATMathDirectionf&,float)
Constructs a graphic representation from an origin, two directions, and a lenght expressed in millimeters.
o CAT3DPlanRep(CATModelIdentificator&,CATVisuController*)

Method Index


o Get(CATMathPointf&,CATMathDirectionf&,CATMathDirectionf&)
Retrieves information about the plane.

Constructor and Destructor


o CAT3DPlanRep
public CAT3DPlanRep()
Default constructor.
o CAT3DPlanRep
public CAT3DPlanRep( const CATMathPointf& iOrigin,
const CATMathDirectionf& iDirection1,
const CATMathDirectionf& iDirection2,
float iLengthInMM)
Constructs a graphic representation from an origin, two directions, and a lenght expressed in millimeters.

                         -----------------------------      ^
                        |                             |     |
                        |          iDirection1        |     |     
                        |              ^              |     |
                        |              |              |     |
                        |              |  iDirection2 |     |
                        |              x --->         |     | iLenghtInMM
                        |           iOrigin           |     |
                        |                             |     |
                        |                             |     |
                        |                             |     |
                        |                             |     |
                        |                             |     |
                         -----------------------------      v

                         <--------------------------->
                                  iLenghtInMM
       

 
Parameters:
iOrigin
The square center.
iDirection1
The first direction which is parallel to two of the edges.
iDirection2
The second direction which is parallel to the two other edges.
iLengthInMM
The square length expressed in millimeters.
o CAT3DPlanRep
public CAT3DPlanRep(CATModelIdentificator& one_ident,
CATVisuController* iCntl)

Methods


o Get
public void Get(CATMathPointf& ioOrigin,
CATMathDirectionf& ioDirection1,
CATMathDirectionf& ioDirection2)
Retrieves information about the plane.
Parameters:
ioOrigin
The square center.
ioDirection1
The first direction which is parallel to two of the edges.
ioDirection2
The second direction which is parallel to the two other edges.

This object is included in the file: CAT3DPlanRep.h
If needed, your Imakefile.mk should include the module: CATViz

Copyright © 2003, Dassault Systèmes. All rights reserved.