MeVisLabToolboxReference
SoCSOCrossSectionRenderer Class Reference

Extension for rendering CSOs cut by the slice from the side. More...

#include <SoCSOCrossSectionRenderer.h>

Inheritance diagram for SoCSOCrossSectionRenderer:
SoCSOGeneralRendererEditorExtension SoCSOEditorExtension

List of all members.

Classes

struct  CrossingPoint
struct  CSOCrossings

Public Member Functions

 SoCSOCrossSectionRenderer ()
 Standard constructor.
virtual void draw (const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &drawSliceInfo, SoView2DCSOExtensibleEditor *editor)
 Drawing routine.
virtual void draw (const CSODrawCSOInfos &, const CSODrawView2DInfos &, SoView2DCSOExtensibleEditor *)
virtual void createStartPressAt (const SoPointerPosition &)
virtual void createDragMoveTo (const SoPointerPosition &)
virtual bool createEndPress (int)
virtual void selectAndMoveStartPressAt (const SoPointerPosition &)
virtual void selectAndMoveDragMoveTo (const SoPointerPosition &)
virtual SoPointingAction * selectAndMoveEndPress (int)
virtual int cursorShape () const
 Returns the cursor shape that indicates the next creation.
virtual bool shouldRenderGeneral (ml::CSO *) const
 Returns whether a given CSO should be rendered by this general extension.

Static Public Member Functions

static void initClass ()
 init class in inventor runtime

Public Attributes

SoSFBool useHoleCorrection
SoSFBool useHoleCorrectionForGroupsOnly
SoSFEnum fillingFromSideLineWidthMode
SoSFFloat fillingFromSideManualLineWidth

Detailed Description

Extension for rendering CSOs cut by the slice from the side.

Definition at line 22 of file SoCSOCrossSectionRenderer.h.


Constructor & Destructor Documentation

SoCSOCrossSectionRenderer::SoCSOCrossSectionRenderer ( )

Standard constructor.


Member Function Documentation

virtual void SoCSOCrossSectionRenderer::createDragMoveTo ( const SoPointerPosition &  ) [inline, virtual]

Reimplemented from SoCSOGeneralRendererEditorExtension.

Definition at line 39 of file SoCSOCrossSectionRenderer.h.

virtual bool SoCSOCrossSectionRenderer::createEndPress ( int  ) [inline, virtual]

Reimplemented from SoCSOGeneralRendererEditorExtension.

Definition at line 40 of file SoCSOCrossSectionRenderer.h.

virtual void SoCSOCrossSectionRenderer::createStartPressAt ( const SoPointerPosition &  ) [inline, virtual]

Reimplemented from SoCSOGeneralRendererEditorExtension.

Definition at line 38 of file SoCSOCrossSectionRenderer.h.

virtual int SoCSOCrossSectionRenderer::cursorShape ( ) const [inline, virtual]

Returns the cursor shape that indicates the next creation.

Reimplemented from SoCSOEditorExtension.

Definition at line 46 of file SoCSOCrossSectionRenderer.h.

References SoViewerProxy::DEFAULT_CURSOR.

virtual void SoCSOCrossSectionRenderer::draw ( const CSODrawCSOInfos ,
const CSODrawView2DInfos ,
SoView2DCSOExtensibleEditor  
) [inline, virtual]

Implements SoCSOGeneralRendererEditorExtension.

Definition at line 33 of file SoCSOCrossSectionRenderer.h.

virtual void SoCSOCrossSectionRenderer::draw ( const CSODrawCSOInfos csoInfos,
const CSODrawView2DInfos view2DInfos,
const CSODrawSliceInformation drawSliceInfo,
SoView2DCSOExtensibleEditor editor 
) [virtual]

Drawing routine.

Reimplemented from SoCSOEditorExtension.

static void SoCSOCrossSectionRenderer::initClass ( ) [static]

init class in inventor runtime

Reimplemented from SoCSOGeneralRendererEditorExtension.

virtual void SoCSOCrossSectionRenderer::selectAndMoveDragMoveTo ( const SoPointerPosition &  ) [inline, virtual]

Reimplemented from SoCSOGeneralRendererEditorExtension.

Definition at line 43 of file SoCSOCrossSectionRenderer.h.

virtual SoPointingAction* SoCSOCrossSectionRenderer::selectAndMoveEndPress ( int  ) [inline, virtual]

Reimplemented from SoCSOGeneralRendererEditorExtension.

Definition at line 44 of file SoCSOCrossSectionRenderer.h.

virtual void SoCSOCrossSectionRenderer::selectAndMoveStartPressAt ( const SoPointerPosition &  ) [inline, virtual]

Reimplemented from SoCSOGeneralRendererEditorExtension.

Definition at line 42 of file SoCSOCrossSectionRenderer.h.

virtual bool SoCSOCrossSectionRenderer::shouldRenderGeneral ( ml::CSO ) const [inline, virtual]

Returns whether a given CSO should be rendered by this general extension.

Overwrite this in general renderers.

Reimplemented from SoCSOEditorExtension.

Definition at line 48 of file SoCSOCrossSectionRenderer.h.


Member Data Documentation


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