NorMIT-nav  22.09
An IGT application
cx::GraphicalBox Class Reference

#include <cxGraphicalBox.h>

Inheritance diagram for cx::GraphicalBox:

Signals

void changed ()
 

Public Member Functions

 GraphicalBox ()
 
virtual ~GraphicalBox ()
 
void setRenderWindow (vtkRenderWindowPtr renderWindow)
 adds an interactive box widget to the view. Press 'I' to show More...
 
DoubleBoundingBox3D getBoundingBox ()
 get BB in data space More...
 
void setBoundingBox (const DoubleBoundingBox3D &bb_d)
 set BB in d space More...
 
void setMaxBoundingBox (const DoubleBoundingBox3D &bb_d)
 set BB in d space More...
 
void setPosition (const Transform3D &rMd)
 set BB position More...
 
DoubleBoundingBox3D getMaxBoundingBox ()
 
bool getInteractive () const
 
void setInteractive (bool on)
 
bool getVisible () const
 
void setVisible (bool on)
 

Friends

class GraphicalBoxCallback
 
class GraphicalBoxEnableCallback
 

Detailed Description

Helper class for cropping the active volume using a bounding box. The bounding box can be set either explicitly or using a vtkBoxWidget.

Definition at line 43 of file cxGraphicalBox.h.

Constructor & Destructor Documentation

◆ GraphicalBox()

cx::GraphicalBox::GraphicalBox ( )
explicit

Definition at line 88 of file cxGraphicalBox.cpp.

◆ ~GraphicalBox()

cx::GraphicalBox::~GraphicalBox ( )
virtual

Definition at line 97 of file cxGraphicalBox.cpp.

Member Function Documentation

◆ changed

void cx::GraphicalBox::changed ( )
signal

◆ getBoundingBox()

DoubleBoundingBox3D cx::GraphicalBox::getBoundingBox ( )

get BB in data space

get current cropping box in ref coords

Definition at line 113 of file cxGraphicalBox.cpp.

◆ getInteractive()

bool cx::GraphicalBox::getInteractive ( ) const

Definition at line 161 of file cxGraphicalBox.cpp.

◆ getMaxBoundingBox()

DoubleBoundingBox3D cx::GraphicalBox::getMaxBoundingBox ( )

return the largest useful bounding box for the current selection

Definition at line 169 of file cxGraphicalBox.cpp.

◆ getVisible()

bool cx::GraphicalBox::getVisible ( ) const

Definition at line 147 of file cxGraphicalBox.cpp.

◆ setBoundingBox()

void cx::GraphicalBox::setBoundingBox ( const DoubleBoundingBox3D bb_d)

set BB in d space

Definition at line 118 of file cxGraphicalBox.cpp.

◆ setInteractive()

void cx::GraphicalBox::setInteractive ( bool  on)

Definition at line 152 of file cxGraphicalBox.cpp.

◆ setMaxBoundingBox()

void cx::GraphicalBox::setMaxBoundingBox ( const DoubleBoundingBox3D bb_d)

set BB in d space

◆ setPosition()

void cx::GraphicalBox::setPosition ( const Transform3D rMd)

set BB position

Definition at line 128 of file cxGraphicalBox.cpp.

◆ setRenderWindow()

void cx::GraphicalBox::setRenderWindow ( vtkRenderWindowPtr  renderWindow)

adds an interactive box widget to the view. Press 'I' to show

Definition at line 105 of file cxGraphicalBox.cpp.

◆ setVisible()

void cx::GraphicalBox::setVisible ( bool  on)

Definition at line 138 of file cxGraphicalBox.cpp.

Friends And Related Function Documentation

◆ GraphicalBoxCallback

friend class GraphicalBoxCallback
friend

Definition at line 77 of file cxGraphicalBox.h.

◆ GraphicalBoxEnableCallback

friend class GraphicalBoxEnableCallback
friend

Definition at line 78 of file cxGraphicalBox.h.


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