libopencad
Public Member Functions | Protected Attributes | List of all members
CADImage Class Reference

Geometry class which represents Image (Raster Image) More...

#include <cadgeometry.h>

Inheritance diagram for CADImage:
CADGeometry

Public Member Functions

CADVector getVertInsertionPoint () const
 
void setVertInsertionPoint (const CADVector &value)
 
CADVector getImageSize () const
 
void setImageSize (const CADVector &value)
 
CADVector getImageSizeInPx () const
 
void setImageSizeInPx (const CADVector &value)
 
CADVector getPixelSizeInACADUnits () const
 
void setPixelSizeInACADUnits (const CADVector &value)
 
short getClippingBoundaryType () const
 
void setClippingBoundaryType (short value)
 
unsigned char getResolutionUnits () const
 
void setResolutionUnits (unsigned char value)
 
string getFilePath () const
 
void setFilePath (const string &value)
 
void setOptions (bool transparency, bool clip, unsigned char brightness, unsigned char contrast)
 
virtual void print () const override
 
void addClippingPoint (const CADVector &pt)
 
- Public Member Functions inherited from CADGeometry
enum GeometryType getType () const
 
double getThickness () const
 
void setThickness (double thicknes)
 
RGBColor getColor () const
 
void setColor (int ACIColorIndex)
 
void addAttribute (CADAttdef *)
 
void addAttribute (CADAttrib *)
 
map< string, CADAttdefgetAttributes ()
 

Protected Attributes

CADVector vertInsertionPoint
 
CADVector imageSize
 
bool bTransparency
 
bool bClipping
 
unsigned char dBrightness
 
unsigned char dContrast
 
CADVector imageSizeInPx
 
string filePath
 
unsigned char resolutionUnits
 
CADVector pixelSizeInACADUnits
 
short clippingBoundaryType
 
vector< CADVectoravertClippingPolygon
 
- Protected Attributes inherited from CADGeometry
enum GeometryType geometryType
 
double thickness
 
RGBColor geometry_color
 
map< string, CADAttdefmapstAttributes
 

Additional Inherited Members

- Public Types inherited from CADGeometry
enum  GeometryType {
  UNDEFINED = 0, POINT, CIRCLE, LWPOLYLINE,
  ELLIPSE, LINE, POLYLINE3D, TEXT,
  ARC, SPLINE, SOLID, RAY,
  HATCH, IMAGE, MTEXT, MLINE,
  XLINE, FACE3D, POLYLINE_PFACE, ATTRIB,
  ATTDEF
}
 The CAD geometry types enum.
 

Detailed Description

Geometry class which represents Image (Raster Image)


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