This class defines a picture. More...
Public Member Functions | |
void | _Copy (const Dtk_picture *s) |
copy More... | |
Dtk_picture () | |
Dtk_picture (const Dtk_picture &inToBeCopied) | |
int | DtkDynamicType (const int &inId) |
virtual void | dump (FILE *file=stdout) |
Dtk_tab< char > & | File () |
Retrieves the binary file. More... | |
const Dtk_tab< char > & | File () const |
Dtk_PictureType & | FileType () |
Retrieves the file type. More... | |
Dtk_PictureType | FileType () const |
Dtk_InfoPtr | get_info () const |
virtual Dtk_Size_t | GetSize () const |
Dtk_InfoPtr & | info () |
double & | MetricHeight () |
Retrieves the height (in mm) More... | |
double | MetricHeight () const |
double & | MetricWidth () |
Retrieves the width (in mm) More... | |
double | MetricWidth () const |
Dtk_pnt & | Origin () |
Retrieves the origin (in mm) More... | |
const Dtk_pnt & | Origin () const |
Dtk_Size_t & | PixelHeight () |
Retrieves the height (in pixels) More... | |
Dtk_Size_t | PixelHeight () const |
Dtk_Size_t & | PixelWidth () |
Retrieves the width (in pixels) More... | |
Dtk_Size_t | PixelWidth () const |
double & | ScaleX () |
Retrieves the X scale factor. More... | |
double | ScaleX () const |
double & | ScaleY () |
Retrieves the Y scale factor. More... | |
double | ScaleY () const |
Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
Applies a transformation matrix to the entity. //! More... | |
~Dtk_picture () | |
Static Public Member Functions | |
static Dtk_picture * | DtkDynamicCast (Dtk_Object *s) |
Protected Types | |
enum | { _typeID = DTK_TYPE_PICTURE } |
Protected Member Functions | |
void | _copy (const Dtk_Object &s) |
void | _init () |
void | _reset () |
Protected Attributes | |
Dtk_tab< char > | _file |
double | _metric_height |
double | _metric_width |
Dtk_pnt | _origin |
Dtk_Size_t | _pixel_height |
Dtk_Size_t | _pixel_width |
double | _scale_x |
double | _scale_y |
Dtk_PictureType | _type |
unsigned long | count_ |
Dtk_InfoPtr | m_Info |
Friends | |
class | Dtk_SmartPtr< Dtk_picture > |
This class defines a picture.
This class defines a picture
Dtk_picture::Dtk_picture | ( | ) |
Dtk_picture::~Dtk_picture | ( | ) |
Dtk_picture::Dtk_picture | ( | const Dtk_picture & | inToBeCopied | ) |
|
protectedinherited |
void Dtk_picture::_Copy | ( | const Dtk_picture * | s | ) |
copy
|
protectedinherited |
|
protectedinherited |
|
static |
|
virtual |
Implements Dtk_Object.
|
virtualinherited |
Dtk_tab<char>& Dtk_picture::File | ( | ) |
Dtk_PictureType& Dtk_picture::FileType | ( | ) |
Dtk_PictureType Dtk_picture::FileType | ( | ) | const |
Dtk_InfoPtr Dtk_picture::get_info | ( | ) | const |
|
virtualinherited |
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_mesh_face, Dtk_mesh, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, Dtk_Point, Dtk_Entity, and Dtk_Info.
Dtk_InfoPtr& Dtk_picture::info | ( | ) |
double& Dtk_picture::MetricHeight | ( | ) |
double Dtk_picture::MetricHeight | ( | ) | const |
double& Dtk_picture::MetricWidth | ( | ) |
double Dtk_picture::MetricWidth | ( | ) | const |
Dtk_pnt& Dtk_picture::Origin | ( | ) |
Dtk_Size_t& Dtk_picture::PixelHeight | ( | ) |
Dtk_Size_t Dtk_picture::PixelHeight | ( | ) | const |
Dtk_Size_t& Dtk_picture::PixelWidth | ( | ) |
Dtk_Size_t Dtk_picture::PixelWidth | ( | ) | const |
double& Dtk_picture::ScaleX | ( | ) |
double Dtk_picture::ScaleX | ( | ) | const |
double& Dtk_picture::ScaleY | ( | ) |
double Dtk_picture::ScaleY | ( | ) | const |
Dtk_ErrorStatus Dtk_picture::Transform | ( | const Dtk_transfo & | inTransfo | ) |
Applies a transformation matrix to the entity. //!
inTransfo | The transformation matrix to apply. |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
|
protected |