Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::DDPlaneField Struct Reference

#include <DDFieldWidget.h>

Inheritance diagram for model::DDPlaneField:
Collaboration diagram for model::DDPlaneField:

Public Types

typedef MicrostructureBase< 3 >::ElementType ElementType
typedef Eigen::Matrix< double, 3, 1 > VectorDim

Public Slots

void resetPlane ()
void modify ()

Public Member Functions

 DDPlaneField (vtkGenericOpenGLRenderWindow *const renWin_in, vtkRenderer *const renderer_in, const DefectiveCrystal< 3 > &defectiveCrystal_in)
 ~DDPlaneField ()
const std::deque< FieldDataPnt > & dataPnts () const
std::deque< FieldDataPnt > & dataPnts ()
void compute (const DefectiveCrystal< 3 > &)
void plotField (const int &valID, const std::vector< QCheckBox * > &microstructuresCheck, const vtkSmartPointer< vtkLookupTable > &lut)
Public Member Functions inherited from model::TriangularMesh
const Eigen::Vector2d & vertex (const size_t &vID)
std::deque< Eigen::Vector2d > & vertices ()
const std::deque< Eigen::Vector2d > & vertices () const
std::deque< Eigen::Vector3i > & triangles ()
const std::deque< Eigen::Vector3i > & triangles () const
void reMesh (const std::deque< Eigen::Matrix< double, 2, 1 > > &boundaryPts, const std::deque< Eigen::Matrix< double, 2, 1 > > &internalPts, const double &meshSize, const std::string &flags)
void reMesh (const std::vector< Eigen::Matrix< double, 2, 1 > > &points, const std::vector< Eigen::Matrix< int, 2, 1 > > &segments, const double &meshSize, const std::string &flags)

Public Attributes

QGridLayout * mainLayout
QGroupBox * groupBox
QLineEdit * posEdit
QLineEdit * normalEdit
QLineEdit * meshSizeEdit
vtkSmartPointer< vtkPolyData > meshPolydata
vtkSmartPointer< vtkPolyDataMapper > meshMapper
vtkSmartPointer< vtkActor > meshActor
vtkGenericOpenGLRenderWindow *const renWin
vtkRenderer *const renderer
const DefectiveCrystal< 3 > & defectiveCrystal
std::shared_ptr< Plane< 3 > > plane

Detailed Description

Definition at line 136 of file DDFieldWidget.h.

Member Typedef Documentation

◆ ElementType

Definition at line 144 of file DDFieldWidget.h.

◆ VectorDim

typedef Eigen::Matrix<double,3,1> model::DDPlaneField::VectorDim

Definition at line 145 of file DDFieldWidget.h.

Constructor & Destructor Documentation

◆ DDPlaneField()

model::DDPlaneField::DDPlaneField ( vtkGenericOpenGLRenderWindow *const renWin_in,
vtkRenderer *const renderer_in,
const DefectiveCrystal< 3 > & defectiveCrystal_in )

Definition at line 587 of file DDFieldWidget.cpp.

◆ ~DDPlaneField()

model::DDPlaneField::~DDPlaneField ( )

Definition at line 637 of file DDFieldWidget.cpp.

Member Function Documentation

◆ compute()

void model::DDPlaneField::compute ( const DefectiveCrystal< 3 > & defectiveCrystal)

Definition at line 488 of file DDFieldWidget.cpp.

◆ dataPnts() [1/2]

std::deque< FieldDataPnt > & model::DDPlaneField::dataPnts ( )

Definition at line 647 of file DDFieldWidget.cpp.

◆ dataPnts() [2/2]

const std::deque< FieldDataPnt > & model::DDPlaneField::dataPnts ( ) const

Definition at line 642 of file DDFieldWidget.cpp.

◆ modify

void model::DDPlaneField::modify ( )
slot

Definition at line 652 of file DDFieldWidget.cpp.

◆ plotField()

void model::DDPlaneField::plotField ( const int & valID,
const std::vector< QCheckBox * > & microstructuresCheck,
const vtkSmartPointer< vtkLookupTable > & lut )

Definition at line 566 of file DDFieldWidget.cpp.

◆ resetPlane

void model::DDPlaneField::resetPlane ( )
slot

Definition at line 658 of file DDFieldWidget.cpp.

Member Data Documentation

◆ defectiveCrystal

const DefectiveCrystal<3>& model::DDPlaneField::defectiveCrystal

Definition at line 160 of file DDFieldWidget.h.

◆ groupBox

QGroupBox* model::DDPlaneField::groupBox

Definition at line 148 of file DDFieldWidget.h.

◆ mainLayout

QGridLayout* model::DDPlaneField::mainLayout

Definition at line 147 of file DDFieldWidget.h.

◆ meshActor

vtkSmartPointer<vtkActor> model::DDPlaneField::meshActor

Definition at line 156 of file DDFieldWidget.h.

◆ meshMapper

vtkSmartPointer<vtkPolyDataMapper> model::DDPlaneField::meshMapper

Definition at line 155 of file DDFieldWidget.h.

◆ meshPolydata

vtkSmartPointer<vtkPolyData> model::DDPlaneField::meshPolydata

Definition at line 154 of file DDFieldWidget.h.

◆ meshSizeEdit

QLineEdit* model::DDPlaneField::meshSizeEdit

Definition at line 152 of file DDFieldWidget.h.

◆ normalEdit

QLineEdit* model::DDPlaneField::normalEdit

Definition at line 151 of file DDFieldWidget.h.

◆ plane

std::shared_ptr<Plane<3> > model::DDPlaneField::plane

Definition at line 161 of file DDFieldWidget.h.

◆ posEdit

QLineEdit* model::DDPlaneField::posEdit

Definition at line 150 of file DDFieldWidget.h.

◆ renderer

vtkRenderer* const model::DDPlaneField::renderer

Definition at line 159 of file DDFieldWidget.h.

◆ renWin

vtkGenericOpenGLRenderWindow* const model::DDPlaneField::renWin

Definition at line 158 of file DDFieldWidget.h.


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