![]() |
RTK
2.7.0
Reconstruction Toolkit
|
#include <rtkQuadricShape.h>
Inheritance diagram for rtk::QuadricShape:
Collaboration diagram for rtk::QuadricShape:Public Types | |
| using | ConstPointer = itk::SmartPointer< const Self > |
| using | Pointer = itk::SmartPointer< Self > |
| using | PointType = Superclass::PointType |
| using | ScalarType = Superclass::ScalarType |
| using | Self = QuadricShape |
| using | Superclass = ConvexShape |
| using | VectorType = Superclass::VectorType |
Public Types inherited from rtk::ConvexShape | |
| using | ConstPointer = itk::SmartPointer< const Self > |
| using | Pointer = itk::SmartPointer< Self > |
| using | PointType = itk::Vector< ScalarType, Dimension > |
| using | RotationMatrixType = itk::Matrix< ScalarType, Dimension, Dimension > |
| using | ScalarType = double |
| using | Self = ConvexShape |
| using | Superclass = itk::DataObject |
| using | VectorType = itk::Vector< ScalarType, Dimension > |
Public Member Functions | |
| virtual ::itk::LightObject::Pointer | CreateAnother () const |
| virtual ScalarType | GetA () const |
| virtual ScalarType | GetB () const |
| virtual ScalarType | GetC () const |
| virtual ScalarType | GetD () const |
| virtual ScalarType | GetE () const |
| virtual ScalarType | GetF () const |
| virtual ScalarType | GetG () const |
| virtual ScalarType | GetH () const |
| virtual ScalarType | GetI () const |
| virtual ScalarType | GetJ () const |
| const char * | GetNameOfClass () const override |
| itk::LightObject::Pointer | InternalClone () const override |
| bool | IsInside (const PointType &point) const override |
| bool | IsInsideQuadric (const PointType &point) const |
| bool | IsIntersectedByRay (const PointType &rayOrigin, const VectorType &rayDirection, ScalarType &nearDist, ScalarType &farDist) const override |
| void | Rescale (const VectorType &r) override |
| void | Rotate (const RotationMatrixType &r) override |
| virtual void | SetA (ScalarType _arg) |
| virtual void | SetB (ScalarType _arg) |
| virtual void | SetC (ScalarType _arg) |
| virtual void | SetD (ScalarType _arg) |
| virtual void | SetE (ScalarType _arg) |
| void | SetEllipsoid (const PointType ¢er, const VectorType &axis, const ScalarType &yangle=0) |
| virtual void | SetF (ScalarType _arg) |
| virtual void | SetG (ScalarType _arg) |
| virtual void | SetH (ScalarType _arg) |
| virtual void | SetI (ScalarType _arg) |
| virtual void | SetJ (ScalarType _arg) |
| void | Translate (const VectorType &t) override |
Public Member Functions inherited from rtk::ConvexShape | |
| void | AddClipPlane (const VectorType &dir, const ScalarType &pos) |
| void | SetClipPlanes (const std::vector< VectorType > &dir, const std::vector< ScalarType > &pos) |
| virtual void | SetDensity (ScalarType _arg) |
| virtual ScalarType | GetDensity () const |
| virtual ScalarType | GetDensity () |
| virtual const std::vector< VectorType > & | GetPlaneDirections () const |
| virtual const std::vector< ScalarType > & | GetPlanePositions () const |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from rtk::ConvexShape | |
| static Pointer | New () |
Private Member Functions | |
| QuadricShape () | |
Private Attributes | |
| ScalarType | m_A { 0. } |
| ScalarType | m_B { 0. } |
| ScalarType | m_C { 0. } |
| ScalarType | m_D { 0. } |
| ScalarType | m_E { 0. } |
| ScalarType | m_F { 0. } |
| ScalarType | m_G { 0. } |
| ScalarType | m_H { 0. } |
| ScalarType | m_I { 0. } |
| ScalarType | m_J { 0. } |
Additional Inherited Members | |
Static Public Attributes inherited from rtk::ConvexShape | |
| static constexpr unsigned int | Dimension = 3 |
Protected Member Functions inherited from rtk::ConvexShape | |
| bool | ApplyClipPlanes (const PointType &rayOrigin, const VectorType &rayDirection, ScalarType &nearDist, ScalarType &farDist) const |
| bool | ApplyClipPlanes (const PointType &point) const |
| ConvexShape () | |
Defines a 3D quadric shape.
A quadric shape has the equation Ax^2 + By^2 + Cz^2 + Dxy+ Exz + Fyz + Gx + Hy + Iz + J = 0 It is assumed to be convex (which is not always true).
Definition at line 45 of file rtkQuadricShape.h.
| using rtk::QuadricShape::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 52 of file rtkQuadricShape.h.
Definition at line 51 of file rtkQuadricShape.h.
| using rtk::QuadricShape::PointType = Superclass::PointType |
Definition at line 56 of file rtkQuadricShape.h.
Convenient type alias.
Definition at line 55 of file rtkQuadricShape.h.
| using rtk::QuadricShape::Self = QuadricShape |
Standard class type alias.
Definition at line 49 of file rtkQuadricShape.h.
Definition at line 50 of file rtkQuadricShape.h.
| using rtk::QuadricShape::VectorType = Superclass::VectorType |
Definition at line 57 of file rtkQuadricShape.h.
|
private |
|
virtual |
Reimplemented from rtk::ConvexShape.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
Run-time type information (and related methods).
Reimplemented from rtk::ConvexShape.
|
overridevirtual |
Reimplemented from rtk::ConvexShape.
|
overridevirtual |
See rtk::ConvexShape::IsInside.
Reimplemented from rtk::ConvexShape.
| bool rtk::QuadricShape::IsInsideQuadric | ( | const PointType & | point | ) | const |
Idem as IsInside without the application of clip planes.
|
overridevirtual |
See rtk::ConvexShape::IsIntersectedByRay for the goal and https://education.siggraph.org/static/HyperGraph/raytrace/rtinter4.htm for the computation.
Reimplemented from rtk::ConvexShape.
|
static |
Method for creation through the object factory.
|
overridevirtual |
Rescale object along each direction by a 3D vector.
Reimplemented from rtk::ConvexShape.
|
overridevirtual |
Rotate object by a given 3D matrix.
Reimplemented from rtk::ConvexShape.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| void rtk::QuadricShape::SetEllipsoid | ( | const PointType & | center, |
| const VectorType & | axis, | ||
| const ScalarType & | yangle = 0 |
||
| ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
Translate object by a given 3D vector.
Reimplemented from rtk::ConvexShape.
|
private |
Definition at line 124 of file rtkQuadricShape.h.
|
private |
Definition at line 125 of file rtkQuadricShape.h.
|
private |
Definition at line 126 of file rtkQuadricShape.h.
|
private |
Definition at line 127 of file rtkQuadricShape.h.
|
private |
Definition at line 128 of file rtkQuadricShape.h.
|
private |
Definition at line 129 of file rtkQuadricShape.h.
|
private |
Definition at line 130 of file rtkQuadricShape.h.
|
private |
Definition at line 131 of file rtkQuadricShape.h.
|
private |
Definition at line 132 of file rtkQuadricShape.h.
|
private |
Definition at line 133 of file rtkQuadricShape.h.
1.8.14