Fraxinus  17.12-rc4
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 64 of file cxGraphicalBox.h.

Constructor & Destructor Documentation

cx::GraphicalBox::GraphicalBox ( )
explicit

Definition at line 109 of file cxGraphicalBox.cpp.

cx::GraphicalBox::~GraphicalBox ( )
virtual

Definition at line 118 of file cxGraphicalBox.cpp.

Member Function Documentation

void cx::GraphicalBox::changed ( )
signal
DoubleBoundingBox3D cx::GraphicalBox::getBoundingBox ( )

get BB in data space

get current cropping box in ref coords

Definition at line 134 of file cxGraphicalBox.cpp.

bool cx::GraphicalBox::getInteractive ( ) const

Definition at line 182 of file cxGraphicalBox.cpp.

DoubleBoundingBox3D cx::GraphicalBox::getMaxBoundingBox ( )

return the largest useful bounding box for the current selection

Definition at line 190 of file cxGraphicalBox.cpp.

bool cx::GraphicalBox::getVisible ( ) const

Definition at line 168 of file cxGraphicalBox.cpp.

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

set BB in d space

Definition at line 139 of file cxGraphicalBox.cpp.

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

Definition at line 173 of file cxGraphicalBox.cpp.

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

set BB in d space

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

set BB position

Definition at line 149 of file cxGraphicalBox.cpp.

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

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

Definition at line 126 of file cxGraphicalBox.cpp.

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

Definition at line 159 of file cxGraphicalBox.cpp.

Friends And Related Function Documentation

friend class GraphicalBoxCallback
friend

Definition at line 98 of file cxGraphicalBox.h.

friend class GraphicalBoxEnableCallback
friend

Definition at line 99 of file cxGraphicalBox.h.


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