DD::Image::DeepInfo Class Reference

Inherits DD::Image::Info2D.

Public Member Functions

 DeepInfo ()
 default constructor
 
 DeepInfo (DD::Image::FormatPair formats, DD::Image::Box box, DD::Image::ChannelSet channels)
 construct based on formats, box, and channels
 
 DeepInfo (const IopInfo &iopInfo)
 construct based on an existing IopInfo
 
const Formatformat () const
 
const FormatfullSizeFormat () const
 
ChannelSet channels () const
 get the channels
 
void merge (const DeepInfo &other)
 merge some other DeepInfo's boxes and channels into this one
 
- Public Member Functions inherited from DD::Image::Info2D
 Info2D ()
 
void setFormats (const FormatPair &formats)
 
FormatPair formats () const
 
const Formatformat () const
 
void format (const Format &v)
 
const Formatfull_size_format () const
 
void full_size_format (const Format &v)
 
const DD::Image::Boxbox () const
 
DD::Image::Boxbox ()
 
void setBox (const DD::Image::Box &box)
 
- Public Member Functions inherited from DD::Image::GeneralInfo
int firstFrame () const
 get the first frame in the range
 
int first_frame () const
 get the first frame in the range More...
 
int lastFrame () const
 get the last frame in the range
 
int last_frame () const
 get the last frame in the range More...
 
void setFirstFrame (int v)
 set the first frame in the range
 
void setLastFrame (int v)
 set the last frame in the range
 
void first_frame (int v)
 set the first frame in the range
 
void last_frame (int v)
 set the last frame in the range
 
void setFrameRange (FrameRange frameRange)
 
- Public Member Functions inherited from DD::Image::Box
iterator begin () const
 
iterator end () const
 
 Box (int x, int y, int r, int t)
 
 Box (const Box &b)
 
int x () const
 
void x (int v)
 
int y () const
 
void y (int v)
 
int r () const
 
void r (int v)
 
int t () const
 
void t (int v)
 
int w () const
 
void w (int v)
 
int h () const
 
void h (int v)
 
float center_x () const
 
float center_y () const
 
void set (int x, int y, int r, int t)
 
void set (const Box &b)
 
bool is_constant () const
 
void clear ()
 
void move (int dx, int dy)
 
void pad (int dx, int dy, int dr, int dt)
 
void pad (int dx, int dy)
 
void pad (int d)
 
int clampx (int x) const
 
int clampy (int y) const
 
void merge (const Box &)
 
void merge (int x, int y)
 
void merge (int x, int y, int r, int t)
 
void expand (int amount)
 
void expand (int widthAmount, int heightAmount)
 
void scale (float scaleAmount)
 
void intersect (const Box &)
 
void intersect (int x, int y, int r, int t)
 
bool intersects (const Box &other) const
 
bool intersects (int x, int y, int r, int t) const
 
bool contains (const Box &other) const
 
int area () const
 

Additional Inherited Members

- Public Types inherited from DD::Image::Box
typedef iterator const_iterator
 

Detailed Description

DeepInfo class. Analogous to IopInfo. Keeps just a box and a channelset, and two formats.



©2019 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk